Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2018 19:52:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 193475] java/openjdk7 jinfo and jmap do not work
Message-ID:  <bug-193475-8522-o5fypTr0iJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193475-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193475-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193475

Michael Osipov <1983-01-06@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |1983-01-06@gmx.net

--- Comment #12 from Michael Osipov <1983-01-06@gmx.net> ---
I can confirm this for 1.7:

> $ sudo JAVA_VERSION=3D1.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(NativeMethodAccess=
orImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth=
odAccessorImpl.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(Bsd=
DebuggerLocal.java:487)
>         at sun.jvm.hotspot.debugger.DebuggerBase.readAddressValue(Debugge=
rBase.java:454)
>         at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readAddress(BsdD=
ebuggerLocal.java:430)
>         at sun.jvm.hotspot.debugger.bsd.BsdAddress.getAddressAt(BsdAddres=
s.java:74)
>         at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDat=
aBase.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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193475-8522-o5fypTr0iJ>