[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Re: RFR(S) 8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792
From: Dmitry Samersoff <dmitry.samersoff () oracle ! com>
Date: 2016-09-28 10:21:20
Message-ID: 958a8dc1-d4b4-7d43-af29-4e20c67e6411 () oracle ! com
[Download RAW message or body]
Chris,
Looks good for me.
But please, wait for Serguei.
-Dmitry
On 2016-09-21 08:07, Chris Plummer wrote:
> Hello,
>
> Please help review the following:
>
> https://bugs.openjdk.java.net/browse/JDK-8161225
> http://cr.openjdk.java.net/~cjplummer/8161225/webrev.00/
>
> The main fix is in JPLISAgent.c, which is to no longer call
> jplis_assert_msg() when there is a PHASE error, and also remove the test
> from ProblemList.txt.
>
> I also fixed a problem with the test. It was not checking if the
> subprocess had failed to terminate properly. The result was if the
> sub-process crashed, then the test would pass. I noticed this when I
> temporarily forced an assert when there was a PHASE error, and suddenly
> the test was always passing, yet there was an hs_err.log file.
>
> Lastly, I made a slight improvement to the trace output when there is a
> PHASE error, so now the PHASE number is included in the trace output. So
> the trace output now looks like the following when the test triggers the
> PHASE error (this is without the fix being made to the test):
>
> [0.376s][trace][jvmti] [-] GetNamedModule JVMTI_ERROR_WRONG_PHASE(8)
>
> Tested by running the test 5 times on each supported platform, and also
> ran nsk.jvmti and jck/vm/jvmti.
>
> thanks,
>
> Chris
--
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic