--- old/src/hotspot/share/jfr/leakprofiler/chains/bfsClosure.cpp 2020-01-15 20:36:30.573462689 -0800 +++ new/src/hotspot/share/jfr/leakprofiler/chains/bfsClosure.cpp 2020-01-15 20:36:30.265462700 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2020, 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 --- old/src/hotspot/share/jfr/leakprofiler/chains/dfsClosure.cpp 2020-01-15 20:36:31.497462657 -0800 +++ new/src/hotspot/share/jfr/leakprofiler/chains/dfsClosure.cpp 2020-01-15 20:36:31.177462668 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2020, 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 --- old/src/hotspot/share/jfr/leakprofiler/chains/edgeStore.cpp 2020-01-15 20:36:32.477462623 -0800 +++ new/src/hotspot/share/jfr/leakprofiler/chains/edgeStore.cpp 2020-01-15 20:36:32.161462634 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2020, 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 --- old/src/hotspot/share/jfr/leakprofiler/chains/objectSampleMarker.hpp 2020-01-15 20:36:33.449462589 -0800 +++ new/src/hotspot/share/jfr/leakprofiler/chains/objectSampleMarker.hpp 2020-01-15 20:36:33.169462599 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 2020, 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 @@ -67,10 +67,8 @@ assert(obj != NULL, "invariant"); // save the original markWord _store->push(ObjectSampleMarkWord(obj, obj->mark())); - // now we will "poison" the mark word of the sample object - // to marked. - // This will be used to quickly identify sample objects - // during the reachability search from gc roots. + // now we will set the mark word to "marked" in order to quickly + // identify sample objects during the reachability search from gc roots. assert(!obj->mark().is_marked(), "should only mark an object once"); obj->set_mark(markWord::prototype().set_marked()); assert(obj->mark().is_marked(), "invariant"); --- old/src/hotspot/share/jfr/leakprofiler/checkpoint/eventEmitter.cpp 2020-01-15 20:36:34.453462554 -0800 +++ new/src/hotspot/share/jfr/leakprofiler/checkpoint/eventEmitter.cpp 2020-01-15 20:36:34.137462565 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2019, 2020, 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 --- old/src/hotspot/share/oops/markWord.hpp 2020-01-15 20:36:35.493462518 -0800 +++ new/src/hotspot/share/oops/markWord.hpp 2020-01-15 20:36:35.173462529 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2020, 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 @@ -83,8 +83,7 @@ // [ptr | 00] locked ptr points to real header on stack // [header | 0 | 01] unlocked regular object header // [ptr | 10] monitor inflated lock (header is wapped out) -// [ptr | 11] marked used by markSweep to mark an object -// not valid at any other time +// [ptr | 11] marked used to mark an object // // We assume that stack/thread pointers have the lowest two bits cleared.