Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/instanceKlass.cpp @ 13417:55a0da3d420b
8027675: Full collections with Serial slower in JDK 8 compared to 7u40
Summary: Reduced the number of calls to follow_class_loader and instead marked and pushed the klass holder directly. Also removed unneeded calls to adjust_klass.
Reviewed-by: coleenp, jmasa, mgerdin, tschatzl
author | sjohanss |
---|---|
date | Tue, 26 Nov 2013 14:35:38 +0100 |
parents | 6e1826d5c23e |
children | 9fc985481d78 |
comparison
equal
deleted
inserted
replaced
13397:e51d73189692 | 13417:55a0da3d420b |
---|---|
2155 int size = size_helper(); | 2155 int size = size_helper(); |
2156 InstanceKlass_OOP_MAP_ITERATE( \ | 2156 InstanceKlass_OOP_MAP_ITERATE( \ |
2157 obj, \ | 2157 obj, \ |
2158 MarkSweep::adjust_pointer(p), \ | 2158 MarkSweep::adjust_pointer(p), \ |
2159 assert_is_in) | 2159 assert_is_in) |
2160 MarkSweep::adjust_klass(obj->klass()); | |
2161 return size; | 2160 return size; |
2162 } | 2161 } |
2163 | 2162 |
2164 #if INCLUDE_ALL_GCS | 2163 #if INCLUDE_ALL_GCS |
2165 void InstanceKlass::oop_push_contents(PSPromotionManager* pm, oop obj) { | 2164 void InstanceKlass::oop_push_contents(PSPromotionManager* pm, oop obj) { |