hotspot/src/share/vm/gc/g1/g1OopClosures.inline.hpp
changeset 33786 ac8da6513351
parent 33740 bede37d20aaf
child 34245 8ab9cefd6373
--- a/hotspot/src/share/vm/gc/g1/g1OopClosures.inline.hpp	Fri Nov 06 09:58:06 2015 -0800
+++ b/hotspot/src/share/vm/gc/g1/g1OopClosures.inline.hpp	Mon Nov 09 09:19:39 2015 +0100
@@ -222,7 +222,7 @@
 
 template <class T>
 void G1ParCopyHelper::do_klass_barrier(T* p, oop new_obj) {
-  if (_g1->heap_region_containing_raw(new_obj)->is_young()) {
+  if (_g1->heap_region_containing(new_obj)->is_young()) {
     _scanned_klass->record_modified_oops();
   }
 }