--- old/src/share/vm/runtime/biasedLocking.cpp 2017-07-18 22:56:02.014778954 -0400 +++ new/src/share/vm/runtime/biasedLocking.cpp 2017-07-18 22:56:01.685327276 -0400 @@ -42,7 +42,7 @@ static GrowableArray* _preserved_oop_stack = NULL; static GrowableArray* _preserved_mark_stack = NULL; -static void enable_biased_locking(Klass* k) { +static void enable_biased_locking(InstanceKlass* k) { k->set_prototype_header(markOopDesc::biased_locking_prototype()); } @@ -56,9 +56,9 @@ bool is_cheap_allocated() const { return _is_cheap_allocated; } void doit() { - // Iterate the system dictionary enabling biased locking for all + // Iterate the class loader data dictionaries enabling biased locking for all // currently loaded classes - SystemDictionary::classes_do(enable_biased_locking); + ClassLoaderDataGraph::dictionary_classes_do(enable_biased_locking); // Indicate that future instances should enable it as well _biased_locking_enabled = true;