--- old/src/share/vm/gc/parallel/psScavenge.cpp 2017-04-25 16:44:55.271174487 +0200 +++ new/src/share/vm/gc/parallel/psScavenge.cpp 2017-04-25 16:44:55.127174492 +0200 @@ -25,7 +25,6 @@ #include "precompiled.hpp" #include "classfile/stringTable.hpp" #include "code/codeCache.hpp" -#include "gc/parallel/cardTableExtension.hpp" #include "gc/parallel/gcTaskManager.hpp" #include "gc/parallel/parallelScavengeHeap.hpp" #include "gc/parallel/psAdaptiveSizePolicy.hpp" @@ -60,7 +59,7 @@ HeapWord* PSScavenge::_to_space_top_before_gc = NULL; int PSScavenge::_consecutive_skipped_scavenges = 0; ReferenceProcessor* PSScavenge::_ref_processor = NULL; -CardTableExtension* PSScavenge::_card_table = NULL; +PSCardTable* PSScavenge::_card_table = NULL; bool PSScavenge::_survivor_overflow = false; uint PSScavenge::_tenuring_threshold = 0; HeapWord* PSScavenge::_young_generation_boundary = NULL; @@ -320,7 +319,7 @@ // Verify no unmarked old->young roots if (VerifyRememberedSets) { - CardTableExtension::verify_all_young_refs_imprecise(); + PSCardTable::verify_all_young_refs_imprecise(); } assert(young_gen->to_space()->is_empty(), @@ -601,8 +600,8 @@ if (VerifyRememberedSets) { // Precise verification will give false positives. Until this is fixed, // use imprecise verification. - // CardTableExtension::verify_all_young_refs_precise(); - CardTableExtension::verify_all_young_refs_imprecise(); + // PSCardTable::verify_all_young_refs_precise(); + PSCardTable::verify_all_young_refs_imprecise(); } if (TraceYoungGenTime) accumulated_time()->stop(); @@ -760,7 +759,7 @@ NULL); // header provides liveness info // Cache the cardtable - _card_table = barrier_set_cast(heap->barrier_set()); + _card_table = heap->card_table(); _counters = new CollectorCounters("PSScavenge", 0); }