--- old/src/hotspot/share/gc/shared/collectedHeap.inline.hpp 2018-03-25 12:59:27.163833703 +0200 +++ new/src/hotspot/share/gc/shared/collectedHeap.inline.hpp 2018-03-25 12:59:26.926836910 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -61,10 +61,10 @@ assert(obj != NULL, "NULL object pointer"); if (UseBiasedLocking && (klass != NULL)) { - obj->set_mark(klass->prototype_header()); + obj->set_mark_raw(klass->prototype_header()); } else { // May be bootstrapping - obj->set_mark(markOopDesc::prototype()); + obj->set_mark_raw(markOopDesc::prototype()); } }