src/share/vm/memory/permGen.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2009, 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) 2000, 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.
*** 20,31 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #include "incls/_precompiled.incl" ! #include "incls/_permGen.cpp.incl" HeapWord* PermGen::mem_allocate_in_gen(size_t size, Generation* gen) { GCCause::Cause next_cause = GCCause::_permanent_generation_full; GCCause::Cause prev_cause = GCCause::_no_gc; unsigned int gc_count_before, full_gc_count_before; --- 20,44 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #include "precompiled.hpp" ! #include "gc_implementation/shared/cSpaceCounters.hpp" ! #include "gc_implementation/shared/vmGCOperations.hpp" ! #include "gc_interface/collectedHeap.inline.hpp" ! #include "memory/blockOffsetTable.inline.hpp" ! #include "memory/compactPermGen.hpp" ! #include "memory/gcLocker.hpp" ! #include "memory/gcLocker.inline.hpp" ! #include "memory/genCollectedHeap.hpp" ! #include "memory/generation.inline.hpp" ! #include "memory/permGen.hpp" ! #include "memory/universe.hpp" ! #include "oops/oop.inline.hpp" ! #include "runtime/java.hpp" ! #include "runtime/vmThread.hpp" HeapWord* PermGen::mem_allocate_in_gen(size_t size, Generation* gen) { GCCause::Cause next_cause = GCCause::_permanent_generation_full; GCCause::Cause prev_cause = GCCause::_no_gc; unsigned int gc_count_before, full_gc_count_before;