Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 5109602
Votes 0
Synopsis RedefineClasses leaks memory by holding all possible obsolete jmethodIDs
Category hotspot:jvmti
Reported Against mantis-beta , tiger-beta2
Release Fixed mustang(b26), 5.0u4(b02) (Bug ID:2123742)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs 6250286 , 6489232 , 6203233 , 4879835
Submit Date 30-SEP-2004
Description
A linked list of previous versions of the class is kept to hold obsolete
jmethodIDs.  This leaks memory which matters on massive redefines used by
profiling tools.

  xxxxx@xxxxx   2004-09-30

The linked list of previous versions of the class is also used to find
and update the method references that are stored in the constant pool
cache. This update is necessary so that redefined methods that make new
calls to other redefined methods get the current version.

  xxxxx@xxxxx   2004-11-12 18:19:20 GMT

Looks like the old class' itable and vtable are also updated.

  xxxxx@xxxxx   2004-11-12 18:29:15 GMT
Work Around
N/A
Evaluation
Required.
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang