--- old/src/hotspot/share/gc/shared/gcTimer.hpp 2018-02-16 14:08:32.794877184 +0100 +++ new/src/hotspot/share/gc/shared/gcTimer.hpp 2018-02-16 14:08:32.628870043 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 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 @@ -166,8 +166,8 @@ public: ConcurrentGCTimer(): GCTimer(), _is_concurrent_phase_active(false) {}; - void register_gc_pause_start(const char* name); - void register_gc_pause_end(); + void register_gc_pause_start(const char* name, const Ticks& time = Ticks::now()); + void register_gc_pause_end(const Ticks& time = Ticks::now()); void register_gc_concurrent_start(const char* name, const Ticks& time = Ticks::now()); void register_gc_concurrent_end(const Ticks& time = Ticks::now());