8197841: Remove unused function Universe::create_heap_ext

Reviewed-by: rkennke, eosterlund, hseigel
This commit is contained in:
Erik Helin 2018-02-28 16:00:20 +01:00
parent 03dfb66004
commit 6d207011e0
3 changed files with 2 additions and 39 deletions

View File

@ -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;
}

View File

@ -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);

View File

@ -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;
}