RFR: 8062036: ConcurrentMarkThread::slt may be invoked before ConcurrentMarkThread::makeSurrogateLockerThread causing intermittent crashes

Bengt Rutisson bengt.rutisson at oracle.com
Thu Nov 6 09:01:38 UTC 2014

On 2014-11-06 03:48, Kim Barrett wrote:
> On Nov 5, 2014, at 11:24 AM, Thomas Schatzl <thomas.schatzl at oracle.com> wrote:
>> Looks good. Could you add a regression test case?
> New webrev with test:
> http://cr.openjdk.java.net/~kbarrett/8062036/webrev02
> This is the same as the previous one, except for the addition of the test program.

What does the test verify? When I run the test on a build that does not 
have your fix it still passes:

$ java -showversion -jar /localhome/tests/jtreg/lib/jtreg.jar -noreport 
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-b35)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b35, mixed mode)

Test results: passed: 1

Also, since this is a CMS specific test I think it should be located in 
the "test/gc/concurrentMarkSweep".



More information about the hotspot-gc-dev mailing list