hotspot/src/share/vm/services/memoryPool.cpp
changeset 20282 7f9cbdf89af2
parent 20001 7446501f55bc
child 23854 50f7f89b34e0
equal deleted inserted replaced
20281:e4d33bd980c4 20282:7f9cbdf89af2
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2013, 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.
    43                        bool support_usage_threshold,
    43                        bool support_usage_threshold,
    44                        bool support_gc_threshold) {
    44                        bool support_gc_threshold) {
    45   _name = name;
    45   _name = name;
    46   _initial_size = init_size;
    46   _initial_size = init_size;
    47   _max_size = max_size;
    47   _max_size = max_size;
    48   _memory_pool_obj = NULL;
    48   (void)const_cast<instanceOop&>(_memory_pool_obj = NULL);
    49   _available_for_allocation = true;
    49   _available_for_allocation = true;
    50   _num_managers = 0;
    50   _num_managers = 0;
    51   _type = type;
    51   _type = type;
    52 
    52 
    53   // initialize the max and init size of collection usage
    53   // initialize the max and init size of collection usage