--- old/src/hotspot/share/gc/g1/g1OopClosures.inline.hpp 2020-05-11 06:09:36.420150437 -0400 +++ new/src/hotspot/share/gc/g1/g1OopClosures.inline.hpp 2020-05-11 06:09:36.028137524 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 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 @@ -58,7 +58,7 @@ obj->forwardee() == RawAccess<>::oop_load(p)), "p should still be pointing to obj or to its forwardee"); - _par_scan_state->push_on_queue(p); + _par_scan_state->push_on_queue(ScannerTask(p)); } template