< prev index next >

src/share/vm/gc_implementation/shenandoah/shenandoahBarrierSet.inline.hpp

Print this page
rev 10764 : [backport] Rename BrooksPointer to ShenandoahBrooksPointer
rev 10772 : [backport] Update copyrights

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2015, Red Hat, Inc. and/or its affiliates.
+ * Copyright (c) 2015, 2018, Red Hat, Inc. All rights reserved.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.
  *

@@ -31,11 +31,11 @@
   return  _heap->is_update_refs_in_progress() ||
          (_heap->is_concurrent_mark_in_progress() && _heap->has_forwarded_objects());
 }
 
 inline oop ShenandoahBarrierSet::resolve_forwarded_not_null(oop p) {
-  return BrooksPointer::forwardee(p);
+  return ShenandoahBrooksPointer::forwardee(p);
 }
 
 inline oop ShenandoahBarrierSet::resolve_forwarded(oop p) {
   if (((HeapWord*) p) != NULL) {
     return resolve_forwarded_not_null(p);
< prev index next >