--- old/src/hotspot/share/classfile/systemDictionary.cpp 2018-05-21 11:52:03.683913351 +0200 +++ new/src/hotspot/share/classfile/systemDictionary.cpp 2018-05-21 11:52:03.415908576 +0200 @@ -2297,7 +2297,7 @@ // cleared if revocation occurs too often for this type // NOTE that we must only do this when the class is initally // defined, not each time it is referenced from a new class loader - if (k->class_loader() == class_loader()) { + if (k->class_loader() == class_loader() && !k->is_value()) { k->set_prototype_header(markOopDesc::biased_locking_prototype()); } }