-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b03
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045227 | 8u25 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8035748 | 8u20 | Kevin Walls | P3 | Resolved | Fixed | b04 |
JDK-8053231 | emb-8u26 | Kevin Walls | P3 | Resolved | Fixed | b17 |
JDK-8038477 | 7u80 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8060856 | 7u79 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8057289 | 7u76 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8050329 | 7u75 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8044699 | 7u72 | Kevin Walls | P3 | Closed | Fixed | b01 |
For some Strings containing extended characters, the SA fails to find the String in its SymbolTable as the hash code it calculates does not match that which is stored in the table (which came from
java_lang_String::hash_code).
This manifests as jmap -F failing to dump a heap with:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:491)
at sun.tools.jmap.JMap.runTool(JMap.java:197)
at sun.tools.jmap.JMap.main(JMap.java:128)
Caused by: java.lang.NullPointerException
at sun.jvm.hotspot.utilities.HeapHprofBinWriter.writeSymbolID(HeapHprofBinWriter.java:995)
at sun.jvm.hotspot.utilities.HeapHprofBinWriter.writeFieldDescriptors(HeapHprofBinWriter.java:828)
at sun.jvm.hotspot.utilities.HeapHprofBinWriter.writeClassDumpRecord(HeapHprofBinWriter.java:587)
at sun.jvm.hotspot.utilities.HeapHprofBinWriter.access$000(HeapHprofBinWriter.java:310)
at sun.jvm.hotspot.utilities.HeapHprofBinWriter$1.visit(HeapHprofBinWriter.java:524)
at sun.jvm.hotspot.memory.SystemDictionary$2.visit(SystemDictionary.java:179)
at sun.jvm.hotspot.memory.Dictionary.classesDo(Dictionary.java:68)
at sun.jvm.hotspot.memory.SystemDictionary.classesDo(SystemDictionary.java:190)
at sun.jvm.hotspot.memory.SystemDictionary.allClassesDo(SystemDictionary.java:183)
at sun.jvm.hotspot.utilities.HeapHprofBinWriter.writeClassDumpRecords(HeapHprofBinWriter.java:520)
at sun.jvm.hotspot.utilities.HeapHprofBinWriter.write(HeapHprofBinWriter.java:430)
at sun.jvm.hotspot.tools.HeapDumper.run(HeapDumper.java:62)
at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:223)
at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
at sun.jvm.hotspot.tools.HeapDumper.main(HeapDumper.java:83)
... 6 more
- backported by
-
JDK-8035748 SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
-
- Resolved
-
-
JDK-8038477 SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
-
- Resolved
-
-
JDK-8045227 SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
-
- Resolved
-
-
JDK-8050329 SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
-
- Resolved
-
-
JDK-8053231 SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
-
- Resolved
-
-
JDK-8057289 SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
-
- Resolved
-
-
JDK-8060856 SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
-
- Resolved
-
-
JDK-8044699 SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
-
- Closed
-
- duplicates
-
JDK-8023105 jmap fails with NullPointerException at HeapHprofBinWriter.writeSymbolID()
-
- Closed
-
- relates to
-
JDK-8061785 [TEST_BUG] serviceability/sa/jmap-hashcode/Test8028623.java has utf8 character corrupted by earlier merge
-
- Resolved
-
-
JDK-8032466 serviceability/sa/jmap-hashcode/Test8028623.java fails with compilation errors
-
- Resolved
-
-
JDK-8043915 Tests get ClassNotFoundException: com.oracle.java.testlibrary.StreamPumper
-
- Resolved
-
-
JDK-8039995 Test serviceability/sa/jmap-hashcode/Test8028623.java fails on some Linux/Mac machines.
-
- Closed
-