comparison src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.hpp @ 3774:c9ca3f51cf41

6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap Summary: Remove two unused parameters from the mem_allocate() method and update its uses accordingly. Reviewed-by: stefank, johnc
author tonyp
date Thu, 16 Jun 2011 15:51:57 -0400
parents f95d63e2154a
children da91efe96a93
comparison
equal deleted inserted replaced
3773:5130fa1b24f1 3774:c9ca3f51cf41
1 /* 1 /*
2 * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
30 #include "gc_interface/gcCause.hpp" 30 #include "gc_interface/gcCause.hpp"
31 31
32 class VM_ParallelGCFailedAllocation: public VM_GC_Operation { 32 class VM_ParallelGCFailedAllocation: public VM_GC_Operation {
33 private: 33 private:
34 size_t _size; 34 size_t _size;
35 bool _is_tlab;
36 HeapWord* _result; 35 HeapWord* _result;
37 36
38 public: 37 public:
39 VM_ParallelGCFailedAllocation(size_t size, bool is_tlab, 38 VM_ParallelGCFailedAllocation(size_t size, unsigned int gc_count);
40 unsigned int gc_count);
41 39
42 virtual VMOp_Type type() const { 40 virtual VMOp_Type type() const {
43 return VMOp_ParallelGCFailedAllocation; 41 return VMOp_ParallelGCFailedAllocation;
44 } 42 }
45 virtual void doit(); 43 virtual void doit();