hotspot/src/share/vm/services/heapDumper.cpp
changeset 8295 a2b2a8a3aaee
parent 8076 96d498ec7ae1
child 8726 7bafcf0e5bfb
--- a/hotspot/src/share/vm/services/heapDumper.cpp	Thu Feb 03 16:06:01 2011 -0500
+++ b/hotspot/src/share/vm/services/heapDumper.cpp	Thu Feb 03 20:49:09 2011 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2011, 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
@@ -1397,6 +1397,7 @@
  public:
   VM_HeapDumper(DumpWriter* writer, bool gc_before_heap_dump, bool oome) :
     VM_GC_Operation(0 /* total collections,      dummy, ignored */,
+                    GCCause::_heap_dump /* GC Cause */,
                     0 /* total full collections, dummy, ignored */,
                     gc_before_heap_dump) {
     _local_writer = writer;