mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8012687: Remove unused is_root checks and closures
Reviewed-by: tschatzl, jmasa
This commit is contained in:
parent
dcedbaa149
commit
bdf829cf3e
15 changed files with 59 additions and 103 deletions
|
@ -76,7 +76,7 @@ void MarkSweep::push_objarray(oop obj, size_t index) {
|
|||
_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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue