--- old/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp 2011-01-27 10:33:16.781250000 +0100 +++ new/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp 2011-01-27 10:33:16.078125000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 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 @@ -39,6 +39,7 @@ _is_tlab(is_tlab), _result(NULL) { + _gc_cause = GCCause::_allocation_failure; } void VM_ParallelGCFailedAllocation::doit() { @@ -61,6 +62,7 @@ _size(size), _result(NULL) { + _gc_cause = GCCause::_allocation_failure; } void VM_ParallelGCFailedPermanentAllocation::doit() {