hotspot/src/share/vm/gc/g1/g1RemSet.cpp
changeset 35469 17ea1b453dd5
parent 35461 1068dcb8d315
child 35862 411842d0c882
--- a/hotspot/src/share/vm/gc/g1/g1RemSet.cpp	Sun Jan 10 20:02:50 2016 -0500
+++ b/hotspot/src/share/vm/gc/g1/g1RemSet.cpp	Mon Jan 11 09:14:01 2016 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -109,7 +109,7 @@
 
   // Set the "from" region in the closure.
   _oc->set_region(r);
-  MemRegion card_region(_bot->address_for_index(index), G1BlockOffsetTable::N_words);
+  MemRegion card_region(_bot->address_for_index(index), BOTConstants::N_words);
   MemRegion pre_gc_allocated(r->bottom(), r->scan_top());
   MemRegion mr = pre_gc_allocated.intersection(card_region);
   if (!mr.is_empty() && !_ct_bs->is_card_claimed(index)) {