Loading... (original) (raw)
- Type:
Bug
- Resolution: Fixed
- Priority:
P3
- Fix Version/s: 9
- Affects Version/s: hs24.2, 7u25, 8u60
One of the profiler vendors reports a crash when they enable the jvmtiStringPrimitiveCallback implementation. From the description it appears that the heap iteration (IterateThroughHeap) encounters a partially constructed java.lang.String. That is, the value field is null. The invoke_string_value_callback function doesn't check for this case and so will crash.
- agent.c
2 kB
2015-01-09 09:49 - StringBanger.java
2 kB
2015-01-09 09:49
backported by
JDK-8072661 jvmtiStringPrimitiveCallback should not be invoked when string value is null
- Resolved
JDK-8076680 jvmtiStringPrimitiveCallback should not be invoked when string value is null
- Resolved
JDK-8082814 jvmtiStringPrimitiveCallback should not be invoked when string value is null
- Resolved
JDK-8086405 jvmtiStringPrimitiveCallback should not be invoked when string value is null
- Resolved
JDK-8137599 jvmtiStringPrimitiveCallback should not be invoked when string value is null
- Resolved
JDK-8139139 jvmtiStringPrimitiveCallback should not be invoked when string value is null
- Resolved
(1 backported by)