[Bug 193475] java/openjdk7 jinfo and jmap do not work
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Aug 3 19:52:13 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193475
Michael Osipov <1983-01-06 at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |1983-01-06 at gmx.net
--- Comment #12 from Michael Osipov <1983-01-06 at gmx.net> ---
I can confirm this for 1.7:
> $ sudo JAVA_VERSION=1.7 jmap -heap 61192
> Attaching to process ID 61192, please wait...
> 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:606)
> at sun.tools.jmap.JMap.runTool(JMap.java:197)
> at sun.tools.jmap.JMap.main(JMap.java:128)
> Caused by: sun.jvm.hotspot.debugger.UnalignedAddressException: 9cef4867
> at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1.checkAlignment(BsdDebuggerLocal.java:183)
> at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readCInteger(BsdDebuggerLocal.java:487)
> at sun.jvm.hotspot.debugger.DebuggerBase.readAddressValue(DebuggerBase.java:454)
> at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readAddress(BsdDebuggerLocal.java:430)
> at sun.jvm.hotspot.debugger.bsd.BsdAddress.getAddressAt(BsdAddress.java:74)
> at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:154)
> at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:85)
> at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:573)
> at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
> at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
> at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
> at sun.jvm.hotspot.tools.HeapSummary.main(HeapSummary.java:40)
> ... 6 more
OpenJDK 8 works like a charm.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-java
mailing list