It's our great honour to announce the Industry’s First VHBR CCID reader - VHBR Dual interface smart card reader vR504. It is able to support the world’s fastest ePassports.

To celebrate the new product release, there is Special Discount for New Registered Members in our store.
- Get $20.00 OFF instantly for smart card reader vR504, R502 and bR301

Come to get the readers now!

Test for Garbage Collection to evaluate

Smartcard solutions

Moderator: product

Posts: 19
Joined: Thu Oct 06, 2016 10:05 pm
Points: 226

Test for Garbage Collection to evaluate

Postby shimizus3106 » Sun Jun 17, 2018 12:48 pm

Hello, member

I'm looking for any tests,applet to evaluate Garbage Collection on JavaCard.

Could you let me know any useful,available one ?

Or Please let me know any other good method to do ?


Posts: 5
Joined: Tue May 08, 2018 7:18 pm
Points: 56

Re: Test for Garbage Collection to evaluate

Postby stm32 » Wed Jun 20, 2018 7:54 am

Calling the JCSystem.requestObjectDeletion give a signal to the JCRE(java card runtime environment) to be ready for the Garbage Collection. New something in the INSTALL method or a special APDU command process(new some objects), and SET obj to NULL (this is very important)in another APDU command process function then call this method JCSystem.requestObjectDeletion.
When deleting a package or an applet instance(I'm not very sure, someone can correct this point), a Garbage Collection will also be performed internally.

Return to “Solutions”

Who is online

Users browsing this forum: No registered users and 2 guests

JavaCard OS : Disclaimer