英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论