src/share/vm/services/psMemoryPool.cpp

changeset 4037
da91efe96a93
parent 2314
f95d63e2154a
child 6876
710a3c8b516e
     1.1 --- a/src/share/vm/services/psMemoryPool.cpp	Fri Aug 31 16:39:35 2012 -0700
     1.2 +++ b/src/share/vm/services/psMemoryPool.cpp	Sat Sep 01 13:25:18 2012 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -25,7 +25,6 @@
    1.11  #include "precompiled.hpp"
    1.12  #include "classfile/systemDictionary.hpp"
    1.13  #include "classfile/vmSymbols.hpp"
    1.14 -#include "gc_implementation/parallelScavenge/psPermGen.hpp"
    1.15  #include "oops/oop.inline.hpp"
    1.16  #include "runtime/handles.inline.hpp"
    1.17  #include "runtime/javaCalls.hpp"
    1.18 @@ -42,14 +41,6 @@
    1.19                        gen->reserved().byte_size(), support_usage_threshold), _gen(gen) {
    1.20  }
    1.21  
    1.22 -PSGenerationPool::PSGenerationPool(PSPermGen* gen,
    1.23 -                                   const char* name,
    1.24 -                                   PoolType type,
    1.25 -                                   bool support_usage_threshold) :
    1.26 -  CollectedMemoryPool(name, type, gen->capacity_in_bytes(),
    1.27 -                      gen->reserved().byte_size(), support_usage_threshold), _gen(gen) {
    1.28 -}
    1.29 -
    1.30  MemoryUsage PSGenerationPool::get_memory_usage() {
    1.31    size_t maxSize   = (available_for_allocation() ? max_size() : 0);
    1.32    size_t used      = used_in_bytes();

mercurial