Mercurial > hg > graal-compiler
diff src/share/vm/gc_implementation/shared/markSweep.inline.hpp @ 10179:a08c80e9e1e5
8012687: Remove unused is_root checks and closures
Reviewed-by: tschatzl, jmasa
author | stefank |
---|---|
date | Mon, 22 Apr 2013 20:27:36 +0200 |
parents | db9981fd3124 |
children | 55a0da3d420b |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/shared/markSweep.inline.hpp Mon Apr 22 10:10:09 2013 +0200 +++ b/src/share/vm/gc_implementation/shared/markSweep.inline.hpp Mon Apr 22 20:27:36 2013 +0200 @@ -76,7 +76,7 @@ _objarray_stack.push(task); } -template <class T> inline void MarkSweep::adjust_pointer(T* p, bool isroot) { +template <class T> inline void MarkSweep::adjust_pointer(T* p) { T heap_oop = oopDesc::load_heap_oop(p); if (!oopDesc::is_null(heap_oop)) { oop obj = oopDesc::decode_heap_oop_not_null(heap_oop);