Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/objArrayKlass.cpp @ 13438:ad72068ac41e
8028993: Full collections with ParallelScavenge slower in JDK 8 compared to 7u40
Summary: Reducing the number of calls to follow_class_loader to speed up the marking phase. Also removed some unnecessary calls to adjust_klass.
Reviewed-by: stefank, jmasa, mgerdin
author | sjohanss |
---|---|
date | Tue, 10 Dec 2013 10:31:00 +0100 |
parents | 55a0da3d420b |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
13437:1de8e5356754 | 13438:ad72068ac41e |
---|---|
585 | 585 |
586 int ObjArrayKlass::oop_update_pointers(ParCompactionManager* cm, oop obj) { | 586 int ObjArrayKlass::oop_update_pointers(ParCompactionManager* cm, oop obj) { |
587 assert (obj->is_objArray(), "obj must be obj array"); | 587 assert (obj->is_objArray(), "obj must be obj array"); |
588 objArrayOop a = objArrayOop(obj); | 588 objArrayOop a = objArrayOop(obj); |
589 int size = a->object_size(); | 589 int size = a->object_size(); |
590 a->update_header(cm); | |
591 ObjArrayKlass_OOP_ITERATE(a, p, PSParallelCompact::adjust_pointer(p)) | 590 ObjArrayKlass_OOP_ITERATE(a, p, PSParallelCompact::adjust_pointer(p)) |
592 return size; | 591 return size; |
593 } | 592 } |
594 #endif // INCLUDE_ALL_GCS | 593 #endif // INCLUDE_ALL_GCS |
595 | 594 |