8131330: G1CollectedHeap::verify_dirty_young_list fails with assert

Use assembly loop to avoid compiler optimization into memset

Reviewed-by: ecaspole, tschatzl
This commit is contained in:
Kim Barrett 2015-08-31 13:06:01 -04:00
parent 673798137b
commit 15196341a5
9 changed files with 341 additions and 71 deletions

View file

@ -3869,6 +3869,7 @@ void TestG1BiasedArray_test();
void TestBufferingOopClosure_test();
void TestCodeCacheRemSet_test();
void FreeRegionList_test();
void test_memset_with_concurrent_readers();
#endif
void execute_internal_vm_tests() {
@ -3910,6 +3911,7 @@ void execute_internal_vm_tests() {
if (UseG1GC) {
run_unit_test(FreeRegionList_test());
}
run_unit_test(test_memset_with_concurrent_readers());
#endif
tty->print_cr("All internal VM tests passed");
}