[Bug 193475] java/openjdk7 jinfo and jmap do not work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 9 11:05:38 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193475

--- Comment #10 from Jov <amutu at amutu.com> ---
(In reply to Palle Girgensohn from comment #9)
not work for openjdk8:

Attaching to process ID 51833, please wait...
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.tools.jmap.JMap.runTool(JMap.java:201)
        at sun.tools.jmap.JMap.main(JMap.java:130)
Caused by: java.lang.InternalError: void* type hasn't been seen when parsing
int*
        at
sun.jvm.hotspot.HotSpotTypeDataBase.recursiveCreateBasicPointerType(HotSpotTypeDataBase.java:721)
        at
sun.jvm.hotspot.HotSpotTypeDataBase.lookupType(HotSpotTypeDataBase.java:134)
        at
sun.jvm.hotspot.HotSpotTypeDataBase.lookupOrCreateClass(HotSpotTypeDataBase.java:631)
        at
sun.jvm.hotspot.HotSpotTypeDataBase.createType(HotSpotTypeDataBase.java:751)
        at
sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:195)
        at
sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:89)
        at sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:400)
        at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:306)
        at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:141)
        at sun.jvm.hotspot.tools.Tool.start(Tool.java:185)
        at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
        at sun.jvm.hotspot.tools.PMap.main(PMap.java:72)
        ... 6 more

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-java mailing list