--- old/src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp 2019-01-28 17:43:44.000000000 +0800 +++ new/src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp 2019-01-28 17:43:44.000000000 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2019, 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 @@ -93,6 +93,8 @@ // Private accessors static CardTableExtension* const card_table() { assert(_card_table != NULL, "Sanity"); return _card_table; } + static const ParallelScavengeTracer* gc_tracer() { return &_gc_tracer; } + public: // Accessors static uint tenuring_threshold() { return _tenuring_threshold; }