comparison src/share/vm/memory/permGen.cpp @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents e41cd7fd68a6
children
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24 24
25 #include "incls/_precompiled.incl" 25 #include "precompiled.hpp"
26 #include "incls/_permGen.cpp.incl" 26 #include "gc_implementation/shared/cSpaceCounters.hpp"
27 #include "gc_implementation/shared/vmGCOperations.hpp"
28 #include "gc_interface/collectedHeap.inline.hpp"
29 #include "memory/blockOffsetTable.inline.hpp"
30 #include "memory/compactPermGen.hpp"
31 #include "memory/gcLocker.hpp"
32 #include "memory/gcLocker.inline.hpp"
33 #include "memory/genCollectedHeap.hpp"
34 #include "memory/generation.inline.hpp"
35 #include "memory/permGen.hpp"
36 #include "memory/universe.hpp"
37 #include "oops/oop.inline.hpp"
38 #include "runtime/java.hpp"
39 #include "runtime/vmThread.hpp"
27 40
28 HeapWord* PermGen::request_expand_and_allocate(Generation* gen, size_t size, 41 HeapWord* PermGen::request_expand_and_allocate(Generation* gen, size_t size,
29 GCCause::Cause prev_cause) { 42 GCCause::Cause prev_cause) {
30 if (gen->capacity() < _capacity_expansion_limit || 43 if (gen->capacity() < _capacity_expansion_limit ||
31 prev_cause != GCCause::_no_gc || UseG1GC) { // last disjunct is a temporary hack for G1 44 prev_cause != GCCause::_no_gc || UseG1GC) { // last disjunct is a temporary hack for G1