-
Bug
-
Resolution: Fixed
-
P3
-
7u7
-
b49
-
x86
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082815 | emb-9 | Kevin Walls | P3 | Resolved | Fixed | team |
JDK-8131535 | 8u66 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8078706 | 8u65 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8071849 | 8u60 | Kevin Walls | P3 | Resolved | Fixed | b02 |
JDK-8078530 | 8u51 | Kevin Walls | P3 | Resolved | Fixed | b10 |
JDK-8137626 | emb-8u65 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8076675 | emb-8u60 | Kevin Walls | P3 | Resolved | Fixed | b24 |
JDK-8079493 | emb-8u51 | Kevin Walls | P3 | Resolved | Fixed | team |
JDK-8069288 | 7u85 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8071502 | 7u80 | Kevin Walls | P3 | Resolved | Fixed | b07 |
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
FULL OS VERSION :
Linux 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
A lot of calls to Jvmti::GetConstantPool result in a high memory consumption.
This is caused by the JvmtiConstantPoolReconstituter, which instantiates two SymbolHashMap in it's constructor and in it's destructor os::free is used instead of delete.
The memory leak occurs in the native heap.
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use a jvmti agent implementation calling Jvmti::GetConstantPool of some class (e.g. java.lang.String) in a loop.
EXPECTED VERSUS ACTUAL BEHAVIOR :
exptected: heap usage of the jvm remaining constant
actual result: heap usage of the jvm growing very fast
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
no workaround
- backported by
-
JDK-8069288 Memory leak in JvmtiEnv::GetConstantPool
- Resolved
-
JDK-8071502 Memory leak in JvmtiEnv::GetConstantPool
- Resolved
-
JDK-8071849 Memory leak in JvmtiEnv::GetConstantPool
- Resolved
-
JDK-8076675 Memory leak in JvmtiEnv::GetConstantPool
- Resolved
-
JDK-8078530 Memory leak in JvmtiEnv::GetConstantPool
- Resolved
-
JDK-8078706 Memory leak in JvmtiEnv::GetConstantPool
- Resolved
-
JDK-8079493 Memory leak in JvmtiEnv::GetConstantPool
- Resolved
-
JDK-8082815 Memory leak in JvmtiEnv::GetConstantPool
- Resolved
-
JDK-8131535 Memory leak in JvmtiEnv::GetConstantPool
- Resolved
-
JDK-8137626 Memory leak in JvmtiEnv::GetConstantPool
- Resolved