--- old/src/hotspot/share/gc/serial/markSweep.inline.hpp 2018-03-25 12:59:26.549842012 +0200 +++ new/src/hotspot/share/gc/serial/markSweep.inline.hpp 2018-03-25 12:59:26.378844326 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -41,11 +41,11 @@ oop obj = oopDesc::decode_heap_oop_not_null(heap_oop); assert(Universe::heap()->is_in(obj), "should be in heap"); - oop new_obj = oop(obj->mark()->decode_pointer()); + oop new_obj = oop(obj->mark_raw()->decode_pointer()); assert(new_obj != NULL || // is forwarding ptr? - obj->mark() == markOopDesc::prototype() || // not gc marked? - (UseBiasedLocking && obj->mark()->has_bias_pattern()), + obj->mark_raw() == markOopDesc::prototype() || // not gc marked? + (UseBiasedLocking && obj->mark_raw()->has_bias_pattern()), // not gc marked? "should be forwarded");