mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-21 02:48:02 +00:00
8197841: Remove unused function Universe::create_heap_ext
Reviewed-by: rkennke, eosterlund, hseigel
This commit is contained in:
parent
03dfb66004
commit
6d207011e0
@ -760,14 +760,8 @@ CollectedHeap* Universe::create_heap() {
|
||||
// HeapBased - Use compressed oops with heap base + encoding.
|
||||
|
||||
jint Universe::initialize_heap() {
|
||||
jint status = JNI_ERR;
|
||||
|
||||
_collectedHeap = create_heap_ext();
|
||||
if (_collectedHeap == NULL) {
|
||||
_collectedHeap = create_heap();
|
||||
}
|
||||
|
||||
status = _collectedHeap->initialize();
|
||||
_collectedHeap = create_heap();
|
||||
jint status = _collectedHeap->initialize();
|
||||
if (status != JNI_OK) {
|
||||
return status;
|
||||
}
|
||||
|
||||
@ -220,7 +220,6 @@ class Universe: AllStatic {
|
||||
static size_t _heap_used_at_last_gc;
|
||||
|
||||
static CollectedHeap* create_heap();
|
||||
static CollectedHeap* create_heap_ext();
|
||||
static jint initialize_heap();
|
||||
static void initialize_basic_type_mirrors(TRAPS);
|
||||
static void fixup_mirrors(TRAPS);
|
||||
|
||||
@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 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.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "precompiled.hpp"
|
||||
#include "memory/universe.hpp"
|
||||
|
||||
CollectedHeap* Universe::create_heap_ext() {
|
||||
return NULL;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user