OpenJDK / jdk / jdk
changeset 59362:db19c7c917a2
8245450: ZGC: Remove unused ZArguments::initialize_platform()
Reviewed-by: tschatzl
author | pliden |
---|---|
date | Wed, 20 May 2020 11:59:09 +0200 |
parents | e196fdd59ff6 |
children | 8fe5ada6695d |
files | src/hotspot/cpu/aarch64/gc/z/zArguments_aarch64.cpp src/hotspot/cpu/x86/gc/z/zArguments_x86.cpp src/hotspot/share/gc/z/zArguments.cpp src/hotspot/share/gc/z/zArguments.hpp |
diffstat | 4 files changed, 0 insertions(+), 63 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/cpu/aarch64/gc/z/zArguments_aarch64.cpp Wed May 20 11:35:58 2020 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018, 2020, 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 "gc/z/zArguments.hpp" - -void ZArguments::initialize_platform() { - // Does nothing -}
--- a/src/hotspot/cpu/x86/gc/z/zArguments_x86.cpp Wed May 20 11:35:58 2020 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018, 2019, 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 "gc/z/zArguments.hpp" - -void ZArguments::initialize_platform() { - // Does nothing -}
--- a/src/hotspot/share/gc/z/zArguments.cpp Wed May 20 11:35:58 2020 +0200 +++ b/src/hotspot/share/gc/z/zArguments.cpp Wed May 20 11:59:09 2020 +0200 @@ -99,9 +99,6 @@ // Verification of stacks not (yet) supported, for the same reason // we need fixup_partial_loads DEBUG_ONLY(FLAG_SET_DEFAULT(VerifyStack, false)); - - // Initialize platform specific arguments - initialize_platform(); } size_t ZArguments::conservative_max_heap_alignment() {
--- a/src/hotspot/share/gc/z/zArguments.hpp Wed May 20 11:35:58 2020 +0200 +++ b/src/hotspot/share/gc/z/zArguments.hpp Wed May 20 11:59:09 2020 +0200 @@ -30,8 +30,6 @@ class ZArguments : public GCArguments { private: - void initialize_platform(); - virtual void initialize_alignments(); virtual void initialize();