hotspot/src/share/vm/gc/g1/satbQueue.cpp
changeset 33786 ac8da6513351
parent 33762 3d1dd03dfd3f
equal deleted inserted replaced
33785:f5e6ef11d24b 33786:ac8da6513351
    86 inline bool requires_marking(const void* entry, G1CollectedHeap* heap) {
    86 inline bool requires_marking(const void* entry, G1CollectedHeap* heap) {
    87   // Includes rejection of NULL pointers.
    87   // Includes rejection of NULL pointers.
    88   assert(heap->is_in_reserved(entry),
    88   assert(heap->is_in_reserved(entry),
    89          "Non-heap pointer in SATB buffer: " PTR_FORMAT, p2i(entry));
    89          "Non-heap pointer in SATB buffer: " PTR_FORMAT, p2i(entry));
    90 
    90 
    91   HeapRegion* region = heap->heap_region_containing_raw(entry);
    91   HeapRegion* region = heap->heap_region_containing(entry);
    92   assert(region != NULL, "No region for " PTR_FORMAT, p2i(entry));
    92   assert(region != NULL, "No region for " PTR_FORMAT, p2i(entry));
    93   if (entry >= region->next_top_at_mark_start()) {
    93   if (entry >= region->next_top_at_mark_start()) {
    94     return false;
    94     return false;
    95   }
    95   }
    96 
    96