src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2007, 2010, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 37,46 **** --- 37,47 ---- VM_GC_Operation(gc_count), _size(size), _is_tlab(is_tlab), _result(NULL) { + _gc_cause = GCCause::_allocation_failure; } void VM_ParallelGCFailedAllocation::doit() { SvcGCMarker sgcm(SvcGCMarker::MINOR);
*** 59,68 **** --- 60,70 ---- unsigned int gc_count, unsigned int full_gc_count) : VM_GC_Operation(gc_count, full_gc_count, true /* full */), _size(size), _result(NULL) { + _gc_cause = GCCause::_allocation_failure; } void VM_ParallelGCFailedPermanentAllocation::doit() { SvcGCMarker sgcm(SvcGCMarker::FULL);