1.1 --- a/src/share/vm/services/heapDumper.cpp Thu Feb 03 16:06:01 2011 -0500 1.2 +++ b/src/share/vm/services/heapDumper.cpp Thu Feb 03 20:49:09 2011 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -1397,6 +1397,7 @@ 1.11 public: 1.12 VM_HeapDumper(DumpWriter* writer, bool gc_before_heap_dump, bool oome) : 1.13 VM_GC_Operation(0 /* total collections, dummy, ignored */, 1.14 + GCCause::_heap_dump /* GC Cause */, 1.15 0 /* total full collections, dummy, ignored */, 1.16 gc_before_heap_dump) { 1.17 _local_writer = writer;