RFR 8193150: Create a jtreg version of the test from JDK-8187143

Paru Somashekar parvathi.somashekar at oracle.com
Wed Feb 7 22:04:02 UTC 2018


Thanks for the review Serguei.

thanks,
Paru.

On 2/7/18, 12:25 PM, serguei.spitsyn at oracle.com wrote:
> Hi Paru,
>
> It looks good.
> Thank you a lot for taking care about this!
>
> Could we get at least one more review from the Serviceability team on 
> this new test?
>
> Thanks,
> Serguei
>
>
> On 2/2/18 09:35, Paru Somashekar wrote:
>> Hi,
>>
>> Please review the fix for JDK-8193150.
>>
>> The fix introduces a new jtreg test, NashornPopFrameTest. It is based 
>> on the original test from JDK-8187143 
>> <https://bugs.openjdk.java.net/browse/JDK-8187143> that was provided 
>> by the customer.
>>
>> Bug : https://bugs.openjdk.java.net/browse/JDK-8193150 
>> <https://bugs.openjdk.java.net/browse/JDK-8193150>
>> Webrev : http://cr.openjdk.java.net/~psomashe/8193150/webrev/ 
>> <http://cr.openjdk.java.net/%7Epsomashe/8193150/webrev/>
>>
>> Here is a brief description of what the test does :-
>>
>> * The debuggee,  creates and uses a Nashorn engine to evaluate a 
>> simple script.
>>
>> * The debugger  tries to set a breakpoint in Nashorn’s internal 
>> DEBUGGER method.
>> * When the breakpoint is reached, it looks for stack frame whose 
>> method's declaring type name starts with (nashorn dynamically 
>> generated classes) ”jdk.nashorn.internal.scripts.Script$”.
>> * It then pops stack frames using the ThreadReference.popFrames() 
>> call, up to and including the above stackframe.
>> * The execution of the debuggee application is resumed after the 
>> needed frames have been popped.
>>
>> This test is included in the ProblemList as it fails under some 
>> circumstances (bug JDK-8187143) 
>> <https://bugs.openjdk.java.net/browse/JDK-8187143>. Is always passes 
>> with the -Xint flag however always fails with -Xcomp. It fails 
>> intermittently with the -Xmixed (default).
>>
>> thanks,
>> Paru. 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20180207/08b214b1/attachment.html>


More information about the serviceability-dev mailing list