hg: jdk9/hs-gc/hotspot: 8038930: G1CodeRootSet::test fails with assert(_num_chunks_handed_out == 0) failed: No elements must have been handed out yet

thomas.schatzl at oracle.com thomas.schatzl at oracle.com
Wed Apr 16 10:03:20 UTC 2014


Changeset: 28b574c9e549
Author:    tschatzl
Date:      2014-04-16 10:14 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-gc/hotspot/rev/28b574c9e549

8038930: G1CodeRootSet::test fails with assert(_num_chunks_handed_out == 0) failed: No elements must have been handed out yet
Summary: The test incorrectly assumed that it had been started with no other previous compilation activity. Fix this by allowing multiple code root free chunk lists, and use one separate from the global one to perform the test.
Reviewed-by: brutisso

! src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.cpp
! src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.hpp
! src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp



More information about the jdk9-all-changes mailing list