Re: RFR: 6815126 intermittent SimulResumerTest.java failure

2014-03-31 Thread shanliang
Erik Gahlin wrote: I also like to understand better. Possibly my previous reply was not clear enough or I missed something there. The test was to test JDK-6751643 as I cited in the last mail, here is the info from JDK-6751643 to which this test was developed: -- This bug can only occur if

Re: RFR: 6815126 intermittent SimulResumerTest.java failure

2014-03-31 Thread Jaroslav Bachorik
Thanks Shanliang, it is clear now. The patch will get rid off the IOOBE but I have my doubts about what the test actually tests. It is supposed to make sure that certain operations will not throw NPE when the debugged thread is resumed (from a concurrent debugger thread) before the operation h

Re: RFR: 6815126 intermittent SimulResumerTest.java failure

2014-03-31 Thread shanliang
Jaroslav Bachorik wrote: Thanks Shanliang, it is clear now. The patch will get rid off the IOOBE but I have my doubts about what the test actually tests. It is supposed to make sure that certain operations will not throw NPE when the debugged thread is resumed (from a concurrent debugger thre