--- old/src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp 2018-04-11 13:44:03.476420189 +0200 +++ new/src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp 2018-04-11 13:44:03.210412021 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 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 @@ -196,6 +196,9 @@ // add a number of seconds to a phase void add_time_secs(GCParPhases phase, uint worker_i, double secs); + // Move a number of seconds from one phase to another. + void move_time_secs(GCParPhases from, GCParPhases to, uint worker_i, double secs); + void record_thread_work_item(GCParPhases phase, uint worker_i, size_t count, uint index = 0); // return the average time for a phase in milliseconds