Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Class unloading

843811May 18 2005 — edited Aug 6 2005
Can anybody clearly explain when exactly a Java class will be unloaded?

The scenario is as follows:
1. Deploy an ear
2. Access the application using the browser
3. Re-deploy the ear
4. Access the same application (same scenario)

it is observed that no class is unloaded after steps 3 and 4. I guess this should not be the case when a re-deployment happens. Can somebody explain the reason????
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 3 2005
Added on May 18 2005
10 comments
1,229 views