需要自己编写ACOSJ Javacard垃圾回收吗,还是会自动执行?

huangapple go评论88阅读模式
英文:

Do I (and how do I) need to write my own ACOSJ Javacard garbage collection, or is it automatic?

问题

你使用ACOSJ javacard时需要自己编写垃圾回收吗?还是会自动完成?

如果需要自己编写,是否有在线提供有用指南展示如何操作?或者有没有特定的操作方式应该遵循或避免?

英文:

Do I need to write my own garbage collection when using an ACOSJ javacard? Or is it done automatically?

If I do need to write my own - are there any useful guides online that show me how I can do this? Or any specific ways of doing this that I should do/avoid?

答案1

得分: 0

垃圾收集从Javacard 3.0.2版本开始支持。在您的小应用中,只需调用JCSystem.requestObjectDeletion方法,就可以收集瞬态变量,无需执行其他实现。

有关更多信息,请查看此链接

英文:

Garbage collection is supported from Javacard 3.0.2. You don't need to do implementation just transient variables are collected when calling JCSystem.requestObjectDeletion method in your applet.

for more information check this link.

huangapple
  • 本文由 发表于 2023年6月27日 20:55:07
  • 转载请务必保留本文链接:https://go.coder-hub.com/76565083.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定