src/share/vm/services/memoryManager.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File bug_jdk8041623 Cdiff src/share/vm/services/memoryManager.cpp

src/share/vm/services/memoryManager.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2013, 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) 2003, 2014, 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.
*** 37,47 **** #include "services/gcNotifier.hpp" #include "utilities/dtrace.hpp" MemoryManager::MemoryManager() { _num_pools = 0; ! (void)const_cast<instanceOop&>(_memory_mgr_obj = NULL); } void MemoryManager::add_pool(MemoryPool* pool) { assert(_num_pools < MemoryManager::max_num_pools, "_num_pools exceeds the max"); if (_num_pools < MemoryManager::max_num_pools) { --- 37,47 ---- #include "services/gcNotifier.hpp" #include "utilities/dtrace.hpp" MemoryManager::MemoryManager() { _num_pools = 0; ! (void)const_cast<instanceOop&>(_memory_mgr_obj = instanceOop(NULL)); } void MemoryManager::add_pool(MemoryPool* pool) { assert(_num_pools < MemoryManager::max_num_pools, "_num_pools exceeds the max"); if (_num_pools < MemoryManager::max_num_pools) {
src/share/vm/services/memoryManager.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File