comparison src/share/vm/gc_implementation/shared/markSweep.hpp @ 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 f2110083203d
children d166675568f6
comparison
equal deleted inserted replaced
13397:e51d73189692 13417:55a0da3d420b
170 static inline void push_objarray(oop obj, size_t index); 170 static inline void push_objarray(oop obj, size_t index);
171 171
172 static void follow_stack(); // Empty marking stack. 172 static void follow_stack(); // Empty marking stack.
173 173
174 static void follow_klass(Klass* klass); 174 static void follow_klass(Klass* klass);
175 static void adjust_klass(Klass* klass);
176 175
177 static void follow_class_loader(ClassLoaderData* cld); 176 static void follow_class_loader(ClassLoaderData* cld);
178 static void adjust_class_loader(ClassLoaderData* cld);
179 177
180 static void preserve_mark(oop p, markOop mark); 178 static void preserve_mark(oop p, markOop mark);
181 // Save the mark word so it can be restored later 179 // Save the mark word so it can be restored later
182 static void adjust_marks(); // Adjust the pointers in the preserved marks table 180 static void adjust_marks(); // Adjust the pointers in the preserved marks table
183 static void restore_marks(); // Restore the marks that we saved in preserve_mark 181 static void restore_marks(); // Restore the marks that we saved in preserve_mark