hotspot/src/share/vm/gc/shared/gcTrace.cpp
changeset 37137 62fd3fb4b1b1
parent 34300 6075c1e0e913
child 41076 8c6aa0873dd1
--- a/hotspot/src/share/vm/gc/shared/gcTrace.cpp	Tue Mar 08 13:17:30 2016 +0100
+++ b/hotspot/src/share/vm/gc/shared/gcTrace.cpp	Thu Mar 17 11:18:52 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2016, 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
@@ -242,4 +242,12 @@
                                 prediction_active);
 }
 
+void G1OldTracer::report_gc_start_impl(GCCause::Cause cause, const Ticks& timestamp) {
+  _shared_gc_info.set_start_timestamp(timestamp);
+}
+
+void G1OldTracer::set_gc_cause(GCCause::Cause cause) {
+  _shared_gc_info.set_cause(cause);
+}
+
 #endif