--- a/src/hotspot/share/gc/shared/gcCause.cpp Tue Dec 04 11:10:19 2018 +0530
+++ b/src/hotspot/share/gc/shared/gcCause.cpp Mon Dec 03 22:27:24 2018 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 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
@@ -60,6 +60,9 @@
case _wb_full_gc:
return "WhiteBox Initiated Full GC";
+ case _archive_time_gc:
+ return "Full GC for -Xshare:dump";
+
case _no_gc:
return "No GC";