PING: RFR: JDK-8151815: Could not parse core image with JSnap.
David Holmes
david.holmes at oracle.com
Wed Jun 22 00:45:52 UTC 2016
On 22/06/2016 9:40 AM, Yasumasa Suenaga wrote:
> Hi all,
>
> Can I add jdk9-fc-request label to JBS?
Bug fixes do not need approval only enhancements.
David
-----
> This changes has not been reviewed yet.
>
> Thanks,
>
> Yasumasa
>
> 2016/03/22 21:24 "Yasumasa Suenaga" <yasuenag at gmail.com
> <mailto:yasuenag at gmail.com>>:
>
> PING: Could you review it?
>
> Yasumasa
>
> 2016/03/14 23:39 "Yasumasa Suenaga" <yasuenag at gmail.com
> <mailto:yasuenag at gmail.com>>:
>
> Hi all,
>
> When I use `jhsdb jsnap` to get PerfCounter from core images, I
> encountered NPE:
> -------------
> Exception in thread "main" java.lang.NullPointerException
> at sun.jvm.hotspot.tools.JSnap.run(JSnap.java:45)
> 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.JSnap.main(JSnap.java:67)
> at sun.jvm.hotspot.SALauncher.runJSNAP(SALauncher.java:352)
> at sun.jvm.hotspot.SALauncher.main(SALauncher.java:404)
> -------------
>
> PerfMemory::destroy() clears all members which are used in JSnap.
> Thus NPE is occurred.
>
> I uploaded webrev for this issue.
> Could you review it?
>
> http://cr.openjdk.java.net/~ysuenaga/JDK-8151815/webrev.00/
>
> I cannot access JPRT.
> So I need a Sponsor.
>
>
> Thanks,
>
> Yasumasa
>
More information about the serviceability-dev
mailing list