< prev index next >
src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp
Print this page
rev 8024 : imported patch event1
* * *
imported patch event2
*** 31,42 ****
#include "memory/gcLocker.inline.hpp"
#include "utilities/dtrace.hpp"
// The following methods are used by the parallel scavenge collector
VM_ParallelGCFailedAllocation::VM_ParallelGCFailedAllocation(size_t word_size,
! uint gc_count) :
! VM_CollectForAllocation(word_size, gc_count, GCCause::_allocation_failure) {
assert(word_size != 0, "An allocation should always be requested with this operation.");
}
void VM_ParallelGCFailedAllocation::doit() {
SvcGCMarker sgcm(SvcGCMarker::MINOR);
--- 31,43 ----
#include "memory/gcLocker.inline.hpp"
#include "utilities/dtrace.hpp"
// The following methods are used by the parallel scavenge collector
VM_ParallelGCFailedAllocation::VM_ParallelGCFailedAllocation(size_t word_size,
! uint gc_count,
! uint gc_attempt) :
! VM_CollectForAllocation(word_size, gc_count, GCCause::_allocation_failure, gc_attempt) {
assert(word_size != 0, "An allocation should always be requested with this operation.");
}
void VM_ParallelGCFailedAllocation::doit() {
SvcGCMarker sgcm(SvcGCMarker::MINOR);
< prev index next >