diff --git a/8264805-Backport-Ahead-of-Time-Compiler.patch b/8264805-Backport-Ahead-of-Time-Compiler.patch index 960d6a7c9b580ffd2cea06910984fea146b171cb..ffc80334ed800f0768d01b0bdffb314198a685e7 100644 --- a/8264805-Backport-Ahead-of-Time-Compiler.patch +++ b/8264805-Backport-Ahead-of-Time-Compiler.patch @@ -616,13 +616,6 @@ diff --git a/make/RunTests.gmk b/make/RunTests.gmk index 57a282bfd..9fad1ed43 100644 --- a/make/RunTests.gmk +++ b/make/RunTests.gmk -@@ -1,5 +1,5 @@ - # --# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. -+# Copyright (c) 2016, 2023, 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 @@ -46,7 +46,7 @@ endif $(eval $(call ParseKeywordVariable, TEST_OPTS, \ @@ -676,20 +669,20 @@ index 57a282bfd..9fad1ed43 100644 + $$($1_AOT_LIB): $$(JDK_UNDER_TEST)/release \ + $$(call DependOnVariable, $1_JAOTC_OPTS) \ + $$(call DependOnVariable, JDK_UNDER_TEST) -+ $$(call LogWarn, Generating $$(patsubst $$(OUTPUTDIR)/%, %, $$@)) -+ $$(call MakeTargetDir) -+ $$(call ExecuteWithLog, $$@, \ -+ $((COV_ENVIRONMENT) \ -+ $$(FIXPATH) $$(JDK_UNDER_TEST)/bin/jaotc \ -+ $$($1_JAOTC_OPTS) --output $$@ --module $$($1_MODULE) \ -+ ) -+ $$(call ExecuteWithLog, $$@.check, ( \ -+ $$(FIXPATH) $$(JDK_UNDER_TEST)/bin/java \ -+ $$($1_VM_OPTIONS) -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions \ -+ -XX:+PrintAOT -XX:+UseAOTStrictLoading \ -+ -XX:AOTLibrary=$$@ -version \ -+ > $$@.verify-aot \ -+ )) ++ $$(call LogWarn, Generating $$(patsubst $$(OUTPUTDIR)/%, %, $$@)) ++ $$(call MakeTargetDir) ++ $$(call ExecuteWithLog, $$@, \ ++ $((COV_ENVIRONMENT) \ ++ $$(FIXPATH) $$(JDK_UNDER_TEST)/bin/jaotc \ ++ $$($1_JAOTC_OPTS) --output $$@ --module $$($1_MODULE) \ ++ ) ++ $$(call ExecuteWithLog, $$@.check, ( \ ++ $$(FIXPATH) $$(JDK_UNDER_TEST)/bin/java \ ++ $$($1_VM_OPTIONS) -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions \ ++ -XX:+PrintAOT -XX:+UseAOTStrictLoading \ ++ -XX:AOTLibrary=$$@ -version \ ++ > $$@.verify-aot \ ++ )) + + $1_AOT_OPTIONS += -XX:+UnlockExperimentalVMOptions + $1_AOT_OPTIONS += -XX:AOTLibrary=$$($1_AOT_LIB) @@ -739,30 +732,30 @@ index 57a282bfd..9fad1ed43 100644 $(eval $(call SetTestOpt,TIMEOUT_FACTOR,JTREG)) @@ -202,7 +293,7 @@ $(eval $(call ParseKeywordVariable, JTREG, \ TEST_MODE ASSERT VERBOSE RETAIN MAX_MEM RUN_PROBLEM_LISTS \ - RETRY_COUNT REPEAT_COUNT MAX_OUTPUT, \ + RETRY_COUNT REPEAT_COUNT MAX_OUTPUT $(CUSTOM_JTREG_SINGLE_KEYWORDS), \ STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \ -- EXTRA_PROBLEM_LISTS LAUNCHER_OPTIONS, \ -+ EXTRA_PROBLEM_LISTS AOT_MODULES LAUNCHER_OPTIONS, \ +- EXTRA_PROBLEM_LISTS LAUNCHER_OPTIONS\ ++ EXTRA_PROBLEM_LISTS AOT_MODULES LAUNCHER_OPTIONS\ + $(CUSTOM_JTREG_STRING_KEYWORDS), \ )) - ifneq ($(JTREG), ) -@@ -214,10 +305,11 @@ endif - +@@ -306,10 +306,11 @@ endif + $(eval $(call SetTestOpt,VM_OPTIONS,GTEST)) $(eval $(call SetTestOpt,JAVA_OPTIONS,GTEST)) +$(eval $(call SetTestOpt,AOT_MODULES,GTEST)) - + $(eval $(call ParseKeywordVariable, GTEST, \ SINGLE_KEYWORDS := REPEAT, \ - STRING_KEYWORDS := OPTIONS VM_OPTIONS JAVA_OPTIONS, \ + STRING_KEYWORDS := OPTIONS VM_OPTIONS JAVA_OPTIONS AOT_MODULES, \ )) - + ifneq ($(GTEST), ) -@@ -498,7 +590,14 @@ define SetupRunGtestTestBody +@@ -499,7 +590,14 @@ define SetupRunGtestTestBody $1_GTEST_REPEAT :=--gtest_repeat=$$(GTEST_REPEAT) endif - + - run-test-$1: pre-run-test + ifneq ($$(GTEST_AOT_MODULES), ) + $$(eval $$(call SetupAot, $1, \ @@ -775,7 +768,7 @@ index 57a282bfd..9fad1ed43 100644 $$(call LogWarn) $$(call LogWarn, Running test '$$($1_TEST)') $$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR)) -@@ -509,7 +608,7 @@ define SetupRunGtestTestBody +@@ -510,7 +608,7 @@ define SetupRunGtestTestBody --gtest_output=xml:$$($1_TEST_RESULTS_DIR)/gtest.xml \ --gtest_catch_exceptions=0 \ $$($1_GTEST_REPEAT) $$(GTEST_OPTIONS) $$(GTEST_VM_OPTIONS) \ @@ -784,9 +777,9 @@ index 57a282bfd..9fad1ed43 100644 > >($(TEE) $$($1_TEST_RESULTS_DIR)/gtest.txt) \ && $$(ECHO) $$$$? > $$($1_EXITCODE) \ || $$(ECHO) $$$$? > $$($1_EXITCODE) \ -@@ -844,6 +943,17 @@ define SetupRunJtregTestBody - endif - endif +@@ -874,6 +972,17 @@ define SetupRunJtregTestBody + + JTREG_TIMEOUT_FACTOR ?= $$(JTREG_AUTO_TIMEOUT_FACTOR) + ifneq ($$(JTREG_AOT_MODULES), ) + $$(eval $$(call SetupAot, $1, \ @@ -802,7 +795,7 @@ index 57a282bfd..9fad1ed43 100644 clean-outputdirs-$1: $$(RM) -r $$($1_TEST_SUPPORT_DIR) $$(RM) -r $$($1_TEST_RESULTS_DIR) -@@ -891,7 +1001,7 @@ define SetupRunJtregTestBody +@@ -921,7 +1030,7 @@ define SetupRunJtregTestBody done endif @@ -32837,13 +32830,6 @@ diff --git a/test/hotspot/jtreg/vmTestbase/vm/compiler/CodeCacheInfo/Test.java b index 118d6c8f8..a3cc54cfd 100644 --- a/test/hotspot/jtreg/vmTestbase/vm/compiler/CodeCacheInfo/Test.java +++ b/test/hotspot/jtreg/vmTestbase/vm/compiler/CodeCacheInfo/Test.java -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2017, 2023, 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 @@ -62,6 +62,15 @@ public class Test { String segPrefix = "^(CodeHeap '[^']+':" + p1 + p2 + ")+"; String nosegPrefix = "^CodeCache:" + p1 + p2; @@ -32904,24 +32890,17 @@ diff --git a/test/jdk/java/lang/Class/getDeclaredField/FieldSetAccessibleTest.ja index 12cab1f5d..7c647d6d4 100644 --- a/test/jdk/java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java +++ b/test/jdk/java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2014, 2023, 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 -@@ -288,8 +288,8 @@ public class FieldSetAccessibleTest { - static Set systemModules() { - Set mods = Set.of("javafx.deploy", "jdk.deploy", "jdk.plugin", "jdk.javaws", - // All JVMCI packages other than jdk.vm.ci.services are dynamically -- // exported to jdk.internal.vm.compiler -- "jdk.internal.vm.compiler" -+ // exported to jdk.internal.vm.compiler and jdk.aot -+ "jdk.internal.vm.compiler", "jdk.aot" +@@ -312,8 +312,8 @@ public class FieldSetAccessibleTest { + + Set mods = Set.of( + // All JVMCI packages other than jdk.vm.ci.services are dynamically +- // exported to jdk.internal.vm.compiler +- "jdk.internal.vm.compiler", "jdk.internal.vm.compiler.management" ++ // exported to jdk.internal.vm.compiler and jdk.aot ++ "jdk.internal.vm.compiler", "jdk.internal.vm.compiler.management", "jdk.aot" ); - return ModuleFinder.ofSystem().findAll().stream() - .map(mref -> mref.descriptor().name()) + // Filters all modules that directly or indirectly require jdk.internal.vm.compiler + // and jdk.internal.vm.compiler.management, as these are upgradeable and diff --git a/test/jdk/jdk/modules/etc/UpgradeableModules.java b/test/jdk/jdk/modules/etc/UpgradeableModules.java index 59ff5aa6b..a7e467b50 100644 --- a/test/jdk/jdk/modules/etc/UpgradeableModules.java diff --git a/8280872-Reorder-code-cache-segments-to-improv.patch b/8280872-Reorder-code-cache-segments-to-improv.patch index 78d9df05f0f96ec0f5290e98d04cba6a74665a56..a9dcbd9d823c55e1e5dca75ba238abe231377c57 100644 --- a/8280872-Reorder-code-cache-segments-to-improv.patch +++ b/8280872-Reorder-code-cache-segments-to-improv.patch @@ -305,7 +305,7 @@ index f47331a6d..000000000 - "-XX:CompileCommand=option," + className + "::main,bool,PrintAssembly,true", - className}; - -- ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(procArgs); +- ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(procArgs); - OutputAnalyzer output = new OutputAnalyzer(pb.start()); - List lines = output.asLines(); - diff --git a/8323066-TestSkipRebuildRemsetPhase.java-fails-with-S.patch b/8323066-TestSkipRebuildRemsetPhase.java-fails-with-S.patch index e4998b6addd6e8badcd62e1729cba92043067f84..b677a7998f328f43dba5309b415b4470c78f7662 100644 --- a/8323066-TestSkipRebuildRemsetPhase.java-fails-with-S.patch +++ b/8323066-TestSkipRebuildRemsetPhase.java-fails-with-S.patch @@ -11,14 +11,14 @@ index 860d3ce48..1a4c13132 100644 --- a/test/hotspot/jtreg/gc/g1/TestSkipRebuildRemsetPhase.java +++ b/test/hotspot/jtreg/gc/g1/TestSkipRebuildRemsetPhase.java @@ -45,7 +45,7 @@ public class TestSkipRebuildRemsetPhase { - "-XX:+UnlockExperimentalVMOptions", - "-XX:+UnlockDiagnosticVMOptions", - "-XX:+WhiteBoxAPI", -- "-XX:G1MixedGCLiveThresholdPercent=20", -+ "-XX:G1MixedGCLiveThresholdPercent=0", - "-Xlog:gc+marking=debug,gc+phases=debug,gc+remset+tracking=trace", - "-Xms10M", - "-Xmx10M", + "-XX:+UnlockExperimentalVMOptions", + "-XX:+UnlockDiagnosticVMOptions", + "-XX:+WhiteBoxAPI", +- "-XX:G1MixedGCLiveThresholdPercent=20", ++ "-XX:G1MixedGCLiveThresholdPercent=0", + "-Xlog:gc+marking=debug,gc+phases=debug,gc+remset+tracking=trace", + "-Xms10M", + "-Xmx10M", -- 2.22.0 diff --git a/Backport-Important-Fixed-Issues.patch b/Backport-Important-Fixed-Issues.patch index af236a8ba8151585a6d1befd271d65f7c9c1abab..eb174ce5e5038977ba5a6b17abfafde45d810213 100644 --- a/Backport-Important-Fixed-Issues.patch +++ b/Backport-Important-Fixed-Issues.patch @@ -13,17 +13,14 @@ src/hotspot/share/opto/loopopts.cpp | 6 +- src/hotspot/share/opto/macroArrayCopy.cpp | 4 +- src/hotspot/share/utilities/exceptions.cpp | 4 +- - .../classes/java/nio/charset/Charset.java | 8 +- .../sun/security/jca/ProviderList.java | 8 +- .../classes/sun/security/provider/SHA3.java | 14 +- .../sun/security/provider/SHAKE128.java | 49 ++++ .../media/sound/StandardMidiFileReader.java | 10 +- .../classes/java/awt/image/BufferedImage.java | 28 +-- .../java/awt/image/WritableRaster.java | 37 +-- - .../swing/plaf/basic/BasicComboPopup.java | 4 +- .../swing/plaf/basic/BasicDirectoryModel.java | 103 ++++----- .../classes/javax/swing/text/html/CSS.java | 6 +- - .../sun/jndi/ldap/sasl/SaslInputStream.java | 4 +- .../jdk/internal/net/http/common/Utils.java | 10 +- .../share/native/libj2gss/GSSLibStub.c | 10 +- .../com/sun/tools/javac/comp/Annotate.java | 7 +- @@ -36,9 +33,7 @@ .../containers/docker/TestContainerInfo.java | 97 ++++++++ .../java/awt/image/BufferedImage/SetData.java | 114 ++++++++++ .../net/httpclient/HttpClientBuilderTest.java | 19 +- - .../java/nio/charset/Charset/AliasesCopy.java | 69 ++++++ .../File/SMFInterruptedRunningStatus.java | 143 ++++++++++++ - .../javax/swing/JComboBox/ComboPopupBug.java | 91 ++++++++ .../jfr/api/consumer/TestRecordedClass.java | 115 ++++++++++ .../ConcurrentGetMonitoredHost.java | 90 ++++++++ .../sun/security/jca/NullPreferredList.java | 41 ++++ @@ -54,9 +49,7 @@ create mode 100644 test/hotspot/jtreg/compiler/splitif/TestSplitDivThroughPhiWithControl.java create mode 100644 test/hotspot/jtreg/containers/docker/TestContainerInfo.java create mode 100644 test/jdk/java/awt/image/BufferedImage/SetData.java - create mode 100644 test/jdk/java/nio/charset/Charset/AliasesCopy.java create mode 100644 test/jdk/javax/sound/midi/File/SMFInterruptedRunningStatus.java - create mode 100644 test/jdk/javax/swing/JComboBox/ComboPopupBug.java create mode 100644 test/jdk/jdk/jfr/api/consumer/TestRecordedClass.java create mode 100644 test/jdk/sun/jvmstat/monitor/MonitoredVm/ConcurrentGetMonitoredHost.java create mode 100644 test/jdk/sun/security/jca/NullPreferredList.java @@ -336,32 +329,6 @@ index cf9291f6d..499542235 100644 ls->print_cr("%s throws BSME for " INTPTR_FORMAT, is_indy ? "invokedynamic" : "dynamic constant", p2i((void *)exception)); exception->print_on(ls); } -diff --git a/src/java.base/share/classes/java/nio/charset/Charset.java b/src/java.base/share/classes/java/nio/charset/Charset.java -index 0ac18a23b..2b1942122 100644 ---- a/src/java.base/share/classes/java/nio/charset/Charset.java -+++ b/src/java.base/share/classes/java/nio/charset/Charset.java -@@ -41,7 +41,6 @@ import java.util.Iterator; - import java.util.Locale; - import java.util.Map; - import java.util.NoSuchElementException; --import java.util.Objects; - import java.util.ServiceConfigurationError; - import java.util.ServiceLoader; - import java.util.Set; -@@ -636,7 +635,12 @@ public abstract class Charset - * If the canonical name or any of the aliases are illegal - */ - protected Charset(String canonicalName, String[] aliases) { -- String[] as = Objects.requireNonNullElse(aliases, zeroAliases); -+ String[] as = -+ aliases == null ? -+ zeroAliases : -+ VM.isSystemDomainLoader(getClass().getClassLoader()) ? -+ aliases : -+ Arrays.copyOf(aliases, aliases.length); - - // Skip checks for the standard, built-in Charsets we always load - // during initialization. diff --git a/src/java.base/share/classes/sun/security/jca/ProviderList.java b/src/java.base/share/classes/sun/security/jca/ProviderList.java index 9b41172c0..4b30c76cf 100644 --- a/src/java.base/share/classes/sun/security/jca/ProviderList.java @@ -615,26 +582,6 @@ index 0e345026c..bcca029c1 100644 switch (srcRaster.getSampleModel().getDataType()) { case DataBuffer.TYPE_BYTE: -diff --git a/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicComboPopup.java b/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicComboPopup.java -index 050f27e72..197f3238b 100644 ---- a/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicComboPopup.java -+++ b/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicComboPopup.java -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1998, 2024, 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 -@@ -921,7 +921,7 @@ public class BasicComboPopup extends JPopupMenu implements ComboPopup { - if (e.getSource() == list) { - return; - } -- if (!SwingUtilities.isLeftMouseButton(e) || !comboBox.isEnabled()) -+ if (!SwingUtilities.isLeftMouseButton(e) || !comboBox.isEnabled() || !comboBox.isShowing()) - return; - - if ( comboBox.isEditable() ) { diff --git a/src/java.desktop/share/classes/javax/swing/text/html/CSS.java b/src/java.desktop/share/classes/javax/swing/text/html/CSS.java index c14b5a126..311f172b8 100644 --- a/src/java.desktop/share/classes/javax/swing/text/html/CSS.java @@ -666,26 +613,6 @@ index c14b5a126..311f172b8 100644 } } } -diff --git a/src/java.naming/share/classes/com/sun/jndi/ldap/sasl/SaslInputStream.java b/src/java.naming/share/classes/com/sun/jndi/ldap/sasl/SaslInputStream.java -index f0746c103..534f7dac7 100644 ---- a/src/java.naming/share/classes/com/sun/jndi/ldap/sasl/SaslInputStream.java -+++ b/src/java.naming/share/classes/com/sun/jndi/ldap/sasl/SaslInputStream.java -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2001, 2024, 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 -@@ -78,7 +78,7 @@ public class SaslInputStream extends InputStream { - byte[] inBuf = new byte[1]; - int count = read(inBuf, 0, 1); - if (count > 0) { -- return inBuf[0]; -+ return inBuf[0] & 0xff; - } else { - return -1; - } diff --git a/src/java.net.http/share/classes/jdk/internal/net/http/common/Utils.java b/src/java.net.http/share/classes/jdk/internal/net/http/common/Utils.java index a3f6a11aa..0955bdffe 100644 --- a/src/java.net.http/share/classes/jdk/internal/net/http/common/Utils.java @@ -1488,81 +1415,6 @@ index 121793014..ef43ec8b9 100644 } @Test -diff --git a/test/jdk/java/nio/charset/Charset/AliasesCopy.java b/test/jdk/java/nio/charset/Charset/AliasesCopy.java -new file mode 100644 -index 000000000..66ee830c5 ---- /dev/null -+++ b/test/jdk/java/nio/charset/Charset/AliasesCopy.java -@@ -0,0 +1,69 @@ -+/* -+ * Copyright (c) 2023, 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. -+ */ -+ -+/* @test -+ * @bug 8319817 -+ * @summary Check that aliases cannot be mutated -+ * @run junit AliasesCopy -+ */ -+ -+import java.nio.charset.Charset; -+import java.nio.charset.CharsetDecoder; -+import java.nio.charset.CharsetEncoder; -+import java.util.Set; -+ -+import org.junit.jupiter.api.Test; -+import static org.junit.jupiter.api.Assertions.assertIterableEquals; -+ -+public class AliasesCopy { -+ private static final Set ALIASES_SET = Set.of("foo-alias"); -+ private static final String[] ALIASES_ARRAY = ALIASES_SET.toArray(String[]::new); -+ -+ @Test -+ public void aliasesCopy() { -+ final FooCharset cs = new FooCharset(ALIASES_ARRAY); -+ ALIASES_ARRAY[0] = "bar-alias"; -+ assertIterableEquals(ALIASES_SET, cs.aliases()); -+ } -+ -+ private static final class FooCharset extends Charset { -+ private FooCharset(String[] aliases) { -+ super("foo", aliases); -+ } -+ -+ @Override -+ public CharsetEncoder newEncoder() { -+ throw new RuntimeException("not implemented"); -+ } -+ -+ @Override -+ public CharsetDecoder newDecoder() { -+ throw new RuntimeException("not implemented"); -+ } -+ -+ @Override -+ public boolean contains(Charset cs) { -+ throw new RuntimeException("not implemented"); -+ } -+ } -+} diff --git a/test/jdk/javax/sound/midi/File/SMFInterruptedRunningStatus.java b/test/jdk/javax/sound/midi/File/SMFInterruptedRunningStatus.java new file mode 100644 index 000000000..1b82e2f73 @@ -1712,103 +1564,6 @@ index 000000000..1b82e2f73 + (byte) 0xFF, 0x2F, 0x00 // META (end of track) + }; +} -diff --git a/test/jdk/javax/swing/JComboBox/ComboPopupBug.java b/test/jdk/javax/swing/JComboBox/ComboPopupBug.java -new file mode 100644 -index 000000000..830216f0d ---- /dev/null -+++ b/test/jdk/javax/swing/JComboBox/ComboPopupBug.java -@@ -0,0 +1,91 @@ -+/* -+ * Copyright (c) 2024, 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. -+ */ -+ -+import javax.swing.JButton; -+import javax.swing.JComboBox; -+import javax.swing.JFrame; -+import javax.swing.SwingUtilities; -+ -+/* -+ * @test -+ * @bug 8322754 -+ * @summary Verifies clicking JComboBox during frame closure causes Exception -+ * @library /java/awt/regtesthelpers -+ * @build PassFailJFrame -+ * @run main/manual ComboPopupBug -+ */ -+ -+public class ComboPopupBug { -+ private static final String instructionsText = """ -+ This test is used to verify that clicking on JComboBox -+ when frame containing it is about to close should not -+ cause IllegalStateException. -+ A JComboBox is shown with Close button at the bottom. -+ Click on Close and then click on JComboBox arrow button -+ to try to show combobox popup. -+ If IllegalStateException is thrown, test will automatically Fail -+ otherwise click Pass. """; -+ -+ public static void main(String[] args) throws Exception { -+ PassFailJFrame passFailJFrame = new PassFailJFrame.Builder() -+ .title("ComboPopup Instructions") -+ .instructions(instructionsText) -+ .testTimeOut(5) -+ .rows(10) -+ .columns(35) -+ .build(); -+ -+ SwingUtilities.invokeAndWait(() -> { -+ JFrame frame = new JFrame("ComboPopup"); -+ -+ JComboBox cb = new JComboBox(); -+ cb.setEditable(true); -+ cb.addItem("test"); -+ cb.addItem("test2"); -+ cb.addItem("test3"); -+ frame.getContentPane().add(cb, "North"); -+ -+ JButton b = new JButton("Close"); -+ b.addActionListener( -+ (e)->{ -+ try { -+ Thread.sleep(3000); -+ } -+ catch (Exception ex) { -+ } -+ frame.setVisible(false); -+ -+ }); -+ frame.getContentPane().add(b, "South"); -+ frame.setSize(200, 200); -+ -+ PassFailJFrame.addTestWindow(frame); -+ PassFailJFrame.positionTestWindow(frame, -+ PassFailJFrame.Position.HORIZONTAL); -+ -+ frame.setVisible(true); -+ }); -+ -+ passFailJFrame.awaitAndCheck(); -+ } -+} diff --git a/test/jdk/sun/jvmstat/monitor/MonitoredVm/ConcurrentGetMonitoredHost.java b/test/jdk/sun/jvmstat/monitor/MonitoredVm/ConcurrentGetMonitoredHost.java new file mode 100644 index 000000000..a6049f6a0 diff --git a/LoongArch64-support.patch b/LoongArch64-support.patch index a9a6ec6688f8f65e11799caf879c0581504c43da..c55fa6685c09c72a51baab0239ed46b76b1becb3 100644 --- a/LoongArch64-support.patch +++ b/LoongArch64-support.patch @@ -1,5 +1,584 @@ +From d1e2e483022db67f4445dd3181559ea71a2e916a Mon Sep 17 00:00:00 2001 +From: songliyang +Date: Fri, 21 Feb 2025 13:55:48 +0800 +Subject: [PATCH] LoongArch64 support + +--- + make/autoconf/jvm-features.m4 | 36 +- + make/autoconf/platform.m4 | 27 + + .../abstractInterpreter_loongarch.cpp | 133 + + .../cpu/loongarch/assembler_loongarch.cpp | 849 + + .../cpu/loongarch/assembler_loongarch.hpp | 2831 +++ + .../loongarch/assembler_loongarch.inline.hpp | 33 + + src/hotspot/cpu/loongarch/bytes_loongarch.hpp | 73 + + .../loongarch/c1_CodeStubs_loongarch_64.cpp | 360 + + .../cpu/loongarch/c1_Defs_loongarch.hpp | 79 + + .../loongarch/c1_FpuStackSim_loongarch.hpp | 32 + + .../loongarch/c1_FpuStackSim_loongarch_64.cpp | 31 + + .../cpu/loongarch/c1_FrameMap_loongarch.hpp | 143 + + .../loongarch/c1_FrameMap_loongarch_64.cpp | 362 + + .../loongarch/c1_LIRAssembler_loongarch.hpp | 84 + + .../c1_LIRAssembler_loongarch_64.cpp | 3402 ++++ + .../c1_LIRGenerator_loongarch_64.cpp | 1386 ++ + .../cpu/loongarch/c1_LIR_loongarch_64.cpp | 57 + + .../cpu/loongarch/c1_LinearScan_loongarch.hpp | 70 + + .../loongarch/c1_LinearScan_loongarch_64.cpp | 33 + + .../loongarch/c1_MacroAssembler_loongarch.hpp | 112 + + .../c1_MacroAssembler_loongarch_64.cpp | 365 + + .../loongarch/c1_Runtime1_loongarch_64.cpp | 1148 ++ + .../cpu/loongarch/c1_globals_loongarch.hpp | 65 + + .../loongarch/c2_MacroAssembler_loongarch.cpp | 1872 ++ + .../loongarch/c2_MacroAssembler_loongarch.hpp | 144 + + .../cpu/loongarch/c2_globals_loongarch.hpp | 90 + + .../cpu/loongarch/c2_init_loongarch.cpp | 37 + + .../c2_safepointPollStubTable_loongarch.cpp | 50 + + .../cpu/loongarch/codeBuffer_loongarch.hpp | 35 + + .../cpu/loongarch/compiledIC_loongarch.cpp | 144 + + src/hotspot/cpu/loongarch/copy_loongarch.hpp | 77 + + .../cpu/loongarch/disassembler_loongarch.hpp | 57 + + .../loongarch/foreign_globals_loongarch.cpp | 42 + + .../loongarch/foreign_globals_loongarch.hpp | 31 + + src/hotspot/cpu/loongarch/frame_loongarch.cpp | 668 + + src/hotspot/cpu/loongarch/frame_loongarch.hpp | 162 + + .../cpu/loongarch/frame_loongarch.inline.hpp | 245 + + .../gc/g1/g1BarrierSetAssembler_loongarch.cpp | 532 + + .../gc/g1/g1BarrierSetAssembler_loongarch.hpp | 71 + + .../loongarch/gc/g1/g1Globals_loongarch.hpp | 30 + + .../shared/barrierSetAssembler_loongarch.cpp | 320 + + .../shared/barrierSetAssembler_loongarch.hpp | 93 + + .../gc/shared/barrierSetNMethod_loongarch.cpp | 157 + + ...cardTableBarrierSetAssembler_loongarch.cpp | 119 + + ...cardTableBarrierSetAssembler_loongarch.hpp | 44 + + .../modRefBarrierSetAssembler_loongarch.cpp | 53 + + .../modRefBarrierSetAssembler_loongarch.hpp | 54 + + .../c1/shenandoahBarrierSetC1_loongarch.cpp | 130 + + ...henandoahBarrierSetAssembler_loongarch.cpp | 784 + + ...henandoahBarrierSetAssembler_loongarch.hpp | 85 + + .../gc/shenandoah/shenandoah_loongarch_64.ad | 222 + + .../gc/z/zBarrierSetAssembler_loongarch.cpp | 462 + + .../gc/z/zBarrierSetAssembler_loongarch.hpp | 101 + + .../cpu/loongarch/gc/z/zGlobals_loongarch.cpp | 211 + + .../cpu/loongarch/gc/z/zGlobals_loongarch.hpp | 35 + + .../cpu/loongarch/gc/z/z_loongarch_64.ad | 273 + + .../loongarch/globalDefinitions_loongarch.hpp | 55 + + .../cpu/loongarch/globals_loongarch.hpp | 106 + + .../cpu/loongarch/icBuffer_loongarch.cpp | 100 + + .../cpu/loongarch/icache_loongarch.cpp | 42 + + .../cpu/loongarch/icache_loongarch.hpp | 41 + + .../cpu/loongarch/interp_masm_loongarch.hpp | 270 + + .../loongarch/interp_masm_loongarch_64.cpp | 2042 ++ + .../cpu/loongarch/interpreterRT_loongarch.hpp | 62 + + .../loongarch/interpreterRT_loongarch_64.cpp | 282 + + .../loongarch/javaFrameAnchor_loongarch.hpp | 87 + + .../jniFastGetField_loongarch_64.cpp | 197 + + .../cpu/loongarch/jniTypes_loongarch.hpp | 143 + + .../jvmciCodeInstaller_loongarch.cpp | 202 + + src/hotspot/cpu/loongarch/loongarch.ad | 25 + + src/hotspot/cpu/loongarch/loongarch_64.ad | 15689 ++++++++++++++++ + .../loongarch/macroAssembler_loongarch.cpp | 3839 ++++ + .../loongarch/macroAssembler_loongarch.hpp | 754 + + .../macroAssembler_loongarch.inline.hpp | 34 + + .../macroAssembler_loongarch_trig.cpp | 1634 ++ + .../cpu/loongarch/matcher_loongarch.hpp | 145 + + .../cpu/loongarch/methodHandles_loongarch.cpp | 585 + + .../cpu/loongarch/methodHandles_loongarch.hpp | 62 + + .../cpu/loongarch/nativeInst_loongarch.cpp | 529 + + .../cpu/loongarch/nativeInst_loongarch.hpp | 531 + + .../cpu/loongarch/registerMap_loongarch.hpp | 61 + + .../register_definitions_loongarch.cpp | 103 + + .../cpu/loongarch/register_loongarch.cpp | 59 + + .../cpu/loongarch/register_loongarch.hpp | 499 + + .../cpu/loongarch/relocInfo_loongarch.cpp | 132 + + .../cpu/loongarch/relocInfo_loongarch.hpp | 44 + + .../cpu/loongarch/runtime_loongarch_64.cpp | 199 + + .../loongarch/sharedRuntime_loongarch_64.cpp | 3113 +++ + .../loongarch/stubGenerator_loongarch_64.cpp | 5176 +++++ + .../cpu/loongarch/stubRoutines_loongarch.hpp | 89 + + .../loongarch/stubRoutines_loongarch_64.cpp | 183 + + ...templateInterpreterGenerator_loongarch.cpp | 2197 +++ + .../cpu/loongarch/templateTable_loongarch.hpp | 43 + + .../loongarch/templateTable_loongarch_64.cpp | 4043 ++++ + .../universalNativeInvoker_loongarch_64.cpp | 32 + + .../universalUpcallHandler_loongarch_64.cpp | 41 + + .../cpu/loongarch/vmStructs_loongarch.hpp | 61 + + .../loongarch/vm_version_ext_loongarch.cpp | 85 + + .../loongarch/vm_version_ext_loongarch.hpp | 54 + + .../cpu/loongarch/vm_version_loongarch.cpp | 432 + + .../cpu/loongarch/vm_version_loongarch.hpp | 295 + + src/hotspot/cpu/loongarch/vmreg_loongarch.cpp | 58 + + src/hotspot/cpu/loongarch/vmreg_loongarch.hpp | 58 + + .../cpu/loongarch/vmreg_loongarch.inline.hpp | 39 + + .../loongarch/vtableStubs_loongarch_64.cpp | 331 + + .../cpu/mips/abstractInterpreter_mips.cpp | 133 + + src/hotspot/cpu/mips/assembler_mips.cpp | 764 + + src/hotspot/cpu/mips/assembler_mips.hpp | 1777 ++ + .../cpu/mips/assembler_mips.inline.hpp | 33 + + src/hotspot/cpu/mips/bytes_mips.hpp | 181 + + .../cpu/mips/c2_MacroAssembler_mips.cpp | 614 + + .../cpu/mips/c2_MacroAssembler_mips.hpp | 162 + + src/hotspot/cpu/mips/c2_globals_mips.hpp | 91 + + src/hotspot/cpu/mips/c2_init_mips.cpp | 34 + + src/hotspot/cpu/mips/codeBuffer_mips.hpp | 35 + + src/hotspot/cpu/mips/compiledIC_mips.cpp | 147 + + src/hotspot/cpu/mips/copy_mips.hpp | 77 + + src/hotspot/cpu/mips/depChecker_mips.cpp | 30 + + src/hotspot/cpu/mips/depChecker_mips.hpp | 31 + + src/hotspot/cpu/mips/disassembler_mips.hpp | 57 + + src/hotspot/cpu/mips/foreign_globals_mips.cpp | 42 + + src/hotspot/cpu/mips/foreign_globals_mips.hpp | 31 + + src/hotspot/cpu/mips/frame_mips.cpp | 665 + + src/hotspot/cpu/mips/frame_mips.hpp | 215 + + src/hotspot/cpu/mips/frame_mips.inline.hpp | 238 + + .../mips/gc/g1/g1BarrierSetAssembler_mips.cpp | 373 + + .../mips/gc/g1/g1BarrierSetAssembler_mips.hpp | 71 + + src/hotspot/cpu/mips/gc/g1/g1Globals_mips.hpp | 30 + + .../gc/shared/barrierSetAssembler_mips.cpp | 194 + + .../gc/shared/barrierSetAssembler_mips.hpp | 84 + + .../mips/gc/shared/barrierSetNMethod_mips.cpp | 41 + + .../cardTableBarrierSetAssembler_mips.cpp | 144 + + .../cardTableBarrierSetAssembler_mips.hpp | 42 + + .../shared/modRefBarrierSetAssembler_mips.cpp | 53 + + .../shared/modRefBarrierSetAssembler_mips.hpp | 54 + + .../cpu/mips/globalDefinitions_mips.hpp | 47 + + src/hotspot/cpu/mips/globals_mips.hpp | 132 + + src/hotspot/cpu/mips/icBuffer_mips.cpp | 96 + + src/hotspot/cpu/mips/icache_mips.cpp | 41 + + src/hotspot/cpu/mips/icache_mips.hpp | 41 + + src/hotspot/cpu/mips/interp_masm_mips.hpp | 266 + + src/hotspot/cpu/mips/interp_masm_mips_64.cpp | 2140 +++ + src/hotspot/cpu/mips/interpreterRT_mips.hpp | 60 + + .../cpu/mips/interpreterRT_mips_64.cpp | 260 + + src/hotspot/cpu/mips/javaFrameAnchor_mips.hpp | 87 + + .../cpu/mips/jniFastGetField_mips_64.cpp | 203 + + src/hotspot/cpu/mips/jniTypes_mips.hpp | 143 + + src/hotspot/cpu/mips/macroAssembler_mips.cpp | 3686 ++++ + src/hotspot/cpu/mips/macroAssembler_mips.hpp | 704 + + .../cpu/mips/macroAssembler_mips.inline.hpp | 34 + + src/hotspot/cpu/mips/matcher_mips.hpp | 145 + + src/hotspot/cpu/mips/methodHandles_mips.cpp | 597 + + src/hotspot/cpu/mips/methodHandles_mips.hpp | 62 + + src/hotspot/cpu/mips/mips.ad | 25 + + src/hotspot/cpu/mips/mips_64.ad | 12317 ++++++++++++ + src/hotspot/cpu/mips/nativeInst_mips.cpp | 1825 ++ + src/hotspot/cpu/mips/nativeInst_mips.hpp | 734 + + src/hotspot/cpu/mips/registerMap_mips.hpp | 50 + + .../cpu/mips/register_definitions_mips.cpp | 103 + + src/hotspot/cpu/mips/register_mips.cpp | 52 + + src/hotspot/cpu/mips/register_mips.hpp | 345 + + src/hotspot/cpu/mips/relocInfo_mips.cpp | 160 + + src/hotspot/cpu/mips/relocInfo_mips.hpp | 44 + + src/hotspot/cpu/mips/runtime_mips_64.cpp | 206 + + .../cpu/mips/sharedRuntime_mips_64.cpp | 3384 ++++ + .../cpu/mips/stubGenerator_mips_64.cpp | 2725 +++ + src/hotspot/cpu/mips/stubRoutines_mips.hpp | 59 + + src/hotspot/cpu/mips/stubRoutines_mips_64.cpp | 35 + + .../templateInterpreterGenerator_mips.cpp | 2094 +++ + src/hotspot/cpu/mips/templateTable_mips.hpp | 43 + + .../cpu/mips/templateTable_mips_64.cpp | 4613 +++++ + .../mips/universalNativeInvoker_mips_64.cpp | 32 + + .../mips/universalUpcallHandler_mips_64.cpp | 41 + + src/hotspot/cpu/mips/vmStructs_mips.hpp | 68 + + src/hotspot/cpu/mips/vm_version_ext_mips.cpp | 90 + + src/hotspot/cpu/mips/vm_version_ext_mips.hpp | 54 + + src/hotspot/cpu/mips/vm_version_mips.cpp | 523 + + src/hotspot/cpu/mips/vm_version_mips.hpp | 218 + + src/hotspot/cpu/mips/vmreg_mips.cpp | 56 + + src/hotspot/cpu/mips/vmreg_mips.hpp | 56 + + src/hotspot/cpu/mips/vmreg_mips.inline.hpp | 38 + + src/hotspot/cpu/mips/vtableStubs_mips_64.cpp | 348 + + src/hotspot/cpu/ppc/gc/z/zGlobals_ppc.hpp | 2 + + src/hotspot/os/linux/os_linux.cpp | 10 +- + .../assembler_linux_loongarch.cpp | 24 + + .../atomic_linux_loongarch.hpp | 275 + + .../bytes_linux_loongarch.inline.hpp | 37 + + .../copy_linux_loongarch.inline.hpp | 125 + + .../gc/z/zSyscall_linux_loongarch.hpp | 41 + + .../globals_linux_loongarch.hpp | 43 + + .../os_cpu/linux_loongarch/linux_loongarch.s | 25 + + .../orderAccess_linux_loongarch.hpp | 52 + + .../linux_loongarch/os_linux_loongarch.cpp | 529 + + .../linux_loongarch/os_linux_loongarch.hpp | 38 + + .../prefetch_linux_loongarch.inline.hpp | 56 + + .../safefetch_linux_loongarch64.S | 56 + + .../thread_linux_loongarch.cpp | 105 + + .../thread_linux_loongarch.hpp | 66 + + .../vmStructs_linux_loongarch.hpp | 55 + + .../vm_version_linux_loongarch.cpp | 95 + + .../linux_mips/assembler_linux_mips.cpp | 24 + + .../os_cpu/linux_mips/atomic_linux_mips.hpp | 194 + + .../linux_mips/bytes_linux_mips.inline.hpp | 37 + + .../linux_mips/copy_linux_mips.inline.hpp | 125 + + .../os_cpu/linux_mips/globals_linux_mips.hpp | 51 + + src/hotspot/os_cpu/linux_mips/linux_mips.s | 25 + + .../linux_mips/orderAccess_linux_mips.hpp | 52 + + .../os_cpu/linux_mips/os_linux_mips.cpp | 817 + + .../os_cpu/linux_mips/os_linux_mips.hpp | 39 + + .../linux_mips/prefetch_linux_mips.inline.hpp | 58 + + .../linux_mips/safefetch_linux_mips64.S | 60 + + .../os_cpu/linux_mips/thread_linux_mips.cpp | 108 + + .../os_cpu/linux_mips/thread_linux_mips.hpp | 66 + + .../linux_mips/vmStructs_linux_mips.hpp | 55 + + .../linux_mips/vm_version_linux_mips.cpp | 28 + + src/hotspot/share/adlc/formssel.cpp | 7 + + src/hotspot/share/asm/codeBuffer.cpp | 7 + + src/hotspot/share/c1/c1_Compiler.cpp | 8 +- + src/hotspot/share/c1/c1_LIR.cpp | 36 +- + src/hotspot/share/c1/c1_LIR.hpp | 59 +- + src/hotspot/share/c1/c1_LIRAssembler.cpp | 10 +- + src/hotspot/share/c1/c1_LIRAssembler.hpp | 10 +- + src/hotspot/share/c1/c1_LinearScan.cpp | 14 +- + src/hotspot/share/code/nmethod.cpp | 12 +- + src/hotspot/share/code/relocInfo.cpp | 4 +- + src/hotspot/share/code/relocInfo.hpp | 19 +- + src/hotspot/share/code/vtableStubs.cpp | 11 + + .../gc/g1/g1ParScanThreadState.inline.hpp | 9 + + .../share/gc/shared/c2/barrierSetC2.cpp | 15 + + .../gc/shenandoah/shenandoahArguments.cpp | 8 +- + src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp | 8 +- + .../share/interpreter/interpreterRuntime.cpp | 8 +- + .../share/interpreter/interpreterRuntime.hpp | 8 +- + .../templateInterpreterGenerator.hpp | 10 +- + .../share/jfr/utilities/jfrBigEndian.hpp | 8 +- + src/hotspot/share/jvmci/vmStructs_jvmci.cpp | 17 + + src/hotspot/share/memory/metaspace.cpp | 17 +- + src/hotspot/share/opto/classes.hpp | 7 + + src/hotspot/share/opto/compile.cpp | 7 + + src/hotspot/share/opto/memnode.cpp | 7 + + src/hotspot/share/opto/memnode.hpp | 14 + + src/hotspot/share/opto/output.cpp | 43 + + src/hotspot/share/opto/type.cpp | 14 + + src/hotspot/share/runtime/objectMonitor.cpp | 10 + + src/hotspot/share/runtime/os.cpp | 9 +- + src/hotspot/share/runtime/sharedRuntime.cpp | 8 +- + .../share/runtime/sharedRuntimeTrig.cpp | 15 + + src/hotspot/share/runtime/thread.inline.hpp | 10 +- + src/hotspot/share/runtime/vmStructs.cpp | 7 + + src/hotspot/share/utilities/macros.hpp | 56 + + .../native/libsaproc/LinuxDebuggerLocal.cpp | 28 +- + .../linux/native/libsaproc/libproc.h | 13 +- + .../linux/native/libsaproc/ps_proc.c | 8 +- + .../classes/sun/jvm/hotspot/HotSpotAgent.java | 12 + + .../MachineDescriptionLOONGARCH64.java | 41 + + .../debugger/MachineDescriptionMIPS64.java | 41 + + .../debugger/linux/LinuxCDebugger.java | 26 +- + .../linux/LinuxThreadContextFactory.java | 14 +- + .../loongarch64/LinuxLOONGARCH64CFrame.java | 92 + + .../LinuxLOONGARCH64ThreadContext.java | 47 + + .../linux/mips64/LinuxMIPS64CFrame.java | 80 + + .../mips64/LinuxMIPS64ThreadContext.java | 47 + + .../loongarch64/LOONGARCH64ThreadContext.java | 128 + + .../debugger/mips64/MIPS64ThreadContext.java | 128 + + .../hotspot/debugger/posix/elf/ELFHeader.java | 8 + + .../loongarch64/ProcLOONGARCH64Thread.java | 92 + + .../ProcLOONGARCH64ThreadContext.java | 47 + + .../ProcLOONGARCH64ThreadFactory.java | 45 + + .../proc/mips64/ProcMIPS64Thread.java | 92 + + .../proc/mips64/ProcMIPS64ThreadContext.java | 47 + + .../proc/mips64/ProcMIPS64ThreadFactory.java | 45 + + .../debugger/remote/RemoteDebuggerClient.java | 18 + + .../loongarch64/RemoteLOONGARCH64Thread.java | 54 + + .../RemoteLOONGARCH64ThreadContext.java | 51 + + .../RemoteLOONGARCH64ThreadFactory.java | 45 + + .../remote/mips64/RemoteMIPS64Thread.java | 54 + + .../mips64/RemoteMIPS64ThreadContext.java | 51 + + .../mips64/RemoteMIPS64ThreadFactory.java | 45 + + .../sun/jvm/hotspot/runtime/Threads.java | 12 + + .../LinuxLOONGARCH64JavaThreadPDAccess.java | 135 + + .../LinuxMIPS64JavaThreadPDAccess.java | 135 + + .../LOONGARCH64CurrentFrameGuess.java | 250 + + .../runtime/loongarch64/LOONGARCH64Frame.java | 519 + + .../LOONGARCH64JavaCallWrapper.java | 59 + + .../loongarch64/LOONGARCH64RegisterMap.java | 52 + + .../mips64/MIPS64CurrentFrameGuess.java | 217 + + .../hotspot/runtime/mips64/MIPS64Frame.java | 539 + + .../runtime/mips64/MIPS64JavaCallWrapper.java | 59 + + .../runtime/mips64/MIPS64RegisterMap.java | 52 + + .../jvm/hotspot/utilities/PlatformInfo.java | 15 +- + ...LoongArch64HotSpotJVMCIBackendFactory.java | 142 + + .../LoongArch64HotSpotRegisterConfig.java | 297 + + .../LoongArch64HotSpotVMConfig.java | 77 + + .../ci/hotspot/loongarch64/package-info.java | 28 + + .../jdk/vm/ci/loongarch64/LoongArch64.java | 249 + + .../vm/ci/loongarch64/LoongArch64Kind.java | 163 + + .../jdk/vm/ci/loongarch64/package-info.java | 28 + + .../share/classes/module-info.java | 7 + + src/utils/hsdis/Makefile | 3 + + .../TestAESIntrinsicsOnSupportedConfig.java | 8 +- + .../TestAESIntrinsicsOnUnsupportedConfig.java | 8 +- + .../testcases/GenericTestCaseForOtherCPU.java | 13 +- + .../vm/ci/code/test/CodeInstallationTest.java | 11 + + .../jdk/vm/ci/code/test/DataPatchTest.java | 11 +- + .../code/test/InterpreterFrameSizeTest.java | 11 +- + .../code/test/MaxOopMapStackOffsetTest.java | 11 +- + .../jdk/vm/ci/code/test/NativeCallTest.java | 11 +- + .../code/test/SimpleCodeInstallationTest.java | 11 +- + .../vm/ci/code/test/SimpleDebugInfoTest.java | 11 +- + .../code/test/VirtualObjectDebugInfoTest.java | 11 +- + .../loongarch64/LoongArch64TestAssembler.java | 568 + + .../compiler/lib/ir_framework/IRNode.java | 10 +- + .../runtime/TestConstantsInError.java | 12 +- + .../argumentcorruption/CheckLongArgs.java | 7 + + .../criticalnatives/lookup/LookUp.java | 7 + + .../sha/predicate/IntrinsicPredicates.java | 17 +- + .../ReservedStack/ReservedStackTest.java | 9 +- + .../ir_framework/tests/TestIRMatching.java | 8 +- + .../nsk/share/jdi/ArgumentHandler.java | 178 +- + .../jdk/jfr/event/os/TestCPUInformation.java | 10 +- + ...stMutuallyExclusivePlatformPredicates.java | 8 +- + test/lib/jdk/test/lib/Platform.java | 14 + + 322 files changed, 118647 insertions(+), 189 deletions(-) + create mode 100644 src/hotspot/cpu/loongarch/abstractInterpreter_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/assembler_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/assembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/assembler_loongarch.inline.hpp + create mode 100644 src/hotspot/cpu/loongarch/bytes_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/c1_CodeStubs_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/c1_Defs_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/c1_FrameMap_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/c1_FrameMap_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/c1_LIRGenerator_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/c1_LIR_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/c1_LinearScan_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/c1_LinearScan_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/c1_Runtime1_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/c1_globals_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/c2_globals_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/c2_init_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/c2_safepointPollStubTable_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/codeBuffer_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/compiledIC_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/copy_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/disassembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/foreign_globals_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/foreign_globals_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/frame_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/frame_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/frame_loongarch.inline.hpp + create mode 100644 src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/gc/g1/g1Globals_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/gc/shared/barrierSetNMethod_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/gc/shenandoah/c1/shenandoahBarrierSetC1_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/gc/shenandoah/shenandoah_loongarch_64.ad + create mode 100644 src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/gc/z/z_loongarch_64.ad + create mode 100644 src/hotspot/cpu/loongarch/globalDefinitions_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/globals_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/icBuffer_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/icache_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/icache_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/interp_masm_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/interp_masm_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/interpreterRT_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/interpreterRT_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/javaFrameAnchor_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/jniFastGetField_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/jniTypes_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/jvmciCodeInstaller_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/loongarch.ad + create mode 100644 src/hotspot/cpu/loongarch/loongarch_64.ad + create mode 100644 src/hotspot/cpu/loongarch/macroAssembler_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/macroAssembler_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/macroAssembler_loongarch.inline.hpp + create mode 100644 src/hotspot/cpu/loongarch/macroAssembler_loongarch_trig.cpp + create mode 100644 src/hotspot/cpu/loongarch/matcher_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/methodHandles_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/methodHandles_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/nativeInst_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/nativeInst_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/registerMap_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/register_definitions_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/register_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/register_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/relocInfo_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/relocInfo_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/runtime_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/sharedRuntime_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/stubGenerator_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/stubRoutines_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/stubRoutines_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/templateInterpreterGenerator_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/templateTable_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/templateTable_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/universalNativeInvoker_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/universalUpcallHandler_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/loongarch/vmStructs_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/vm_version_ext_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/vm_version_ext_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/vm_version_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/vm_version_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/vmreg_loongarch.cpp + create mode 100644 src/hotspot/cpu/loongarch/vmreg_loongarch.hpp + create mode 100644 src/hotspot/cpu/loongarch/vmreg_loongarch.inline.hpp + create mode 100644 src/hotspot/cpu/loongarch/vtableStubs_loongarch_64.cpp + create mode 100644 src/hotspot/cpu/mips/abstractInterpreter_mips.cpp + create mode 100644 src/hotspot/cpu/mips/assembler_mips.cpp + create mode 100644 src/hotspot/cpu/mips/assembler_mips.hpp + create mode 100644 src/hotspot/cpu/mips/assembler_mips.inline.hpp + create mode 100644 src/hotspot/cpu/mips/bytes_mips.hpp + create mode 100644 src/hotspot/cpu/mips/c2_MacroAssembler_mips.cpp + create mode 100644 src/hotspot/cpu/mips/c2_MacroAssembler_mips.hpp + create mode 100644 src/hotspot/cpu/mips/c2_globals_mips.hpp + create mode 100644 src/hotspot/cpu/mips/c2_init_mips.cpp + create mode 100644 src/hotspot/cpu/mips/codeBuffer_mips.hpp + create mode 100644 src/hotspot/cpu/mips/compiledIC_mips.cpp + create mode 100644 src/hotspot/cpu/mips/copy_mips.hpp + create mode 100644 src/hotspot/cpu/mips/depChecker_mips.cpp + create mode 100644 src/hotspot/cpu/mips/depChecker_mips.hpp + create mode 100644 src/hotspot/cpu/mips/disassembler_mips.hpp + create mode 100644 src/hotspot/cpu/mips/foreign_globals_mips.cpp + create mode 100644 src/hotspot/cpu/mips/foreign_globals_mips.hpp + create mode 100644 src/hotspot/cpu/mips/frame_mips.cpp + create mode 100644 src/hotspot/cpu/mips/frame_mips.hpp + create mode 100644 src/hotspot/cpu/mips/frame_mips.inline.hpp + create mode 100644 src/hotspot/cpu/mips/gc/g1/g1BarrierSetAssembler_mips.cpp + create mode 100644 src/hotspot/cpu/mips/gc/g1/g1BarrierSetAssembler_mips.hpp + create mode 100644 src/hotspot/cpu/mips/gc/g1/g1Globals_mips.hpp + create mode 100644 src/hotspot/cpu/mips/gc/shared/barrierSetAssembler_mips.cpp + create mode 100644 src/hotspot/cpu/mips/gc/shared/barrierSetAssembler_mips.hpp + create mode 100644 src/hotspot/cpu/mips/gc/shared/barrierSetNMethod_mips.cpp + create mode 100644 src/hotspot/cpu/mips/gc/shared/cardTableBarrierSetAssembler_mips.cpp + create mode 100644 src/hotspot/cpu/mips/gc/shared/cardTableBarrierSetAssembler_mips.hpp + create mode 100644 src/hotspot/cpu/mips/gc/shared/modRefBarrierSetAssembler_mips.cpp + create mode 100644 src/hotspot/cpu/mips/gc/shared/modRefBarrierSetAssembler_mips.hpp + create mode 100644 src/hotspot/cpu/mips/globalDefinitions_mips.hpp + create mode 100644 src/hotspot/cpu/mips/globals_mips.hpp + create mode 100644 src/hotspot/cpu/mips/icBuffer_mips.cpp + create mode 100644 src/hotspot/cpu/mips/icache_mips.cpp + create mode 100644 src/hotspot/cpu/mips/icache_mips.hpp + create mode 100644 src/hotspot/cpu/mips/interp_masm_mips.hpp + create mode 100644 src/hotspot/cpu/mips/interp_masm_mips_64.cpp + create mode 100644 src/hotspot/cpu/mips/interpreterRT_mips.hpp + create mode 100644 src/hotspot/cpu/mips/interpreterRT_mips_64.cpp + create mode 100644 src/hotspot/cpu/mips/javaFrameAnchor_mips.hpp + create mode 100644 src/hotspot/cpu/mips/jniFastGetField_mips_64.cpp + create mode 100644 src/hotspot/cpu/mips/jniTypes_mips.hpp + create mode 100644 src/hotspot/cpu/mips/macroAssembler_mips.cpp + create mode 100644 src/hotspot/cpu/mips/macroAssembler_mips.hpp + create mode 100644 src/hotspot/cpu/mips/macroAssembler_mips.inline.hpp + create mode 100644 src/hotspot/cpu/mips/matcher_mips.hpp + create mode 100644 src/hotspot/cpu/mips/methodHandles_mips.cpp + create mode 100644 src/hotspot/cpu/mips/methodHandles_mips.hpp + create mode 100644 src/hotspot/cpu/mips/mips.ad + create mode 100644 src/hotspot/cpu/mips/mips_64.ad + create mode 100644 src/hotspot/cpu/mips/nativeInst_mips.cpp + create mode 100644 src/hotspot/cpu/mips/nativeInst_mips.hpp + create mode 100644 src/hotspot/cpu/mips/registerMap_mips.hpp + create mode 100644 src/hotspot/cpu/mips/register_definitions_mips.cpp + create mode 100644 src/hotspot/cpu/mips/register_mips.cpp + create mode 100644 src/hotspot/cpu/mips/register_mips.hpp + create mode 100644 src/hotspot/cpu/mips/relocInfo_mips.cpp + create mode 100644 src/hotspot/cpu/mips/relocInfo_mips.hpp + create mode 100644 src/hotspot/cpu/mips/runtime_mips_64.cpp + create mode 100644 src/hotspot/cpu/mips/sharedRuntime_mips_64.cpp + create mode 100644 src/hotspot/cpu/mips/stubGenerator_mips_64.cpp + create mode 100644 src/hotspot/cpu/mips/stubRoutines_mips.hpp + create mode 100644 src/hotspot/cpu/mips/stubRoutines_mips_64.cpp + create mode 100644 src/hotspot/cpu/mips/templateInterpreterGenerator_mips.cpp + create mode 100644 src/hotspot/cpu/mips/templateTable_mips.hpp + create mode 100644 src/hotspot/cpu/mips/templateTable_mips_64.cpp + create mode 100644 src/hotspot/cpu/mips/universalNativeInvoker_mips_64.cpp + create mode 100644 src/hotspot/cpu/mips/universalUpcallHandler_mips_64.cpp + create mode 100644 src/hotspot/cpu/mips/vmStructs_mips.hpp + create mode 100644 src/hotspot/cpu/mips/vm_version_ext_mips.cpp + create mode 100644 src/hotspot/cpu/mips/vm_version_ext_mips.hpp + create mode 100644 src/hotspot/cpu/mips/vm_version_mips.cpp + create mode 100644 src/hotspot/cpu/mips/vm_version_mips.hpp + create mode 100644 src/hotspot/cpu/mips/vmreg_mips.cpp + create mode 100644 src/hotspot/cpu/mips/vmreg_mips.hpp + create mode 100644 src/hotspot/cpu/mips/vmreg_mips.inline.hpp + create mode 100644 src/hotspot/cpu/mips/vtableStubs_mips_64.cpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/assembler_linux_loongarch.cpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/atomic_linux_loongarch.hpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/bytes_linux_loongarch.inline.hpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/copy_linux_loongarch.inline.hpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/gc/z/zSyscall_linux_loongarch.hpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/globals_linux_loongarch.hpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/linux_loongarch.s + create mode 100644 src/hotspot/os_cpu/linux_loongarch/orderAccess_linux_loongarch.hpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.cpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.hpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/prefetch_linux_loongarch.inline.hpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/safefetch_linux_loongarch64.S + create mode 100644 src/hotspot/os_cpu/linux_loongarch/thread_linux_loongarch.cpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/thread_linux_loongarch.hpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/vmStructs_linux_loongarch.hpp + create mode 100644 src/hotspot/os_cpu/linux_loongarch/vm_version_linux_loongarch.cpp + create mode 100644 src/hotspot/os_cpu/linux_mips/assembler_linux_mips.cpp + create mode 100644 src/hotspot/os_cpu/linux_mips/atomic_linux_mips.hpp + create mode 100644 src/hotspot/os_cpu/linux_mips/bytes_linux_mips.inline.hpp + create mode 100644 src/hotspot/os_cpu/linux_mips/copy_linux_mips.inline.hpp + create mode 100644 src/hotspot/os_cpu/linux_mips/globals_linux_mips.hpp + create mode 100644 src/hotspot/os_cpu/linux_mips/linux_mips.s + create mode 100644 src/hotspot/os_cpu/linux_mips/orderAccess_linux_mips.hpp + create mode 100644 src/hotspot/os_cpu/linux_mips/os_linux_mips.cpp + create mode 100644 src/hotspot/os_cpu/linux_mips/os_linux_mips.hpp + create mode 100644 src/hotspot/os_cpu/linux_mips/prefetch_linux_mips.inline.hpp + create mode 100644 src/hotspot/os_cpu/linux_mips/safefetch_linux_mips64.S + create mode 100644 src/hotspot/os_cpu/linux_mips/thread_linux_mips.cpp + create mode 100644 src/hotspot/os_cpu/linux_mips/thread_linux_mips.hpp + create mode 100644 src/hotspot/os_cpu/linux_mips/vmStructs_linux_mips.hpp + create mode 100644 src/hotspot/os_cpu/linux_mips/vm_version_linux_mips.cpp + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionLOONGARCH64.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionMIPS64.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64CFrame.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64ThreadContext.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/mips64/LinuxMIPS64CFrame.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/mips64/LinuxMIPS64ThreadContext.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/loongarch64/LOONGARCH64ThreadContext.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/mips64/MIPS64ThreadContext.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64Thread.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64ThreadContext.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64ThreadFactory.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64Thread.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64ThreadContext.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64ThreadFactory.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64Thread.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadContext.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadFactory.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64Thread.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64ThreadContext.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64ThreadFactory.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_loongarch64/LinuxLOONGARCH64JavaThreadPDAccess.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_mips64/LinuxMIPS64JavaThreadPDAccess.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64CurrentFrameGuess.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64Frame.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64JavaCallWrapper.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64RegisterMap.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64CurrentFrameGuess.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64Frame.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64JavaCallWrapper.java + create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64RegisterMap.java + create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotJVMCIBackendFactory.java + create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotRegisterConfig.java + create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotVMConfig.java + create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/package-info.java + create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64.java + create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64Kind.java + create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/package-info.java + create mode 100644 test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/loongarch64/LoongArch64TestAssembler.java + diff --git a/make/autoconf/jvm-features.m4 b/make/autoconf/jvm-features.m4 -index aa99b037b2b..d0c3a85757b 100644 +index aa99b037b..d0c3a8575 100644 --- a/make/autoconf/jvm-features.m4 +++ b/make/autoconf/jvm-features.m4 @@ -23,6 +23,12 @@ @@ -81,7 +660,7 @@ index aa99b037b2b..d0c3a85757b 100644 JVM_FEATURES_CHECK_JFR JVM_FEATURES_CHECK_JVMCI diff --git a/make/autoconf/platform.m4 b/make/autoconf/platform.m4 -index eb66266262b..931434c4e7b 100644 +index eb6626626..931434c4e 100644 --- a/make/autoconf/platform.m4 +++ b/make/autoconf/platform.m4 @@ -23,6 +23,12 @@ @@ -139,7 +718,7 @@ index eb66266262b..931434c4e7b 100644 elif test "x$OPENJDK_$1_CPU" = xsparc; then diff --git a/src/hotspot/cpu/loongarch/abstractInterpreter_loongarch.cpp b/src/hotspot/cpu/loongarch/abstractInterpreter_loongarch.cpp new file mode 100644 -index 00000000000..fbcd4050b64 +index 000000000..fbcd4050b --- /dev/null +++ b/src/hotspot/cpu/loongarch/abstractInterpreter_loongarch.cpp @@ -0,0 +1,133 @@ @@ -278,7 +857,7 @@ index 00000000000..fbcd4050b64 + diff --git a/src/hotspot/cpu/loongarch/assembler_loongarch.cpp b/src/hotspot/cpu/loongarch/assembler_loongarch.cpp new file mode 100644 -index 00000000000..e6e62cccad0 +index 000000000..e6e62ccca --- /dev/null +++ b/src/hotspot/cpu/loongarch/assembler_loongarch.cpp @@ -0,0 +1,849 @@ @@ -1133,7 +1712,7 @@ index 00000000000..e6e62cccad0 +} diff --git a/src/hotspot/cpu/loongarch/assembler_loongarch.hpp b/src/hotspot/cpu/loongarch/assembler_loongarch.hpp new file mode 100644 -index 00000000000..5eae8b9995c +index 000000000..5eae8b999 --- /dev/null +++ b/src/hotspot/cpu/loongarch/assembler_loongarch.hpp @@ -0,0 +1,2831 @@ @@ -3970,7 +4549,7 @@ index 00000000000..5eae8b9995c +#endif // CPU_LOONGARCH_ASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/assembler_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/assembler_loongarch.inline.hpp new file mode 100644 -index 00000000000..9ca0cd45047 +index 000000000..9ca0cd450 --- /dev/null +++ b/src/hotspot/cpu/loongarch/assembler_loongarch.inline.hpp @@ -0,0 +1,33 @@ @@ -4009,7 +4588,7 @@ index 00000000000..9ca0cd45047 +#endif // CPU_LOONGARCH_ASSEMBLER_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/bytes_loongarch.hpp b/src/hotspot/cpu/loongarch/bytes_loongarch.hpp new file mode 100644 -index 00000000000..c15344eb390 +index 000000000..c15344eb3 --- /dev/null +++ b/src/hotspot/cpu/loongarch/bytes_loongarch.hpp @@ -0,0 +1,73 @@ @@ -4088,7 +4667,7 @@ index 00000000000..c15344eb390 +#endif // CPU_LOONGARCH_BYTES_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_CodeStubs_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_CodeStubs_loongarch_64.cpp new file mode 100644 -index 00000000000..663a9aec2a9 +index 000000000..663a9aec2 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_CodeStubs_loongarch_64.cpp @@ -0,0 +1,360 @@ @@ -4454,7 +5033,7 @@ index 00000000000..663a9aec2a9 +#undef __ diff --git a/src/hotspot/cpu/loongarch/c1_Defs_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_Defs_loongarch.hpp new file mode 100644 -index 00000000000..1140e44431d +index 000000000..1140e4443 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_Defs_loongarch.hpp @@ -0,0 +1,79 @@ @@ -4539,7 +5118,7 @@ index 00000000000..1140e44431d +#endif // CPU_LOONGARCH_C1_DEFS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch.hpp new file mode 100644 -index 00000000000..047412d036a +index 000000000..047412d03 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch.hpp @@ -0,0 +1,32 @@ @@ -4577,7 +5156,7 @@ index 00000000000..047412d036a +#endif // CPU_LOONGARCH_C1_FPUSTACKSIM_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch_64.cpp new file mode 100644 -index 00000000000..1a89c437a83 +index 000000000..1a89c437a --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch_64.cpp @@ -0,0 +1,31 @@ @@ -4614,7 +5193,7 @@ index 00000000000..1a89c437a83 +#include "precompiled.hpp" diff --git a/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch.hpp new file mode 100644 -index 00000000000..4f0cf053617 +index 000000000..4f0cf0536 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch.hpp @@ -0,0 +1,143 @@ @@ -4763,7 +5342,7 @@ index 00000000000..4f0cf053617 +#endif // CPU_LOONGARCH_C1_FRAMEMAP_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch_64.cpp new file mode 100644 -index 00000000000..8d439fda060 +index 000000000..8d439fda0 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch_64.cpp @@ -0,0 +1,362 @@ @@ -5131,7 +5710,7 @@ index 00000000000..8d439fda060 +} diff --git a/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch.hpp new file mode 100644 -index 00000000000..baadeebb243 +index 000000000..baadeebb2 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch.hpp @@ -0,0 +1,84 @@ @@ -5221,7 +5800,7 @@ index 00000000000..baadeebb243 +#endif // CPU_LOONGARCH_C1_LIRASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch_64.cpp new file mode 100644 -index 00000000000..cde86e3b3a1 +index 000000000..cde86e3b3 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch_64.cpp @@ -0,0 +1,3402 @@ @@ -8629,7 +9208,7 @@ index 00000000000..cde86e3b3a1 +#undef __ diff --git a/src/hotspot/cpu/loongarch/c1_LIRGenerator_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_LIRGenerator_loongarch_64.cpp new file mode 100644 -index 00000000000..28298dcc375 +index 000000000..28298dcc3 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LIRGenerator_loongarch_64.cpp @@ -0,0 +1,1386 @@ @@ -10021,7 +10600,7 @@ index 00000000000..28298dcc375 +} diff --git a/src/hotspot/cpu/loongarch/c1_LIR_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_LIR_loongarch_64.cpp new file mode 100644 -index 00000000000..01e8c9f270e +index 000000000..01e8c9f27 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LIR_loongarch_64.cpp @@ -0,0 +1,57 @@ @@ -10084,7 +10663,7 @@ index 00000000000..01e8c9f270e +#endif // PRODUCT diff --git a/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch.hpp new file mode 100644 -index 00000000000..f15dacafeba +index 000000000..f15dacafe --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch.hpp @@ -0,0 +1,70 @@ @@ -10160,7 +10739,7 @@ index 00000000000..f15dacafeba +#endif // CPU_LOONGARCH_C1_LINEARSCAN_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch_64.cpp new file mode 100644 -index 00000000000..219b2e3671c +index 000000000..219b2e367 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch_64.cpp @@ -0,0 +1,33 @@ @@ -10199,7 +10778,7 @@ index 00000000000..219b2e3671c +} diff --git a/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch.hpp new file mode 100644 -index 00000000000..38ff4c58369 +index 000000000..38ff4c583 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch.hpp @@ -0,0 +1,112 @@ @@ -10317,7 +10896,7 @@ index 00000000000..38ff4c58369 +#endif // CPU_LOONGARCH_C1_MACROASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch_64.cpp new file mode 100644 -index 00000000000..0221951342a +index 000000000..022195134 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch_64.cpp @@ -0,0 +1,365 @@ @@ -10688,7 +11267,7 @@ index 00000000000..0221951342a +#endif // ifndef PRODUCT diff --git a/src/hotspot/cpu/loongarch/c1_Runtime1_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_Runtime1_loongarch_64.cpp new file mode 100644 -index 00000000000..87da18e294a +index 000000000..87da18e29 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_Runtime1_loongarch_64.cpp @@ -0,0 +1,1148 @@ @@ -11842,7 +12421,7 @@ index 00000000000..87da18e294a +} diff --git a/src/hotspot/cpu/loongarch/c1_globals_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_globals_loongarch.hpp new file mode 100644 -index 00000000000..ce84af28c9b +index 000000000..ce84af28c --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_globals_loongarch.hpp @@ -0,0 +1,65 @@ @@ -11913,7 +12492,7 @@ index 00000000000..ce84af28c9b +#endif // CPU_LOONGARCH_C1_GLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.cpp new file mode 100644 -index 00000000000..0c91c74d63e +index 000000000..0c91c74d6 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.cpp @@ -0,0 +1,1872 @@ @@ -13791,7 +14370,7 @@ index 00000000000..0c91c74d63e +} diff --git a/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.hpp new file mode 100644 -index 00000000000..2babade2e22 +index 000000000..2babade2e --- /dev/null +++ b/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.hpp @@ -0,0 +1,144 @@ @@ -13941,7 +14520,7 @@ index 00000000000..2babade2e22 +#endif // CPU_LOONGARCH_C2_MACROASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c2_globals_loongarch.hpp b/src/hotspot/cpu/loongarch/c2_globals_loongarch.hpp new file mode 100644 -index 00000000000..0e40e2ca7cf +index 000000000..0e40e2ca7 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c2_globals_loongarch.hpp @@ -0,0 +1,90 @@ @@ -14037,7 +14616,7 @@ index 00000000000..0e40e2ca7cf +#endif // CPU_LOONGARCH_C2_GLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c2_init_loongarch.cpp b/src/hotspot/cpu/loongarch/c2_init_loongarch.cpp new file mode 100644 -index 00000000000..ec78b942d40 +index 000000000..ec78b942d --- /dev/null +++ b/src/hotspot/cpu/loongarch/c2_init_loongarch.cpp @@ -0,0 +1,37 @@ @@ -14080,7 +14659,7 @@ index 00000000000..ec78b942d40 +} diff --git a/src/hotspot/cpu/loongarch/c2_safepointPollStubTable_loongarch.cpp b/src/hotspot/cpu/loongarch/c2_safepointPollStubTable_loongarch.cpp new file mode 100644 -index 00000000000..866858b26b8 +index 000000000..866858b26 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c2_safepointPollStubTable_loongarch.cpp @@ -0,0 +1,50 @@ @@ -14136,7 +14715,7 @@ index 00000000000..866858b26b8 +#undef __ diff --git a/src/hotspot/cpu/loongarch/codeBuffer_loongarch.hpp b/src/hotspot/cpu/loongarch/codeBuffer_loongarch.hpp new file mode 100644 -index 00000000000..653d95806bf +index 000000000..653d95806 --- /dev/null +++ b/src/hotspot/cpu/loongarch/codeBuffer_loongarch.hpp @@ -0,0 +1,35 @@ @@ -14177,7 +14756,7 @@ index 00000000000..653d95806bf +#endif // CPU_LOONGARCH_CODEBUFFER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/compiledIC_loongarch.cpp b/src/hotspot/cpu/loongarch/compiledIC_loongarch.cpp new file mode 100644 -index 00000000000..b3f70a1665b +index 000000000..b3f70a166 --- /dev/null +++ b/src/hotspot/cpu/loongarch/compiledIC_loongarch.cpp @@ -0,0 +1,144 @@ @@ -14327,7 +14906,7 @@ index 00000000000..b3f70a1665b +#endif // !PRODUCT diff --git a/src/hotspot/cpu/loongarch/copy_loongarch.hpp b/src/hotspot/cpu/loongarch/copy_loongarch.hpp new file mode 100644 -index 00000000000..54b847a7369 +index 000000000..54b847a73 --- /dev/null +++ b/src/hotspot/cpu/loongarch/copy_loongarch.hpp @@ -0,0 +1,77 @@ @@ -14410,7 +14989,7 @@ index 00000000000..54b847a7369 +#endif //CPU_LOONGARCH_COPY_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/disassembler_loongarch.hpp b/src/hotspot/cpu/loongarch/disassembler_loongarch.hpp new file mode 100644 -index 00000000000..fd176c8f056 +index 000000000..fd176c8f0 --- /dev/null +++ b/src/hotspot/cpu/loongarch/disassembler_loongarch.hpp @@ -0,0 +1,57 @@ @@ -14473,7 +15052,7 @@ index 00000000000..fd176c8f056 +#endif // CPU_LOONGARCH_DISASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/foreign_globals_loongarch.cpp b/src/hotspot/cpu/loongarch/foreign_globals_loongarch.cpp new file mode 100644 -index 00000000000..fb4647c2723 +index 000000000..fb4647c27 --- /dev/null +++ b/src/hotspot/cpu/loongarch/foreign_globals_loongarch.cpp @@ -0,0 +1,42 @@ @@ -14521,7 +15100,7 @@ index 00000000000..fb4647c2723 +} diff --git a/src/hotspot/cpu/loongarch/foreign_globals_loongarch.hpp b/src/hotspot/cpu/loongarch/foreign_globals_loongarch.hpp new file mode 100644 -index 00000000000..680a27363ec +index 000000000..680a27363 --- /dev/null +++ b/src/hotspot/cpu/loongarch/foreign_globals_loongarch.hpp @@ -0,0 +1,31 @@ @@ -14558,7 +15137,7 @@ index 00000000000..680a27363ec +#endif // CPU_LOONGARCH_FOREIGN_GLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/frame_loongarch.cpp b/src/hotspot/cpu/loongarch/frame_loongarch.cpp new file mode 100644 -index 00000000000..1aba8e4dd27 +index 000000000..1aba8e4dd --- /dev/null +++ b/src/hotspot/cpu/loongarch/frame_loongarch.cpp @@ -0,0 +1,668 @@ @@ -15232,7 +15811,7 @@ index 00000000000..1aba8e4dd27 +#endif diff --git a/src/hotspot/cpu/loongarch/frame_loongarch.hpp b/src/hotspot/cpu/loongarch/frame_loongarch.hpp new file mode 100644 -index 00000000000..738b5306366 +index 000000000..738b53063 --- /dev/null +++ b/src/hotspot/cpu/loongarch/frame_loongarch.hpp @@ -0,0 +1,162 @@ @@ -15400,7 +15979,7 @@ index 00000000000..738b5306366 +#endif // CPU_LOONGARCH_FRAME_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/frame_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/frame_loongarch.inline.hpp new file mode 100644 -index 00000000000..8b0e0502701 +index 000000000..8b0e05027 --- /dev/null +++ b/src/hotspot/cpu/loongarch/frame_loongarch.inline.hpp @@ -0,0 +1,245 @@ @@ -15651,7 +16230,7 @@ index 00000000000..8b0e0502701 +#endif // CPU_LOONGARCH_FRAME_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..e129264506b +index 000000000..e12926450 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.cpp @@ -0,0 +1,532 @@ @@ -16189,7 +16768,7 @@ index 00000000000..e129264506b +#endif // COMPILER1 diff --git a/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..745046ac0cc +index 000000000..745046ac0 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.hpp @@ -0,0 +1,71 @@ @@ -16266,7 +16845,7 @@ index 00000000000..745046ac0cc +#endif // CPU_LOONGARCH_GC_G1_G1BARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/g1/g1Globals_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/g1/g1Globals_loongarch.hpp new file mode 100644 -index 00000000000..44b7ff1485f +index 000000000..44b7ff148 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/g1/g1Globals_loongarch.hpp @@ -0,0 +1,30 @@ @@ -16302,7 +16881,7 @@ index 00000000000..44b7ff1485f +#endif // CPU_LOONGARCH_GC_G1_G1GLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..4706559a837 +index 000000000..4706559a8 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.cpp @@ -0,0 +1,320 @@ @@ -16628,7 +17207,7 @@ index 00000000000..4706559a837 + diff --git a/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..f87c2061132 +index 000000000..f87c20611 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.hpp @@ -0,0 +1,93 @@ @@ -16727,7 +17306,7 @@ index 00000000000..f87c2061132 +#endif // CPU_LOONGARCH_GC_SHARED_BARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/shared/barrierSetNMethod_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shared/barrierSetNMethod_loongarch.cpp new file mode 100644 -index 00000000000..65cee60f69d +index 000000000..65cee60f6 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/barrierSetNMethod_loongarch.cpp @@ -0,0 +1,157 @@ @@ -16890,7 +17469,7 @@ index 00000000000..65cee60f69d +} diff --git a/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..96dc9562a02 +index 000000000..96dc9562a --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.cpp @@ -0,0 +1,119 @@ @@ -17015,7 +17594,7 @@ index 00000000000..96dc9562a02 +} diff --git a/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..7d628ca6a85 +index 000000000..7d628ca6a --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.hpp @@ -0,0 +1,44 @@ @@ -17065,7 +17644,7 @@ index 00000000000..7d628ca6a85 +#endif // CPU_LOONGARCH_GC_SHARED_CARDTABLEBARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..71c3cb49386 +index 000000000..71c3cb493 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.cpp @@ -0,0 +1,53 @@ @@ -17124,7 +17703,7 @@ index 00000000000..71c3cb49386 +} diff --git a/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..086bdebb506 +index 000000000..086bdebb5 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.hpp @@ -0,0 +1,54 @@ @@ -17184,7 +17763,7 @@ index 00000000000..086bdebb506 +#endif // CPU_LOONGARCH_GC_SHARED_MODREFBARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/shenandoah/c1/shenandoahBarrierSetC1_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shenandoah/c1/shenandoahBarrierSetC1_loongarch.cpp new file mode 100644 -index 00000000000..f82a2500d41 +index 000000000..f82a2500d --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shenandoah/c1/shenandoahBarrierSetC1_loongarch.cpp @@ -0,0 +1,130 @@ @@ -17320,7 +17899,7 @@ index 00000000000..f82a2500d41 +} diff --git a/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..e90623fe989 +index 000000000..e90623fe9 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.cpp @@ -0,0 +1,784 @@ @@ -18110,7 +18689,7 @@ index 00000000000..e90623fe989 +#endif // COMPILER1 diff --git a/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..e2c862f6c5c +index 000000000..e2c862f6c --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.hpp @@ -0,0 +1,85 @@ @@ -18201,7 +18780,7 @@ index 00000000000..e2c862f6c5c +#endif // CPU_LOONGARCH_GC_SHENANDOAH_SHENANDOAHBARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoah_loongarch_64.ad b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoah_loongarch_64.ad new file mode 100644 -index 00000000000..04f67d23157 +index 000000000..04f67d231 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoah_loongarch_64.ad @@ -0,0 +1,222 @@ @@ -18429,7 +19008,7 @@ index 00000000000..04f67d23157 +%} diff --git a/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..372d80cf11b +index 000000000..372d80cf1 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.cpp @@ -0,0 +1,462 @@ @@ -18897,7 +19476,7 @@ index 00000000000..372d80cf11b +#endif // COMPILER2 diff --git a/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..6a96d6fdd60 +index 000000000..6a96d6fdd --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.hpp @@ -0,0 +1,101 @@ @@ -19004,7 +19583,7 @@ index 00000000000..6a96d6fdd60 +#endif // CPU_LOONGARCH_GC_Z_ZBARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.cpp new file mode 100644 -index 00000000000..85db1cf1854 +index 000000000..85db1cf18 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.cpp @@ -0,0 +1,211 @@ @@ -19221,7 +19800,7 @@ index 00000000000..85db1cf1854 +} diff --git a/src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.hpp new file mode 100644 -index 00000000000..542fd267434 +index 000000000..542fd2674 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.hpp @@ -0,0 +1,35 @@ @@ -19262,7 +19841,7 @@ index 00000000000..542fd267434 +#endif // CPU_LOONGARCH_GC_Z_ZGLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/z/z_loongarch_64.ad b/src/hotspot/cpu/loongarch/gc/z/z_loongarch_64.ad new file mode 100644 -index 00000000000..262cfd50b65 +index 000000000..262cfd50b --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/z_loongarch_64.ad @@ -0,0 +1,273 @@ @@ -19541,7 +20120,7 @@ index 00000000000..262cfd50b65 +%} diff --git a/src/hotspot/cpu/loongarch/globalDefinitions_loongarch.hpp b/src/hotspot/cpu/loongarch/globalDefinitions_loongarch.hpp new file mode 100644 -index 00000000000..363cd6e2092 +index 000000000..363cd6e20 --- /dev/null +++ b/src/hotspot/cpu/loongarch/globalDefinitions_loongarch.hpp @@ -0,0 +1,55 @@ @@ -19602,7 +20181,7 @@ index 00000000000..363cd6e2092 +#endif // CPU_LOONGARCH_GLOBALDEFINITIONS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/globals_loongarch.hpp b/src/hotspot/cpu/loongarch/globals_loongarch.hpp new file mode 100644 -index 00000000000..2358ca31596 +index 000000000..2358ca315 --- /dev/null +++ b/src/hotspot/cpu/loongarch/globals_loongarch.hpp @@ -0,0 +1,106 @@ @@ -19714,7 +20293,7 @@ index 00000000000..2358ca31596 +#endif // CPU_LOONGARCH_GLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/icBuffer_loongarch.cpp b/src/hotspot/cpu/loongarch/icBuffer_loongarch.cpp new file mode 100644 -index 00000000000..a8f08bbf422 +index 000000000..a8f08bbf4 --- /dev/null +++ b/src/hotspot/cpu/loongarch/icBuffer_loongarch.cpp @@ -0,0 +1,100 @@ @@ -19820,7 +20399,7 @@ index 00000000000..a8f08bbf422 +} diff --git a/src/hotspot/cpu/loongarch/icache_loongarch.cpp b/src/hotspot/cpu/loongarch/icache_loongarch.cpp new file mode 100644 -index 00000000000..d577e41f59c +index 000000000..d577e41f5 --- /dev/null +++ b/src/hotspot/cpu/loongarch/icache_loongarch.cpp @@ -0,0 +1,42 @@ @@ -19868,7 +20447,7 @@ index 00000000000..d577e41f59c +} diff --git a/src/hotspot/cpu/loongarch/icache_loongarch.hpp b/src/hotspot/cpu/loongarch/icache_loongarch.hpp new file mode 100644 -index 00000000000..3a180549fc6 +index 000000000..3a180549f --- /dev/null +++ b/src/hotspot/cpu/loongarch/icache_loongarch.hpp @@ -0,0 +1,41 @@ @@ -19915,7 +20494,7 @@ index 00000000000..3a180549fc6 +#endif // CPU_LOONGARCH_ICACHE_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/interp_masm_loongarch.hpp b/src/hotspot/cpu/loongarch/interp_masm_loongarch.hpp new file mode 100644 -index 00000000000..7dea5deb183 +index 000000000..7dea5deb1 --- /dev/null +++ b/src/hotspot/cpu/loongarch/interp_masm_loongarch.hpp @@ -0,0 +1,270 @@ @@ -20191,7 +20770,7 @@ index 00000000000..7dea5deb183 +#endif // CPU_LOONGARCH_INTERP_MASM_LOONGARCH_64_HPP diff --git a/src/hotspot/cpu/loongarch/interp_masm_loongarch_64.cpp b/src/hotspot/cpu/loongarch/interp_masm_loongarch_64.cpp new file mode 100644 -index 00000000000..cb8ad8a359c +index 000000000..cb8ad8a35 --- /dev/null +++ b/src/hotspot/cpu/loongarch/interp_masm_loongarch_64.cpp @@ -0,0 +1,2042 @@ @@ -22239,7 +22818,7 @@ index 00000000000..cb8ad8a359c +} diff --git a/src/hotspot/cpu/loongarch/interpreterRT_loongarch.hpp b/src/hotspot/cpu/loongarch/interpreterRT_loongarch.hpp new file mode 100644 -index 00000000000..d53d951a160 +index 000000000..d53d951a1 --- /dev/null +++ b/src/hotspot/cpu/loongarch/interpreterRT_loongarch.hpp @@ -0,0 +1,62 @@ @@ -22307,7 +22886,7 @@ index 00000000000..d53d951a160 +#endif // CPU_LOONGARCH_INTERPRETERRT_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/interpreterRT_loongarch_64.cpp b/src/hotspot/cpu/loongarch/interpreterRT_loongarch_64.cpp new file mode 100644 -index 00000000000..85a199e760d +index 000000000..85a199e76 --- /dev/null +++ b/src/hotspot/cpu/loongarch/interpreterRT_loongarch_64.cpp @@ -0,0 +1,282 @@ @@ -22595,7 +23174,7 @@ index 00000000000..85a199e760d +JRT_END diff --git a/src/hotspot/cpu/loongarch/javaFrameAnchor_loongarch.hpp b/src/hotspot/cpu/loongarch/javaFrameAnchor_loongarch.hpp new file mode 100644 -index 00000000000..048107c2425 +index 000000000..048107c24 --- /dev/null +++ b/src/hotspot/cpu/loongarch/javaFrameAnchor_loongarch.hpp @@ -0,0 +1,87 @@ @@ -22688,7 +23267,7 @@ index 00000000000..048107c2425 +#endif // CPU_LOONGARCH_JAVAFRAMEANCHOR_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/jniFastGetField_loongarch_64.cpp b/src/hotspot/cpu/loongarch/jniFastGetField_loongarch_64.cpp new file mode 100644 -index 00000000000..5b08280921c +index 000000000..5b0828092 --- /dev/null +++ b/src/hotspot/cpu/loongarch/jniFastGetField_loongarch_64.cpp @@ -0,0 +1,197 @@ @@ -22891,7 +23470,7 @@ index 00000000000..5b08280921c +} diff --git a/src/hotspot/cpu/loongarch/jniTypes_loongarch.hpp b/src/hotspot/cpu/loongarch/jniTypes_loongarch.hpp new file mode 100644 -index 00000000000..0ee04e042b5 +index 000000000..0ee04e042 --- /dev/null +++ b/src/hotspot/cpu/loongarch/jniTypes_loongarch.hpp @@ -0,0 +1,143 @@ @@ -23040,7 +23619,7 @@ index 00000000000..0ee04e042b5 +#endif // CPU_LOONGARCH_JNITYPES_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/jvmciCodeInstaller_loongarch.cpp b/src/hotspot/cpu/loongarch/jvmciCodeInstaller_loongarch.cpp new file mode 100644 -index 00000000000..eb75830ec9c +index 000000000..eb75830ec --- /dev/null +++ b/src/hotspot/cpu/loongarch/jvmciCodeInstaller_loongarch.cpp @@ -0,0 +1,202 @@ @@ -23248,7 +23827,7 @@ index 00000000000..eb75830ec9c +} diff --git a/src/hotspot/cpu/loongarch/loongarch.ad b/src/hotspot/cpu/loongarch/loongarch.ad new file mode 100644 -index 00000000000..80dff0c7626 +index 000000000..80dff0c76 --- /dev/null +++ b/src/hotspot/cpu/loongarch/loongarch.ad @@ -0,0 +1,25 @@ @@ -23279,7 +23858,7 @@ index 00000000000..80dff0c7626 + diff --git a/src/hotspot/cpu/loongarch/loongarch_64.ad b/src/hotspot/cpu/loongarch/loongarch_64.ad new file mode 100644 -index 00000000000..7e01822e0e9 +index 000000000..7e01822e0 --- /dev/null +++ b/src/hotspot/cpu/loongarch/loongarch_64.ad @@ -0,0 +1,15689 @@ @@ -38974,7 +39553,7 @@ index 00000000000..7e01822e0e9 + diff --git a/src/hotspot/cpu/loongarch/macroAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.cpp new file mode 100644 -index 00000000000..06fbc181583 +index 000000000..06fbc1815 --- /dev/null +++ b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.cpp @@ -0,0 +1,3839 @@ @@ -42819,7 +43398,7 @@ index 00000000000..06fbc181583 +#endif diff --git a/src/hotspot/cpu/loongarch/macroAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.hpp new file mode 100644 -index 00000000000..204ca1a1a07 +index 000000000..204ca1a1a --- /dev/null +++ b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.hpp @@ -0,0 +1,754 @@ @@ -43579,7 +44158,7 @@ index 00000000000..204ca1a1a07 +#endif // CPU_LOONGARCH_MACROASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/macroAssembler_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.inline.hpp new file mode 100644 -index 00000000000..49302590c37 +index 000000000..49302590c --- /dev/null +++ b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.inline.hpp @@ -0,0 +1,34 @@ @@ -43619,7 +44198,7 @@ index 00000000000..49302590c37 +#endif // CPU_LOONGARCH_MACROASSEMBLER_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/macroAssembler_loongarch_trig.cpp b/src/hotspot/cpu/loongarch/macroAssembler_loongarch_trig.cpp new file mode 100644 -index 00000000000..9c74be2dbd3 +index 000000000..9c74be2db --- /dev/null +++ b/src/hotspot/cpu/loongarch/macroAssembler_loongarch_trig.cpp @@ -0,0 +1,1634 @@ @@ -45259,7 +45838,7 @@ index 00000000000..9c74be2dbd3 +} diff --git a/src/hotspot/cpu/loongarch/matcher_loongarch.hpp b/src/hotspot/cpu/loongarch/matcher_loongarch.hpp new file mode 100644 -index 00000000000..21a691b1faa +index 000000000..21a691b1f --- /dev/null +++ b/src/hotspot/cpu/loongarch/matcher_loongarch.hpp @@ -0,0 +1,145 @@ @@ -45410,7 +45989,7 @@ index 00000000000..21a691b1faa +#endif // CPU_LOONGARCH_MATCHER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/methodHandles_loongarch.cpp b/src/hotspot/cpu/loongarch/methodHandles_loongarch.cpp new file mode 100644 -index 00000000000..31b3040c3a5 +index 000000000..31b3040c3 --- /dev/null +++ b/src/hotspot/cpu/loongarch/methodHandles_loongarch.cpp @@ -0,0 +1,585 @@ @@ -46001,7 +46580,7 @@ index 00000000000..31b3040c3a5 +#endif //PRODUCT diff --git a/src/hotspot/cpu/loongarch/methodHandles_loongarch.hpp b/src/hotspot/cpu/loongarch/methodHandles_loongarch.hpp new file mode 100644 -index 00000000000..a97520ea768 +index 000000000..a97520ea7 --- /dev/null +++ b/src/hotspot/cpu/loongarch/methodHandles_loongarch.hpp @@ -0,0 +1,62 @@ @@ -46069,7 +46648,7 @@ index 00000000000..a97520ea768 + } diff --git a/src/hotspot/cpu/loongarch/nativeInst_loongarch.cpp b/src/hotspot/cpu/loongarch/nativeInst_loongarch.cpp new file mode 100644 -index 00000000000..25ef0ecd224 +index 000000000..25ef0ecd2 --- /dev/null +++ b/src/hotspot/cpu/loongarch/nativeInst_loongarch.cpp @@ -0,0 +1,529 @@ @@ -46604,7 +47183,7 @@ index 00000000000..25ef0ecd224 +} diff --git a/src/hotspot/cpu/loongarch/nativeInst_loongarch.hpp b/src/hotspot/cpu/loongarch/nativeInst_loongarch.hpp new file mode 100644 -index 00000000000..0ec8ebddf09 +index 000000000..0ec8ebddf --- /dev/null +++ b/src/hotspot/cpu/loongarch/nativeInst_loongarch.hpp @@ -0,0 +1,531 @@ @@ -47141,7 +47720,7 @@ index 00000000000..0ec8ebddf09 +#endif // CPU_LOONGARCH_NATIVEINST_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/registerMap_loongarch.hpp b/src/hotspot/cpu/loongarch/registerMap_loongarch.hpp new file mode 100644 -index 00000000000..07aa5b22817 +index 000000000..07aa5b228 --- /dev/null +++ b/src/hotspot/cpu/loongarch/registerMap_loongarch.hpp @@ -0,0 +1,61 @@ @@ -47208,7 +47787,7 @@ index 00000000000..07aa5b22817 +#endif // CPU_LOONGARCH_REGISTERMAP_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/register_definitions_loongarch.cpp b/src/hotspot/cpu/loongarch/register_definitions_loongarch.cpp new file mode 100644 -index 00000000000..58f40b747c2 +index 000000000..58f40b747 --- /dev/null +++ b/src/hotspot/cpu/loongarch/register_definitions_loongarch.cpp @@ -0,0 +1,103 @@ @@ -47317,7 +47896,7 @@ index 00000000000..58f40b747c2 +REGISTER_DEFINITION(FloatRegister, f31); diff --git a/src/hotspot/cpu/loongarch/register_loongarch.cpp b/src/hotspot/cpu/loongarch/register_loongarch.cpp new file mode 100644 -index 00000000000..54d90167a52 +index 000000000..54d90167a --- /dev/null +++ b/src/hotspot/cpu/loongarch/register_loongarch.cpp @@ -0,0 +1,59 @@ @@ -47382,7 +47961,7 @@ index 00000000000..54d90167a52 +} diff --git a/src/hotspot/cpu/loongarch/register_loongarch.hpp b/src/hotspot/cpu/loongarch/register_loongarch.hpp new file mode 100644 -index 00000000000..85669f435c7 +index 000000000..85669f435 --- /dev/null +++ b/src/hotspot/cpu/loongarch/register_loongarch.hpp @@ -0,0 +1,499 @@ @@ -47887,7 +48466,7 @@ index 00000000000..85669f435c7 +#endif //CPU_LOONGARCH_REGISTER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/relocInfo_loongarch.cpp b/src/hotspot/cpu/loongarch/relocInfo_loongarch.cpp new file mode 100644 -index 00000000000..079d581c91f +index 000000000..079d581c9 --- /dev/null +++ b/src/hotspot/cpu/loongarch/relocInfo_loongarch.cpp @@ -0,0 +1,132 @@ @@ -48025,7 +48604,7 @@ index 00000000000..079d581c91f +} diff --git a/src/hotspot/cpu/loongarch/relocInfo_loongarch.hpp b/src/hotspot/cpu/loongarch/relocInfo_loongarch.hpp new file mode 100644 -index 00000000000..c85ca4963f3 +index 000000000..c85ca4963 --- /dev/null +++ b/src/hotspot/cpu/loongarch/relocInfo_loongarch.hpp @@ -0,0 +1,44 @@ @@ -48075,7 +48654,7 @@ index 00000000000..c85ca4963f3 +#endif // CPU_LOONGARCH_RELOCINFO_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/runtime_loongarch_64.cpp b/src/hotspot/cpu/loongarch/runtime_loongarch_64.cpp new file mode 100644 -index 00000000000..fae11f47e62 +index 000000000..fae11f47e --- /dev/null +++ b/src/hotspot/cpu/loongarch/runtime_loongarch_64.cpp @@ -0,0 +1,199 @@ @@ -48280,7 +48859,7 @@ index 00000000000..fae11f47e62 +} diff --git a/src/hotspot/cpu/loongarch/sharedRuntime_loongarch_64.cpp b/src/hotspot/cpu/loongarch/sharedRuntime_loongarch_64.cpp new file mode 100644 -index 00000000000..30c06f40493 +index 000000000..30c06f404 --- /dev/null +++ b/src/hotspot/cpu/loongarch/sharedRuntime_loongarch_64.cpp @@ -0,0 +1,3113 @@ @@ -51399,7 +51978,7 @@ index 00000000000..30c06f40493 +#endif diff --git a/src/hotspot/cpu/loongarch/stubGenerator_loongarch_64.cpp b/src/hotspot/cpu/loongarch/stubGenerator_loongarch_64.cpp new file mode 100644 -index 00000000000..21bfc7d78cb +index 000000000..21bfc7d78 --- /dev/null +++ b/src/hotspot/cpu/loongarch/stubGenerator_loongarch_64.cpp @@ -0,0 +1,5176 @@ @@ -56581,7 +57160,7 @@ index 00000000000..21bfc7d78cb +} diff --git a/src/hotspot/cpu/loongarch/stubRoutines_loongarch.hpp b/src/hotspot/cpu/loongarch/stubRoutines_loongarch.hpp new file mode 100644 -index 00000000000..20f2a14afcd +index 000000000..20f2a14af --- /dev/null +++ b/src/hotspot/cpu/loongarch/stubRoutines_loongarch.hpp @@ -0,0 +1,89 @@ @@ -56676,7 +57255,7 @@ index 00000000000..20f2a14afcd +#endif // CPU_LOONGARCH_STUBROUTINES_LOONGARCH_64_HPP diff --git a/src/hotspot/cpu/loongarch/stubRoutines_loongarch_64.cpp b/src/hotspot/cpu/loongarch/stubRoutines_loongarch_64.cpp new file mode 100644 -index 00000000000..53ded54ae6c +index 000000000..53ded54ae --- /dev/null +++ b/src/hotspot/cpu/loongarch/stubRoutines_loongarch_64.cpp @@ -0,0 +1,183 @@ @@ -56865,7 +57444,7 @@ index 00000000000..53ded54ae6c +}; diff --git a/src/hotspot/cpu/loongarch/templateInterpreterGenerator_loongarch.cpp b/src/hotspot/cpu/loongarch/templateInterpreterGenerator_loongarch.cpp new file mode 100644 -index 00000000000..02af7c8ffa7 +index 000000000..02af7c8ff --- /dev/null +++ b/src/hotspot/cpu/loongarch/templateInterpreterGenerator_loongarch.cpp @@ -0,0 +1,2197 @@ @@ -59068,7 +59647,7 @@ index 00000000000..02af7c8ffa7 +#endif // !PRODUCT diff --git a/src/hotspot/cpu/loongarch/templateTable_loongarch.hpp b/src/hotspot/cpu/loongarch/templateTable_loongarch.hpp new file mode 100644 -index 00000000000..ddb38faf446 +index 000000000..ddb38faf4 --- /dev/null +++ b/src/hotspot/cpu/loongarch/templateTable_loongarch.hpp @@ -0,0 +1,43 @@ @@ -59117,7 +59696,7 @@ index 00000000000..ddb38faf446 +#endif // CPU_LOONGARCH_TEMPLATETABLE_LOONGARCH_64_HPP diff --git a/src/hotspot/cpu/loongarch/templateTable_loongarch_64.cpp b/src/hotspot/cpu/loongarch/templateTable_loongarch_64.cpp new file mode 100644 -index 00000000000..2474f90c247 +index 000000000..2474f90c2 --- /dev/null +++ b/src/hotspot/cpu/loongarch/templateTable_loongarch_64.cpp @@ -0,0 +1,4043 @@ @@ -63166,7 +63745,7 @@ index 00000000000..2474f90c247 +} diff --git a/src/hotspot/cpu/loongarch/universalNativeInvoker_loongarch_64.cpp b/src/hotspot/cpu/loongarch/universalNativeInvoker_loongarch_64.cpp new file mode 100644 -index 00000000000..87f6a113268 +index 000000000..87f6a1132 --- /dev/null +++ b/src/hotspot/cpu/loongarch/universalNativeInvoker_loongarch_64.cpp @@ -0,0 +1,32 @@ @@ -63204,7 +63783,7 @@ index 00000000000..87f6a113268 +} diff --git a/src/hotspot/cpu/loongarch/universalUpcallHandler_loongarch_64.cpp b/src/hotspot/cpu/loongarch/universalUpcallHandler_loongarch_64.cpp new file mode 100644 -index 00000000000..7586b084868 +index 000000000..7586b0848 --- /dev/null +++ b/src/hotspot/cpu/loongarch/universalUpcallHandler_loongarch_64.cpp @@ -0,0 +1,41 @@ @@ -63251,7 +63830,7 @@ index 00000000000..7586b084868 +} diff --git a/src/hotspot/cpu/loongarch/vmStructs_loongarch.hpp b/src/hotspot/cpu/loongarch/vmStructs_loongarch.hpp new file mode 100644 -index 00000000000..5b9f7b78981 +index 000000000..5b9f7b789 --- /dev/null +++ b/src/hotspot/cpu/loongarch/vmStructs_loongarch.hpp @@ -0,0 +1,61 @@ @@ -63318,7 +63897,7 @@ index 00000000000..5b9f7b78981 +#endif // CPU_LOONGARCH_VMSTRUCTS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/vm_version_ext_loongarch.cpp b/src/hotspot/cpu/loongarch/vm_version_ext_loongarch.cpp new file mode 100644 -index 00000000000..31da20e6f39 +index 000000000..31da20e6f --- /dev/null +++ b/src/hotspot/cpu/loongarch/vm_version_ext_loongarch.cpp @@ -0,0 +1,85 @@ @@ -63409,7 +63988,7 @@ index 00000000000..31da20e6f39 +} diff --git a/src/hotspot/cpu/loongarch/vm_version_ext_loongarch.hpp b/src/hotspot/cpu/loongarch/vm_version_ext_loongarch.hpp new file mode 100644 -index 00000000000..1a93123134c +index 000000000..1a9312313 --- /dev/null +++ b/src/hotspot/cpu/loongarch/vm_version_ext_loongarch.hpp @@ -0,0 +1,54 @@ @@ -63469,7 +64048,7 @@ index 00000000000..1a93123134c +#endif // CPU_LOONGARCH_VM_VERSION_EXT_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/vm_version_loongarch.cpp b/src/hotspot/cpu/loongarch/vm_version_loongarch.cpp new file mode 100644 -index 00000000000..1a1ac923117 +index 000000000..1a1ac9231 --- /dev/null +++ b/src/hotspot/cpu/loongarch/vm_version_loongarch.cpp @@ -0,0 +1,432 @@ @@ -63907,7 +64486,7 @@ index 00000000000..1a1ac923117 +} diff --git a/src/hotspot/cpu/loongarch/vm_version_loongarch.hpp b/src/hotspot/cpu/loongarch/vm_version_loongarch.hpp new file mode 100644 -index 00000000000..cae9f863c30 +index 000000000..cae9f863c --- /dev/null +++ b/src/hotspot/cpu/loongarch/vm_version_loongarch.hpp @@ -0,0 +1,295 @@ @@ -64208,7 +64787,7 @@ index 00000000000..cae9f863c30 +#endif // CPU_LOONGARCH_VM_VERSION_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/vmreg_loongarch.cpp b/src/hotspot/cpu/loongarch/vmreg_loongarch.cpp new file mode 100644 -index 00000000000..79d2560f494 +index 000000000..79d2560f4 --- /dev/null +++ b/src/hotspot/cpu/loongarch/vmreg_loongarch.cpp @@ -0,0 +1,58 @@ @@ -64272,7 +64851,7 @@ index 00000000000..79d2560f494 +} diff --git a/src/hotspot/cpu/loongarch/vmreg_loongarch.hpp b/src/hotspot/cpu/loongarch/vmreg_loongarch.hpp new file mode 100644 -index 00000000000..819eaff0bb3 +index 000000000..819eaff0b --- /dev/null +++ b/src/hotspot/cpu/loongarch/vmreg_loongarch.hpp @@ -0,0 +1,58 @@ @@ -64336,7 +64915,7 @@ index 00000000000..819eaff0bb3 +#endif // CPU_LOONGARCH_VMREG_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/vmreg_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/vmreg_loongarch.inline.hpp new file mode 100644 -index 00000000000..edb78e36daa +index 000000000..edb78e36d --- /dev/null +++ b/src/hotspot/cpu/loongarch/vmreg_loongarch.inline.hpp @@ -0,0 +1,39 @@ @@ -64381,7 +64960,7 @@ index 00000000000..edb78e36daa +#endif // CPU_LOONGARCH_VMREG_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/vtableStubs_loongarch_64.cpp b/src/hotspot/cpu/loongarch/vtableStubs_loongarch_64.cpp new file mode 100644 -index 00000000000..6a190529b64 +index 000000000..6a190529b --- /dev/null +++ b/src/hotspot/cpu/loongarch/vtableStubs_loongarch_64.cpp @@ -0,0 +1,331 @@ @@ -64718,7 +65297,7 @@ index 00000000000..6a190529b64 +} diff --git a/src/hotspot/cpu/mips/abstractInterpreter_mips.cpp b/src/hotspot/cpu/mips/abstractInterpreter_mips.cpp new file mode 100644 -index 00000000000..c34334ec4c7 +index 000000000..c34334ec4 --- /dev/null +++ b/src/hotspot/cpu/mips/abstractInterpreter_mips.cpp @@ -0,0 +1,133 @@ @@ -64857,7 +65436,7 @@ index 00000000000..c34334ec4c7 + diff --git a/src/hotspot/cpu/mips/assembler_mips.cpp b/src/hotspot/cpu/mips/assembler_mips.cpp new file mode 100644 -index 00000000000..2205ef1a42c +index 000000000..2205ef1a4 --- /dev/null +++ b/src/hotspot/cpu/mips/assembler_mips.cpp @@ -0,0 +1,764 @@ @@ -65627,7 +66206,7 @@ index 00000000000..2205ef1a42c +} diff --git a/src/hotspot/cpu/mips/assembler_mips.hpp b/src/hotspot/cpu/mips/assembler_mips.hpp new file mode 100644 -index 00000000000..8d0d9e0eb21 +index 000000000..8d0d9e0eb --- /dev/null +++ b/src/hotspot/cpu/mips/assembler_mips.hpp @@ -0,0 +1,1777 @@ @@ -67410,7 +67989,7 @@ index 00000000000..8d0d9e0eb21 +#endif // CPU_MIPS_VM_ASSEMBLER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/assembler_mips.inline.hpp b/src/hotspot/cpu/mips/assembler_mips.inline.hpp new file mode 100644 -index 00000000000..39aeb5509a7 +index 000000000..39aeb5509 --- /dev/null +++ b/src/hotspot/cpu/mips/assembler_mips.inline.hpp @@ -0,0 +1,33 @@ @@ -67449,7 +68028,7 @@ index 00000000000..39aeb5509a7 +#endif // CPU_MIPS_VM_ASSEMBLER_MIPS_INLINE_HPP diff --git a/src/hotspot/cpu/mips/bytes_mips.hpp b/src/hotspot/cpu/mips/bytes_mips.hpp new file mode 100644 -index 00000000000..4172db219b1 +index 000000000..4172db219 --- /dev/null +++ b/src/hotspot/cpu/mips/bytes_mips.hpp @@ -0,0 +1,181 @@ @@ -67636,7 +68215,7 @@ index 00000000000..4172db219b1 +#endif // CPU_MIPS_VM_BYTES_MIPS_HPP diff --git a/src/hotspot/cpu/mips/c2_MacroAssembler_mips.cpp b/src/hotspot/cpu/mips/c2_MacroAssembler_mips.cpp new file mode 100644 -index 00000000000..3d98ec11f6b +index 000000000..3d98ec11f --- /dev/null +++ b/src/hotspot/cpu/mips/c2_MacroAssembler_mips.cpp @@ -0,0 +1,614 @@ @@ -68256,7 +68835,7 @@ index 00000000000..3d98ec11f6b +} diff --git a/src/hotspot/cpu/mips/c2_MacroAssembler_mips.hpp b/src/hotspot/cpu/mips/c2_MacroAssembler_mips.hpp new file mode 100644 -index 00000000000..7bdf6e52126 +index 000000000..7bdf6e521 --- /dev/null +++ b/src/hotspot/cpu/mips/c2_MacroAssembler_mips.hpp @@ -0,0 +1,162 @@ @@ -68424,7 +69003,7 @@ index 00000000000..7bdf6e52126 +#endif // CPU_MIPS_VM_C2_MACROASSEMBLER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/c2_globals_mips.hpp b/src/hotspot/cpu/mips/c2_globals_mips.hpp new file mode 100644 -index 00000000000..f452cebf549 +index 000000000..f452cebf5 --- /dev/null +++ b/src/hotspot/cpu/mips/c2_globals_mips.hpp @@ -0,0 +1,91 @@ @@ -68521,7 +69100,7 @@ index 00000000000..f452cebf549 +#endif // CPU_MIPS_VM_C2_GLOBALS_MIPS_HPP diff --git a/src/hotspot/cpu/mips/c2_init_mips.cpp b/src/hotspot/cpu/mips/c2_init_mips.cpp new file mode 100644 -index 00000000000..e6d5815f424 +index 000000000..e6d5815f4 --- /dev/null +++ b/src/hotspot/cpu/mips/c2_init_mips.cpp @@ -0,0 +1,34 @@ @@ -68561,7 +69140,7 @@ index 00000000000..e6d5815f424 +} diff --git a/src/hotspot/cpu/mips/codeBuffer_mips.hpp b/src/hotspot/cpu/mips/codeBuffer_mips.hpp new file mode 100644 -index 00000000000..3cc191006d4 +index 000000000..3cc191006 --- /dev/null +++ b/src/hotspot/cpu/mips/codeBuffer_mips.hpp @@ -0,0 +1,35 @@ @@ -68602,7 +69181,7 @@ index 00000000000..3cc191006d4 +#endif // CPU_MIPS_VM_CODEBUFFER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/compiledIC_mips.cpp b/src/hotspot/cpu/mips/compiledIC_mips.cpp new file mode 100644 -index 00000000000..81f67a92a78 +index 000000000..81f67a92a --- /dev/null +++ b/src/hotspot/cpu/mips/compiledIC_mips.cpp @@ -0,0 +1,147 @@ @@ -68755,7 +69334,7 @@ index 00000000000..81f67a92a78 +#endif // !PRODUCT diff --git a/src/hotspot/cpu/mips/copy_mips.hpp b/src/hotspot/cpu/mips/copy_mips.hpp new file mode 100644 -index 00000000000..dcc77adfec1 +index 000000000..dcc77adfe --- /dev/null +++ b/src/hotspot/cpu/mips/copy_mips.hpp @@ -0,0 +1,77 @@ @@ -68838,7 +69417,7 @@ index 00000000000..dcc77adfec1 +#endif //CPU_MIPS_VM_COPY_MIPS_HPP diff --git a/src/hotspot/cpu/mips/depChecker_mips.cpp b/src/hotspot/cpu/mips/depChecker_mips.cpp new file mode 100644 -index 00000000000..756ccb68f9c +index 000000000..756ccb68f --- /dev/null +++ b/src/hotspot/cpu/mips/depChecker_mips.cpp @@ -0,0 +1,30 @@ @@ -68874,7 +69453,7 @@ index 00000000000..756ccb68f9c +// Nothing to do on mips diff --git a/src/hotspot/cpu/mips/depChecker_mips.hpp b/src/hotspot/cpu/mips/depChecker_mips.hpp new file mode 100644 -index 00000000000..11e52b4e8f8 +index 000000000..11e52b4e8 --- /dev/null +++ b/src/hotspot/cpu/mips/depChecker_mips.hpp @@ -0,0 +1,31 @@ @@ -68911,7 +69490,7 @@ index 00000000000..11e52b4e8f8 +#endif // CPU_MIPS_VM_DEPCHECKER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/disassembler_mips.hpp b/src/hotspot/cpu/mips/disassembler_mips.hpp new file mode 100644 -index 00000000000..1ca0053b923 +index 000000000..1ca0053b9 --- /dev/null +++ b/src/hotspot/cpu/mips/disassembler_mips.hpp @@ -0,0 +1,57 @@ @@ -68974,7 +69553,7 @@ index 00000000000..1ca0053b923 +#endif // CPU_MIPS_VM_DISASSEMBLER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/foreign_globals_mips.cpp b/src/hotspot/cpu/mips/foreign_globals_mips.cpp new file mode 100644 -index 00000000000..fb4647c2723 +index 000000000..fb4647c27 --- /dev/null +++ b/src/hotspot/cpu/mips/foreign_globals_mips.cpp @@ -0,0 +1,42 @@ @@ -69022,7 +69601,7 @@ index 00000000000..fb4647c2723 +} diff --git a/src/hotspot/cpu/mips/foreign_globals_mips.hpp b/src/hotspot/cpu/mips/foreign_globals_mips.hpp new file mode 100644 -index 00000000000..3c00688168a +index 000000000..3c0068816 --- /dev/null +++ b/src/hotspot/cpu/mips/foreign_globals_mips.hpp @@ -0,0 +1,31 @@ @@ -69059,7 +69638,7 @@ index 00000000000..3c00688168a +#endif // CPU_MIPS_VM_FOREIGN_GLOBALS_MIPS_HPP diff --git a/src/hotspot/cpu/mips/frame_mips.cpp b/src/hotspot/cpu/mips/frame_mips.cpp new file mode 100644 -index 00000000000..bf2b87b24cc +index 000000000..bf2b87b24 --- /dev/null +++ b/src/hotspot/cpu/mips/frame_mips.cpp @@ -0,0 +1,665 @@ @@ -69730,7 +70309,7 @@ index 00000000000..bf2b87b24cc +#endif diff --git a/src/hotspot/cpu/mips/frame_mips.hpp b/src/hotspot/cpu/mips/frame_mips.hpp new file mode 100644 -index 00000000000..ac706e71f9a +index 000000000..ac706e71f --- /dev/null +++ b/src/hotspot/cpu/mips/frame_mips.hpp @@ -0,0 +1,215 @@ @@ -69951,7 +70530,7 @@ index 00000000000..ac706e71f9a +#endif // CPU_MIPS_VM_FRAME_MIPS_HPP diff --git a/src/hotspot/cpu/mips/frame_mips.inline.hpp b/src/hotspot/cpu/mips/frame_mips.inline.hpp new file mode 100644 -index 00000000000..c408f01d69a +index 000000000..c408f01d6 --- /dev/null +++ b/src/hotspot/cpu/mips/frame_mips.inline.hpp @@ -0,0 +1,238 @@ @@ -70195,7 +70774,7 @@ index 00000000000..c408f01d69a +#endif // CPU_MIPS_VM_FRAME_MIPS_INLINE_HPP diff --git a/src/hotspot/cpu/mips/gc/g1/g1BarrierSetAssembler_mips.cpp b/src/hotspot/cpu/mips/gc/g1/g1BarrierSetAssembler_mips.cpp new file mode 100644 -index 00000000000..196ff1582a1 +index 000000000..196ff1582 --- /dev/null +++ b/src/hotspot/cpu/mips/gc/g1/g1BarrierSetAssembler_mips.cpp @@ -0,0 +1,373 @@ @@ -70574,7 +71153,7 @@ index 00000000000..196ff1582a1 +} diff --git a/src/hotspot/cpu/mips/gc/g1/g1BarrierSetAssembler_mips.hpp b/src/hotspot/cpu/mips/gc/g1/g1BarrierSetAssembler_mips.hpp new file mode 100644 -index 00000000000..ec5c243c3f1 +index 000000000..ec5c243c3 --- /dev/null +++ b/src/hotspot/cpu/mips/gc/g1/g1BarrierSetAssembler_mips.hpp @@ -0,0 +1,71 @@ @@ -70651,7 +71230,7 @@ index 00000000000..ec5c243c3f1 +#endif // CPU_MIPS_GC_G1_G1BARRIERSETASSEMBLER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/gc/g1/g1Globals_mips.hpp b/src/hotspot/cpu/mips/gc/g1/g1Globals_mips.hpp new file mode 100644 -index 00000000000..f0c7badaac7 +index 000000000..f0c7badaa --- /dev/null +++ b/src/hotspot/cpu/mips/gc/g1/g1Globals_mips.hpp @@ -0,0 +1,30 @@ @@ -70687,7 +71266,7 @@ index 00000000000..f0c7badaac7 +#endif // CPU_MIPS_GC_G1_G1GLOBALS_MIPS_HPP diff --git a/src/hotspot/cpu/mips/gc/shared/barrierSetAssembler_mips.cpp b/src/hotspot/cpu/mips/gc/shared/barrierSetAssembler_mips.cpp new file mode 100644 -index 00000000000..071debdc3a3 +index 000000000..071debdc3 --- /dev/null +++ b/src/hotspot/cpu/mips/gc/shared/barrierSetAssembler_mips.cpp @@ -0,0 +1,194 @@ @@ -70887,7 +71466,7 @@ index 00000000000..071debdc3a3 +} diff --git a/src/hotspot/cpu/mips/gc/shared/barrierSetAssembler_mips.hpp b/src/hotspot/cpu/mips/gc/shared/barrierSetAssembler_mips.hpp new file mode 100644 -index 00000000000..bc68de604d2 +index 000000000..bc68de604 --- /dev/null +++ b/src/hotspot/cpu/mips/gc/shared/barrierSetAssembler_mips.hpp @@ -0,0 +1,84 @@ @@ -70977,7 +71556,7 @@ index 00000000000..bc68de604d2 +#endif // CPU_MIPS_GC_SHARED_BARRIERSETASSEMBLER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/gc/shared/barrierSetNMethod_mips.cpp b/src/hotspot/cpu/mips/gc/shared/barrierSetNMethod_mips.cpp new file mode 100644 -index 00000000000..3d4e69333b0 +index 000000000..3d4e69333 --- /dev/null +++ b/src/hotspot/cpu/mips/gc/shared/barrierSetNMethod_mips.cpp @@ -0,0 +1,41 @@ @@ -71024,7 +71603,7 @@ index 00000000000..3d4e69333b0 +} diff --git a/src/hotspot/cpu/mips/gc/shared/cardTableBarrierSetAssembler_mips.cpp b/src/hotspot/cpu/mips/gc/shared/cardTableBarrierSetAssembler_mips.cpp new file mode 100644 -index 00000000000..1b2002fd040 +index 000000000..1b2002fd0 --- /dev/null +++ b/src/hotspot/cpu/mips/gc/shared/cardTableBarrierSetAssembler_mips.cpp @@ -0,0 +1,144 @@ @@ -71174,7 +71753,7 @@ index 00000000000..1b2002fd040 +} diff --git a/src/hotspot/cpu/mips/gc/shared/cardTableBarrierSetAssembler_mips.hpp b/src/hotspot/cpu/mips/gc/shared/cardTableBarrierSetAssembler_mips.hpp new file mode 100644 -index 00000000000..49c2a0ea80e +index 000000000..49c2a0ea8 --- /dev/null +++ b/src/hotspot/cpu/mips/gc/shared/cardTableBarrierSetAssembler_mips.hpp @@ -0,0 +1,42 @@ @@ -71222,7 +71801,7 @@ index 00000000000..49c2a0ea80e +#endif // CPU_MIPS_GC_SHARED_CARDTABLEBARRIERSETASSEMBLER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/gc/shared/modRefBarrierSetAssembler_mips.cpp b/src/hotspot/cpu/mips/gc/shared/modRefBarrierSetAssembler_mips.cpp new file mode 100644 -index 00000000000..765259e6266 +index 000000000..765259e62 --- /dev/null +++ b/src/hotspot/cpu/mips/gc/shared/modRefBarrierSetAssembler_mips.cpp @@ -0,0 +1,53 @@ @@ -71281,7 +71860,7 @@ index 00000000000..765259e6266 +} diff --git a/src/hotspot/cpu/mips/gc/shared/modRefBarrierSetAssembler_mips.hpp b/src/hotspot/cpu/mips/gc/shared/modRefBarrierSetAssembler_mips.hpp new file mode 100644 -index 00000000000..5320a4c0add +index 000000000..5320a4c0a --- /dev/null +++ b/src/hotspot/cpu/mips/gc/shared/modRefBarrierSetAssembler_mips.hpp @@ -0,0 +1,54 @@ @@ -71341,7 +71920,7 @@ index 00000000000..5320a4c0add +#endif // CPU_MIPS_GC_SHARED_MODREFBARRIERSETASSEMBLER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/globalDefinitions_mips.hpp b/src/hotspot/cpu/mips/globalDefinitions_mips.hpp new file mode 100644 -index 00000000000..2b50d15ffd7 +index 000000000..2b50d15ff --- /dev/null +++ b/src/hotspot/cpu/mips/globalDefinitions_mips.hpp @@ -0,0 +1,47 @@ @@ -71394,7 +71973,7 @@ index 00000000000..2b50d15ffd7 +#endif // CPU_MIPS_VM_GLOBALDEFINITIONS_MIPS_HPP diff --git a/src/hotspot/cpu/mips/globals_mips.hpp b/src/hotspot/cpu/mips/globals_mips.hpp new file mode 100644 -index 00000000000..2d88d370c94 +index 000000000..2d88d370c --- /dev/null +++ b/src/hotspot/cpu/mips/globals_mips.hpp @@ -0,0 +1,132 @@ @@ -71532,7 +72111,7 @@ index 00000000000..2d88d370c94 +#endif // CPU_MIPS_VM_GLOBALS_MIPS_HPP diff --git a/src/hotspot/cpu/mips/icBuffer_mips.cpp b/src/hotspot/cpu/mips/icBuffer_mips.cpp new file mode 100644 -index 00000000000..604e951a9bf +index 000000000..604e951a9 --- /dev/null +++ b/src/hotspot/cpu/mips/icBuffer_mips.cpp @@ -0,0 +1,96 @@ @@ -71634,7 +72213,7 @@ index 00000000000..604e951a9bf +} diff --git a/src/hotspot/cpu/mips/icache_mips.cpp b/src/hotspot/cpu/mips/icache_mips.cpp new file mode 100644 -index 00000000000..848964b63f6 +index 000000000..848964b63 --- /dev/null +++ b/src/hotspot/cpu/mips/icache_mips.cpp @@ -0,0 +1,41 @@ @@ -71681,7 +72260,7 @@ index 00000000000..848964b63f6 +} diff --git a/src/hotspot/cpu/mips/icache_mips.hpp b/src/hotspot/cpu/mips/icache_mips.hpp new file mode 100644 -index 00000000000..f90dee6eef7 +index 000000000..f90dee6ee --- /dev/null +++ b/src/hotspot/cpu/mips/icache_mips.hpp @@ -0,0 +1,41 @@ @@ -71728,7 +72307,7 @@ index 00000000000..f90dee6eef7 +#endif // CPU_MIPS_VM_ICACHE_MIPS_HPP diff --git a/src/hotspot/cpu/mips/interp_masm_mips.hpp b/src/hotspot/cpu/mips/interp_masm_mips.hpp new file mode 100644 -index 00000000000..1b9aa653fd4 +index 000000000..1b9aa653f --- /dev/null +++ b/src/hotspot/cpu/mips/interp_masm_mips.hpp @@ -0,0 +1,266 @@ @@ -72000,7 +72579,7 @@ index 00000000000..1b9aa653fd4 +#endif // CPU_MIPS_VM_INTERP_MASM_MIPS_64_HPP diff --git a/src/hotspot/cpu/mips/interp_masm_mips_64.cpp b/src/hotspot/cpu/mips/interp_masm_mips_64.cpp new file mode 100644 -index 00000000000..732325fdbd4 +index 000000000..732325fdb --- /dev/null +++ b/src/hotspot/cpu/mips/interp_masm_mips_64.cpp @@ -0,0 +1,2140 @@ @@ -74146,7 +74725,7 @@ index 00000000000..732325fdbd4 +} diff --git a/src/hotspot/cpu/mips/interpreterRT_mips.hpp b/src/hotspot/cpu/mips/interpreterRT_mips.hpp new file mode 100644 -index 00000000000..054138ea42b +index 000000000..054138ea4 --- /dev/null +++ b/src/hotspot/cpu/mips/interpreterRT_mips.hpp @@ -0,0 +1,60 @@ @@ -74212,7 +74791,7 @@ index 00000000000..054138ea42b +#endif // CPU_MIPS_VM_INTERPRETERRT_MIPS_HPP diff --git a/src/hotspot/cpu/mips/interpreterRT_mips_64.cpp b/src/hotspot/cpu/mips/interpreterRT_mips_64.cpp new file mode 100644 -index 00000000000..3e8ae9fb5a5 +index 000000000..3e8ae9fb5 --- /dev/null +++ b/src/hotspot/cpu/mips/interpreterRT_mips_64.cpp @@ -0,0 +1,260 @@ @@ -74478,7 +75057,7 @@ index 00000000000..3e8ae9fb5a5 +JRT_END diff --git a/src/hotspot/cpu/mips/javaFrameAnchor_mips.hpp b/src/hotspot/cpu/mips/javaFrameAnchor_mips.hpp new file mode 100644 -index 00000000000..f5f3735e7cb +index 000000000..f5f3735e7 --- /dev/null +++ b/src/hotspot/cpu/mips/javaFrameAnchor_mips.hpp @@ -0,0 +1,87 @@ @@ -74571,7 +75150,7 @@ index 00000000000..f5f3735e7cb +#endif // CPU_MIPS_VM_JAVAFRAMEANCHOR_MIPS_HPP diff --git a/src/hotspot/cpu/mips/jniFastGetField_mips_64.cpp b/src/hotspot/cpu/mips/jniFastGetField_mips_64.cpp new file mode 100644 -index 00000000000..547414f7ef3 +index 000000000..547414f7e --- /dev/null +++ b/src/hotspot/cpu/mips/jniFastGetField_mips_64.cpp @@ -0,0 +1,203 @@ @@ -74780,7 +75359,7 @@ index 00000000000..547414f7ef3 +} diff --git a/src/hotspot/cpu/mips/jniTypes_mips.hpp b/src/hotspot/cpu/mips/jniTypes_mips.hpp new file mode 100644 -index 00000000000..08ac565aa53 +index 000000000..08ac565aa --- /dev/null +++ b/src/hotspot/cpu/mips/jniTypes_mips.hpp @@ -0,0 +1,143 @@ @@ -74929,7 +75508,7 @@ index 00000000000..08ac565aa53 +#endif // CPU_MIPS_VM_JNITYPES_MIPS_HPP diff --git a/src/hotspot/cpu/mips/macroAssembler_mips.cpp b/src/hotspot/cpu/mips/macroAssembler_mips.cpp new file mode 100644 -index 00000000000..1256e957970 +index 000000000..1256e9579 --- /dev/null +++ b/src/hotspot/cpu/mips/macroAssembler_mips.cpp @@ -0,0 +1,3686 @@ @@ -78621,7 +79200,7 @@ index 00000000000..1256e957970 +} diff --git a/src/hotspot/cpu/mips/macroAssembler_mips.hpp b/src/hotspot/cpu/mips/macroAssembler_mips.hpp new file mode 100644 -index 00000000000..daec23fcf9c +index 000000000..daec23fcf --- /dev/null +++ b/src/hotspot/cpu/mips/macroAssembler_mips.hpp @@ -0,0 +1,704 @@ @@ -79331,7 +79910,7 @@ index 00000000000..daec23fcf9c +#endif // CPU_MIPS_VM_MACROASSEMBLER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/macroAssembler_mips.inline.hpp b/src/hotspot/cpu/mips/macroAssembler_mips.inline.hpp new file mode 100644 -index 00000000000..92c05fb726a +index 000000000..92c05fb72 --- /dev/null +++ b/src/hotspot/cpu/mips/macroAssembler_mips.inline.hpp @@ -0,0 +1,34 @@ @@ -79371,7 +79950,7 @@ index 00000000000..92c05fb726a +#endif // CPU_MIPS_VM_MACROASSEMBLER_MIPS_INLINE_HPP diff --git a/src/hotspot/cpu/mips/matcher_mips.hpp b/src/hotspot/cpu/mips/matcher_mips.hpp new file mode 100644 -index 00000000000..94f58720ffe +index 000000000..94f58720f --- /dev/null +++ b/src/hotspot/cpu/mips/matcher_mips.hpp @@ -0,0 +1,145 @@ @@ -79522,7 +80101,7 @@ index 00000000000..94f58720ffe +#endif // CPU_MIPS_MATCHER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/methodHandles_mips.cpp b/src/hotspot/cpu/mips/methodHandles_mips.cpp new file mode 100644 -index 00000000000..c4279705062 +index 000000000..c42797050 --- /dev/null +++ b/src/hotspot/cpu/mips/methodHandles_mips.cpp @@ -0,0 +1,597 @@ @@ -80125,7 +80704,7 @@ index 00000000000..c4279705062 +#endif //PRODUCT diff --git a/src/hotspot/cpu/mips/methodHandles_mips.hpp b/src/hotspot/cpu/mips/methodHandles_mips.hpp new file mode 100644 -index 00000000000..a95f8e40596 +index 000000000..a95f8e405 --- /dev/null +++ b/src/hotspot/cpu/mips/methodHandles_mips.hpp @@ -0,0 +1,62 @@ @@ -80193,7 +80772,7 @@ index 00000000000..a95f8e40596 + } diff --git a/src/hotspot/cpu/mips/mips.ad b/src/hotspot/cpu/mips/mips.ad new file mode 100644 -index 00000000000..3563bbe0e59 +index 000000000..3563bbe0e --- /dev/null +++ b/src/hotspot/cpu/mips/mips.ad @@ -0,0 +1,25 @@ @@ -80224,7 +80803,7 @@ index 00000000000..3563bbe0e59 + diff --git a/src/hotspot/cpu/mips/mips_64.ad b/src/hotspot/cpu/mips/mips_64.ad new file mode 100644 -index 00000000000..882878f739a +index 000000000..882878f73 --- /dev/null +++ b/src/hotspot/cpu/mips/mips_64.ad @@ -0,0 +1,12317 @@ @@ -92547,7 +93126,7 @@ index 00000000000..882878f739a + diff --git a/src/hotspot/cpu/mips/nativeInst_mips.cpp b/src/hotspot/cpu/mips/nativeInst_mips.cpp new file mode 100644 -index 00000000000..05c525f35ef +index 000000000..05c525f35 --- /dev/null +++ b/src/hotspot/cpu/mips/nativeInst_mips.cpp @@ -0,0 +1,1825 @@ @@ -94378,7 +94957,7 @@ index 00000000000..05c525f35ef +} diff --git a/src/hotspot/cpu/mips/nativeInst_mips.hpp b/src/hotspot/cpu/mips/nativeInst_mips.hpp new file mode 100644 -index 00000000000..9f0f24cc34b +index 000000000..9f0f24cc3 --- /dev/null +++ b/src/hotspot/cpu/mips/nativeInst_mips.hpp @@ -0,0 +1,734 @@ @@ -95118,7 +95697,7 @@ index 00000000000..9f0f24cc34b +#endif // CPU_MIPS_VM_NATIVEINST_MIPS_HPP diff --git a/src/hotspot/cpu/mips/registerMap_mips.hpp b/src/hotspot/cpu/mips/registerMap_mips.hpp new file mode 100644 -index 00000000000..3f3558f79d4 +index 000000000..3f3558f79 --- /dev/null +++ b/src/hotspot/cpu/mips/registerMap_mips.hpp @@ -0,0 +1,50 @@ @@ -95174,7 +95753,7 @@ index 00000000000..3f3558f79d4 +#endif // CPU_MIPS_VM_REGISTERMAP_MIPS_HPP diff --git a/src/hotspot/cpu/mips/register_definitions_mips.cpp b/src/hotspot/cpu/mips/register_definitions_mips.cpp new file mode 100644 -index 00000000000..4af25318346 +index 000000000..4af253183 --- /dev/null +++ b/src/hotspot/cpu/mips/register_definitions_mips.cpp @@ -0,0 +1,103 @@ @@ -95283,7 +95862,7 @@ index 00000000000..4af25318346 +REGISTER_DEFINITION(FloatRegister, f31); diff --git a/src/hotspot/cpu/mips/register_mips.cpp b/src/hotspot/cpu/mips/register_mips.cpp new file mode 100644 -index 00000000000..4a9b22bfef2 +index 000000000..4a9b22bfe --- /dev/null +++ b/src/hotspot/cpu/mips/register_mips.cpp @@ -0,0 +1,52 @@ @@ -95341,7 +95920,7 @@ index 00000000000..4a9b22bfef2 + diff --git a/src/hotspot/cpu/mips/register_mips.hpp b/src/hotspot/cpu/mips/register_mips.hpp new file mode 100644 -index 00000000000..c2124538a0f +index 000000000..c2124538a --- /dev/null +++ b/src/hotspot/cpu/mips/register_mips.hpp @@ -0,0 +1,345 @@ @@ -95692,7 +96271,7 @@ index 00000000000..c2124538a0f +#endif //CPU_MIPS_VM_REGISTER_MIPS_HPP diff --git a/src/hotspot/cpu/mips/relocInfo_mips.cpp b/src/hotspot/cpu/mips/relocInfo_mips.cpp new file mode 100644 -index 00000000000..7d8d072b51b +index 000000000..7d8d072b5 --- /dev/null +++ b/src/hotspot/cpu/mips/relocInfo_mips.cpp @@ -0,0 +1,160 @@ @@ -95858,7 +96437,7 @@ index 00000000000..7d8d072b51b +} diff --git a/src/hotspot/cpu/mips/relocInfo_mips.hpp b/src/hotspot/cpu/mips/relocInfo_mips.hpp new file mode 100644 -index 00000000000..1e1e170fd87 +index 000000000..1e1e170fd --- /dev/null +++ b/src/hotspot/cpu/mips/relocInfo_mips.hpp @@ -0,0 +1,44 @@ @@ -95908,7 +96487,7 @@ index 00000000000..1e1e170fd87 +#endif // CPU_MIPS_VM_RELOCINFO_MIPS_HPP diff --git a/src/hotspot/cpu/mips/runtime_mips_64.cpp b/src/hotspot/cpu/mips/runtime_mips_64.cpp new file mode 100644 -index 00000000000..36ab413f0b3 +index 000000000..36ab413f0 --- /dev/null +++ b/src/hotspot/cpu/mips/runtime_mips_64.cpp @@ -0,0 +1,206 @@ @@ -96120,7 +96699,7 @@ index 00000000000..36ab413f0b3 +} diff --git a/src/hotspot/cpu/mips/sharedRuntime_mips_64.cpp b/src/hotspot/cpu/mips/sharedRuntime_mips_64.cpp new file mode 100644 -index 00000000000..48cc424a54e +index 000000000..48cc424a5 --- /dev/null +++ b/src/hotspot/cpu/mips/sharedRuntime_mips_64.cpp @@ -0,0 +1,3384 @@ @@ -99510,7 +100089,7 @@ index 00000000000..48cc424a54e +#endif diff --git a/src/hotspot/cpu/mips/stubGenerator_mips_64.cpp b/src/hotspot/cpu/mips/stubGenerator_mips_64.cpp new file mode 100644 -index 00000000000..e894a302b50 +index 000000000..e894a302b --- /dev/null +++ b/src/hotspot/cpu/mips/stubGenerator_mips_64.cpp @@ -0,0 +1,2725 @@ @@ -102241,7 +102820,7 @@ index 00000000000..e894a302b50 +} diff --git a/src/hotspot/cpu/mips/stubRoutines_mips.hpp b/src/hotspot/cpu/mips/stubRoutines_mips.hpp new file mode 100644 -index 00000000000..920c08844e1 +index 000000000..920c08844 --- /dev/null +++ b/src/hotspot/cpu/mips/stubRoutines_mips.hpp @@ -0,0 +1,59 @@ @@ -102306,7 +102885,7 @@ index 00000000000..920c08844e1 +#endif // CPU_MIPS_VM_STUBROUTINES_MIPS_64_HPP diff --git a/src/hotspot/cpu/mips/stubRoutines_mips_64.cpp b/src/hotspot/cpu/mips/stubRoutines_mips_64.cpp new file mode 100644 -index 00000000000..358d580d527 +index 000000000..358d580d5 --- /dev/null +++ b/src/hotspot/cpu/mips/stubRoutines_mips_64.cpp @@ -0,0 +1,35 @@ @@ -102347,7 +102926,7 @@ index 00000000000..358d580d527 +address StubRoutines::gs2::_call_stub_compiled_return = NULL; diff --git a/src/hotspot/cpu/mips/templateInterpreterGenerator_mips.cpp b/src/hotspot/cpu/mips/templateInterpreterGenerator_mips.cpp new file mode 100644 -index 00000000000..b723add6dfc +index 000000000..b723add6d --- /dev/null +++ b/src/hotspot/cpu/mips/templateInterpreterGenerator_mips.cpp @@ -0,0 +1,2094 @@ @@ -104447,7 +105026,7 @@ index 00000000000..b723add6dfc +#endif // !PRODUCT diff --git a/src/hotspot/cpu/mips/templateTable_mips.hpp b/src/hotspot/cpu/mips/templateTable_mips.hpp new file mode 100644 -index 00000000000..46a88aba261 +index 000000000..46a88aba2 --- /dev/null +++ b/src/hotspot/cpu/mips/templateTable_mips.hpp @@ -0,0 +1,43 @@ @@ -104496,7 +105075,7 @@ index 00000000000..46a88aba261 +#endif // CPU_MIPS_VM_TEMPLATETABLE_MIPS_64_HPP diff --git a/src/hotspot/cpu/mips/templateTable_mips_64.cpp b/src/hotspot/cpu/mips/templateTable_mips_64.cpp new file mode 100644 -index 00000000000..bbf95f45225 +index 000000000..bbf95f452 --- /dev/null +++ b/src/hotspot/cpu/mips/templateTable_mips_64.cpp @@ -0,0 +1,4613 @@ @@ -109115,7 +109694,7 @@ index 00000000000..bbf95f45225 +} diff --git a/src/hotspot/cpu/mips/universalNativeInvoker_mips_64.cpp b/src/hotspot/cpu/mips/universalNativeInvoker_mips_64.cpp new file mode 100644 -index 00000000000..87f6a113268 +index 000000000..87f6a1132 --- /dev/null +++ b/src/hotspot/cpu/mips/universalNativeInvoker_mips_64.cpp @@ -0,0 +1,32 @@ @@ -109153,7 +109732,7 @@ index 00000000000..87f6a113268 +} diff --git a/src/hotspot/cpu/mips/universalUpcallHandler_mips_64.cpp b/src/hotspot/cpu/mips/universalUpcallHandler_mips_64.cpp new file mode 100644 -index 00000000000..7586b084868 +index 000000000..7586b0848 --- /dev/null +++ b/src/hotspot/cpu/mips/universalUpcallHandler_mips_64.cpp @@ -0,0 +1,41 @@ @@ -109200,7 +109779,7 @@ index 00000000000..7586b084868 +} diff --git a/src/hotspot/cpu/mips/vmStructs_mips.hpp b/src/hotspot/cpu/mips/vmStructs_mips.hpp new file mode 100644 -index 00000000000..6939914356d +index 000000000..693991435 --- /dev/null +++ b/src/hotspot/cpu/mips/vmStructs_mips.hpp @@ -0,0 +1,68 @@ @@ -109274,7 +109853,7 @@ index 00000000000..6939914356d +#endif // CPU_MIPS_VM_VMSTRUCTS_MIPS_HPP diff --git a/src/hotspot/cpu/mips/vm_version_ext_mips.cpp b/src/hotspot/cpu/mips/vm_version_ext_mips.cpp new file mode 100644 -index 00000000000..d3f07078570 +index 000000000..d3f070785 --- /dev/null +++ b/src/hotspot/cpu/mips/vm_version_ext_mips.cpp @@ -0,0 +1,90 @@ @@ -109370,7 +109949,7 @@ index 00000000000..d3f07078570 +} diff --git a/src/hotspot/cpu/mips/vm_version_ext_mips.hpp b/src/hotspot/cpu/mips/vm_version_ext_mips.hpp new file mode 100644 -index 00000000000..ffdcff06777 +index 000000000..ffdcff067 --- /dev/null +++ b/src/hotspot/cpu/mips/vm_version_ext_mips.hpp @@ -0,0 +1,54 @@ @@ -109430,7 +110009,7 @@ index 00000000000..ffdcff06777 +#endif // CPU_MIPS_VM_VM_VERSION_EXT_MIPS_HPP diff --git a/src/hotspot/cpu/mips/vm_version_mips.cpp b/src/hotspot/cpu/mips/vm_version_mips.cpp new file mode 100644 -index 00000000000..8625bc70075 +index 000000000..8625bc700 --- /dev/null +++ b/src/hotspot/cpu/mips/vm_version_mips.cpp @@ -0,0 +1,523 @@ @@ -109959,7 +110538,7 @@ index 00000000000..8625bc70075 +} diff --git a/src/hotspot/cpu/mips/vm_version_mips.hpp b/src/hotspot/cpu/mips/vm_version_mips.hpp new file mode 100644 -index 00000000000..30c7b5a934d +index 000000000..30c7b5a93 --- /dev/null +++ b/src/hotspot/cpu/mips/vm_version_mips.hpp @@ -0,0 +1,218 @@ @@ -110183,7 +110762,7 @@ index 00000000000..30c7b5a934d +#endif // CPU_MIPS_VM_VM_VERSION_MIPS_HPP diff --git a/src/hotspot/cpu/mips/vmreg_mips.cpp b/src/hotspot/cpu/mips/vmreg_mips.cpp new file mode 100644 -index 00000000000..95dbd17f1a8 +index 000000000..95dbd17f1 --- /dev/null +++ b/src/hotspot/cpu/mips/vmreg_mips.cpp @@ -0,0 +1,56 @@ @@ -110245,7 +110824,7 @@ index 00000000000..95dbd17f1a8 +} diff --git a/src/hotspot/cpu/mips/vmreg_mips.hpp b/src/hotspot/cpu/mips/vmreg_mips.hpp new file mode 100644 -index 00000000000..8ccc8c513c8 +index 000000000..8ccc8c513 --- /dev/null +++ b/src/hotspot/cpu/mips/vmreg_mips.hpp @@ -0,0 +1,56 @@ @@ -110307,7 +110886,7 @@ index 00000000000..8ccc8c513c8 +#endif // CPU_MIPS_VM_VMREG_MIPS_HPP diff --git a/src/hotspot/cpu/mips/vmreg_mips.inline.hpp b/src/hotspot/cpu/mips/vmreg_mips.inline.hpp new file mode 100644 -index 00000000000..12ad7361aa5 +index 000000000..12ad7361a --- /dev/null +++ b/src/hotspot/cpu/mips/vmreg_mips.inline.hpp @@ -0,0 +1,38 @@ @@ -110351,7 +110930,7 @@ index 00000000000..12ad7361aa5 +#endif // CPU_MIPS_VM_VMREG_MIPS_INLINE_HPP diff --git a/src/hotspot/cpu/mips/vtableStubs_mips_64.cpp b/src/hotspot/cpu/mips/vtableStubs_mips_64.cpp new file mode 100644 -index 00000000000..f373aac45c2 +index 000000000..f373aac45 --- /dev/null +++ b/src/hotspot/cpu/mips/vtableStubs_mips_64.cpp @@ -0,0 +1,348 @@ @@ -110704,7 +111283,7 @@ index 00000000000..f373aac45c2 + return icache_line_size; +} diff --git a/src/hotspot/cpu/ppc/gc/z/zGlobals_ppc.hpp b/src/hotspot/cpu/ppc/gc/z/zGlobals_ppc.hpp -index 3657b16fc1a..a2aab225743 100644 +index 3657b16fc..a2aab2257 100644 --- a/src/hotspot/cpu/ppc/gc/z/zGlobals_ppc.hpp +++ b/src/hotspot/cpu/ppc/gc/z/zGlobals_ppc.hpp @@ -30,6 +30,8 @@ const size_t ZPlatformGranuleSizeShift = 21; // 2MB @@ -110717,7 +111296,7 @@ index 3657b16fc1a..a2aab225743 100644 size_t ZPlatformAddressMetadataShift(); diff --git a/src/hotspot/os/linux/os_linux.cpp b/src/hotspot/os/linux/os_linux.cpp -index 7c951cee51c..5747d4d3f55 100644 +index 7c951cee5..5747d4d3f 100644 --- a/src/hotspot/os/linux/os_linux.cpp +++ b/src/hotspot/os/linux/os_linux.cpp @@ -23,6 +23,12 @@ @@ -110753,7 +111332,7 @@ index 7c951cee51c..5747d4d3f55 100644 const char* search_string = "CPU"; diff --git a/src/hotspot/os_cpu/linux_loongarch/assembler_linux_loongarch.cpp b/src/hotspot/os_cpu/linux_loongarch/assembler_linux_loongarch.cpp new file mode 100644 -index 00000000000..30719a0340b +index 000000000..30719a034 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/assembler_linux_loongarch.cpp @@ -0,0 +1,24 @@ @@ -110783,7 +111362,7 @@ index 00000000000..30719a0340b + */ diff --git a/src/hotspot/os_cpu/linux_loongarch/atomic_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/atomic_linux_loongarch.hpp new file mode 100644 -index 00000000000..77413aba9f4 +index 000000000..77413aba9 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/atomic_linux_loongarch.hpp @@ -0,0 +1,275 @@ @@ -111064,7 +111643,7 @@ index 00000000000..77413aba9f4 +#endif // OS_CPU_LINUX_LOONGARCH_ATOMIC_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/bytes_linux_loongarch.inline.hpp b/src/hotspot/os_cpu/linux_loongarch/bytes_linux_loongarch.inline.hpp new file mode 100644 -index 00000000000..c9f675baca4 +index 000000000..c9f675bac --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/bytes_linux_loongarch.inline.hpp @@ -0,0 +1,37 @@ @@ -111107,7 +111686,7 @@ index 00000000000..c9f675baca4 +#endif // OS_CPU_LINUX_LOONGARCH_BYTES_LINUX_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/copy_linux_loongarch.inline.hpp b/src/hotspot/os_cpu/linux_loongarch/copy_linux_loongarch.inline.hpp new file mode 100644 -index 00000000000..826c1fe39ac +index 000000000..826c1fe39 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/copy_linux_loongarch.inline.hpp @@ -0,0 +1,125 @@ @@ -111238,7 +111817,7 @@ index 00000000000..826c1fe39ac +#endif // OS_CPU_LINUX_LOONGARCH_COPY_LINUX_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/gc/z/zSyscall_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/gc/z/zSyscall_linux_loongarch.hpp new file mode 100644 -index 00000000000..46d5d5a268b +index 000000000..46d5d5a26 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/gc/z/zSyscall_linux_loongarch.hpp @@ -0,0 +1,41 @@ @@ -111285,7 +111864,7 @@ index 00000000000..46d5d5a268b +#endif // OS_CPU_LINUX_LOONGARCH_GC_Z_ZSYSCALL_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/globals_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/globals_linux_loongarch.hpp new file mode 100644 -index 00000000000..0b5247aa0b6 +index 000000000..0b5247aa0 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/globals_linux_loongarch.hpp @@ -0,0 +1,43 @@ @@ -111334,7 +111913,7 @@ index 00000000000..0b5247aa0b6 +#endif // OS_CPU_LINUX_LOONGARCH_GLOBALS_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/linux_loongarch.s b/src/hotspot/os_cpu/linux_loongarch/linux_loongarch.s new file mode 100644 -index 00000000000..ebd73af0c53 +index 000000000..ebd73af0c --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/linux_loongarch.s @@ -0,0 +1,25 @@ @@ -111365,7 +111944,7 @@ index 00000000000..ebd73af0c53 + diff --git a/src/hotspot/os_cpu/linux_loongarch/orderAccess_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/orderAccess_linux_loongarch.hpp new file mode 100644 -index 00000000000..6236e741d05 +index 000000000..6236e741d --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/orderAccess_linux_loongarch.hpp @@ -0,0 +1,52 @@ @@ -111423,7 +112002,7 @@ index 00000000000..6236e741d05 +#endif // OS_CPU_LINUX_LOONGARCH_ORDERACCESS_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.cpp b/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.cpp new file mode 100644 -index 00000000000..b32ffe9105e +index 000000000..b32ffe910 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.cpp @@ -0,0 +1,529 @@ @@ -111958,7 +112537,7 @@ index 00000000000..b32ffe9105e +} diff --git a/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.hpp new file mode 100644 -index 00000000000..fa02f8ba2f9 +index 000000000..fa02f8ba2 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.hpp @@ -0,0 +1,38 @@ @@ -112002,7 +112581,7 @@ index 00000000000..fa02f8ba2f9 +#endif // OS_CPU_LINUX_LOONGARCH_OS_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/prefetch_linux_loongarch.inline.hpp b/src/hotspot/os_cpu/linux_loongarch/prefetch_linux_loongarch.inline.hpp new file mode 100644 -index 00000000000..cf3a596387c +index 000000000..cf3a59638 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/prefetch_linux_loongarch.inline.hpp @@ -0,0 +1,56 @@ @@ -112064,7 +112643,7 @@ index 00000000000..cf3a596387c +#endif // OS_CPU_LINUX_LOONGARCH_PREFETCH_LINUX_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/safefetch_linux_loongarch64.S b/src/hotspot/os_cpu/linux_loongarch/safefetch_linux_loongarch64.S new file mode 100644 -index 00000000000..fdc6da358e5 +index 000000000..fdc6da358 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/safefetch_linux_loongarch64.S @@ -0,0 +1,56 @@ @@ -112126,7 +112705,7 @@ index 00000000000..fdc6da358e5 + jr $r1 diff --git a/src/hotspot/os_cpu/linux_loongarch/thread_linux_loongarch.cpp b/src/hotspot/os_cpu/linux_loongarch/thread_linux_loongarch.cpp new file mode 100644 -index 00000000000..9204302bca8 +index 000000000..9204302bc --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/thread_linux_loongarch.cpp @@ -0,0 +1,105 @@ @@ -112237,7 +112816,7 @@ index 00000000000..9204302bca8 +void JavaThread::cache_global_variables() { } diff --git a/src/hotspot/os_cpu/linux_loongarch/thread_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/thread_linux_loongarch.hpp new file mode 100644 -index 00000000000..82fc6fb659f +index 000000000..82fc6fb65 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/thread_linux_loongarch.hpp @@ -0,0 +1,66 @@ @@ -112309,7 +112888,7 @@ index 00000000000..82fc6fb659f +#endif // OS_CPU_LINUX_LOONGARCH_VM_THREAD_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/vmStructs_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/vmStructs_linux_loongarch.hpp new file mode 100644 -index 00000000000..a39cb79bb1e +index 000000000..a39cb79bb --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/vmStructs_linux_loongarch.hpp @@ -0,0 +1,55 @@ @@ -112370,7 +112949,7 @@ index 00000000000..a39cb79bb1e +#endif // OS_CPU_LINUX_LOONGARCH_VMSTRUCTS_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/vm_version_linux_loongarch.cpp b/src/hotspot/os_cpu/linux_loongarch/vm_version_linux_loongarch.cpp new file mode 100644 -index 00000000000..3711a7036a1 +index 000000000..3711a7036 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/vm_version_linux_loongarch.cpp @@ -0,0 +1,95 @@ @@ -112471,7 +113050,7 @@ index 00000000000..3711a7036a1 +} diff --git a/src/hotspot/os_cpu/linux_mips/assembler_linux_mips.cpp b/src/hotspot/os_cpu/linux_mips/assembler_linux_mips.cpp new file mode 100644 -index 00000000000..30719a0340b +index 000000000..30719a034 --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/assembler_linux_mips.cpp @@ -0,0 +1,24 @@ @@ -112501,7 +113080,7 @@ index 00000000000..30719a0340b + */ diff --git a/src/hotspot/os_cpu/linux_mips/atomic_linux_mips.hpp b/src/hotspot/os_cpu/linux_mips/atomic_linux_mips.hpp new file mode 100644 -index 00000000000..c82e3ce1ecf +index 000000000..c82e3ce1e --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/atomic_linux_mips.hpp @@ -0,0 +1,194 @@ @@ -112701,7 +113280,7 @@ index 00000000000..c82e3ce1ecf +#endif // OS_CPU_LINUX_MIPS_VM_ATOMIC_LINUX_MIPS_HPP diff --git a/src/hotspot/os_cpu/linux_mips/bytes_linux_mips.inline.hpp b/src/hotspot/os_cpu/linux_mips/bytes_linux_mips.inline.hpp new file mode 100644 -index 00000000000..5b5cd10aa55 +index 000000000..5b5cd10aa --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/bytes_linux_mips.inline.hpp @@ -0,0 +1,37 @@ @@ -112744,7 +113323,7 @@ index 00000000000..5b5cd10aa55 +#endif // OS_CPU_LINUX_MIPS_VM_BYTES_LINUX_MIPS_INLINE_HPP diff --git a/src/hotspot/os_cpu/linux_mips/copy_linux_mips.inline.hpp b/src/hotspot/os_cpu/linux_mips/copy_linux_mips.inline.hpp new file mode 100644 -index 00000000000..3fd6ef7b36c +index 000000000..3fd6ef7b3 --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/copy_linux_mips.inline.hpp @@ -0,0 +1,125 @@ @@ -112875,7 +113454,7 @@ index 00000000000..3fd6ef7b36c +#endif // OS_CPU_LINUX_MIPS_VM_COPY_LINUX_MIPS_INLINE_HPP diff --git a/src/hotspot/os_cpu/linux_mips/globals_linux_mips.hpp b/src/hotspot/os_cpu/linux_mips/globals_linux_mips.hpp new file mode 100644 -index 00000000000..f1599ac5f17 +index 000000000..f1599ac5f --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/globals_linux_mips.hpp @@ -0,0 +1,51 @@ @@ -112932,7 +113511,7 @@ index 00000000000..f1599ac5f17 +#endif // OS_CPU_LINUX_MIPS_VM_GLOBALS_LINUX_MIPS_HPP diff --git a/src/hotspot/os_cpu/linux_mips/linux_mips.s b/src/hotspot/os_cpu/linux_mips/linux_mips.s new file mode 100644 -index 00000000000..36c8d810c3c +index 000000000..36c8d810c --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/linux_mips.s @@ -0,0 +1,25 @@ @@ -112963,7 +113542,7 @@ index 00000000000..36c8d810c3c + diff --git a/src/hotspot/os_cpu/linux_mips/orderAccess_linux_mips.hpp b/src/hotspot/os_cpu/linux_mips/orderAccess_linux_mips.hpp new file mode 100644 -index 00000000000..a92bf43bdbb +index 000000000..a92bf43bd --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/orderAccess_linux_mips.hpp @@ -0,0 +1,52 @@ @@ -113021,7 +113600,7 @@ index 00000000000..a92bf43bdbb +#endif // OS_CPU_LINUX_MIPS_VM_ORDERACCESS_LINUX_MIPS_HPP diff --git a/src/hotspot/os_cpu/linux_mips/os_linux_mips.cpp b/src/hotspot/os_cpu/linux_mips/os_linux_mips.cpp new file mode 100644 -index 00000000000..ff1af7beb68 +index 000000000..ff1af7beb --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/os_linux_mips.cpp @@ -0,0 +1,817 @@ @@ -113844,7 +114423,7 @@ index 00000000000..ff1af7beb68 +} diff --git a/src/hotspot/os_cpu/linux_mips/os_linux_mips.hpp b/src/hotspot/os_cpu/linux_mips/os_linux_mips.hpp new file mode 100644 -index 00000000000..c07d08156f2 +index 000000000..c07d08156 --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/os_linux_mips.hpp @@ -0,0 +1,39 @@ @@ -113889,7 +114468,7 @@ index 00000000000..c07d08156f2 +#endif // OS_CPU_LINUX_MIPS_VM_OS_LINUX_MIPS_HPP diff --git a/src/hotspot/os_cpu/linux_mips/prefetch_linux_mips.inline.hpp b/src/hotspot/os_cpu/linux_mips/prefetch_linux_mips.inline.hpp new file mode 100644 -index 00000000000..93490345f0b +index 000000000..93490345f --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/prefetch_linux_mips.inline.hpp @@ -0,0 +1,58 @@ @@ -113953,7 +114532,7 @@ index 00000000000..93490345f0b +#endif // OS_CPU_LINUX_MIPS_VM_PREFETCH_LINUX_MIPS_INLINE_HPP diff --git a/src/hotspot/os_cpu/linux_mips/safefetch_linux_mips64.S b/src/hotspot/os_cpu/linux_mips/safefetch_linux_mips64.S new file mode 100644 -index 00000000000..fc6ee6eca65 +index 000000000..fc6ee6eca --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/safefetch_linux_mips64.S @@ -0,0 +1,60 @@ @@ -114019,7 +114598,7 @@ index 00000000000..fc6ee6eca65 + nop diff --git a/src/hotspot/os_cpu/linux_mips/thread_linux_mips.cpp b/src/hotspot/os_cpu/linux_mips/thread_linux_mips.cpp new file mode 100644 -index 00000000000..4372eb41e9c +index 000000000..4372eb41e --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/thread_linux_mips.cpp @@ -0,0 +1,108 @@ @@ -114133,7 +114712,7 @@ index 00000000000..4372eb41e9c +void JavaThread::cache_global_variables() { } diff --git a/src/hotspot/os_cpu/linux_mips/thread_linux_mips.hpp b/src/hotspot/os_cpu/linux_mips/thread_linux_mips.hpp new file mode 100644 -index 00000000000..c38f6950fd0 +index 000000000..c38f6950f --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/thread_linux_mips.hpp @@ -0,0 +1,66 @@ @@ -114205,7 +114784,7 @@ index 00000000000..c38f6950fd0 +#endif // OS_CPU_LINUX_MIPS_VM_THREAD_LINUX_MIPS_HPP diff --git a/src/hotspot/os_cpu/linux_mips/vmStructs_linux_mips.hpp b/src/hotspot/os_cpu/linux_mips/vmStructs_linux_mips.hpp new file mode 100644 -index 00000000000..b7454bf045a +index 000000000..b7454bf04 --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/vmStructs_linux_mips.hpp @@ -0,0 +1,55 @@ @@ -114266,7 +114845,7 @@ index 00000000000..b7454bf045a +#endif // OS_CPU_LINUX_MIPS_VM_VMSTRUCTS_LINUX_MIPS_HPP diff --git a/src/hotspot/os_cpu/linux_mips/vm_version_linux_mips.cpp b/src/hotspot/os_cpu/linux_mips/vm_version_linux_mips.cpp new file mode 100644 -index 00000000000..93e4bea04c6 +index 000000000..93e4bea04 --- /dev/null +++ b/src/hotspot/os_cpu/linux_mips/vm_version_linux_mips.cpp @@ -0,0 +1,28 @@ @@ -114299,7 +114878,7 @@ index 00000000000..93e4bea04c6 +#include "runtime/os.hpp" +#include "runtime/vm_version.hpp" diff --git a/src/hotspot/share/adlc/formssel.cpp b/src/hotspot/share/adlc/formssel.cpp -index b45f432dac9..02bec17ddf3 100644 +index b45f432da..02bec17dd 100644 --- a/src/hotspot/share/adlc/formssel.cpp +++ b/src/hotspot/share/adlc/formssel.cpp @@ -22,6 +22,12 @@ @@ -114324,7 +114903,7 @@ index b45f432dac9..02bec17ddf3 100644 } diff --git a/src/hotspot/share/asm/codeBuffer.cpp b/src/hotspot/share/asm/codeBuffer.cpp -index 0012152d48d..e3660cab271 100644 +index 0012152d4..e3660cab2 100644 --- a/src/hotspot/share/asm/codeBuffer.cpp +++ b/src/hotspot/share/asm/codeBuffer.cpp @@ -22,6 +22,12 @@ @@ -114349,7 +114928,7 @@ index 0012152d48d..e3660cab271 100644 rtype == relocInfo::external_word_type, "code needs relocation information"); diff --git a/src/hotspot/share/c1/c1_Compiler.cpp b/src/hotspot/share/c1/c1_Compiler.cpp -index de173c64af1..df93c01d893 100644 +index de173c64a..df93c01d8 100644 --- a/src/hotspot/share/c1/c1_Compiler.cpp +++ b/src/hotspot/share/c1/c1_Compiler.cpp @@ -43,6 +43,12 @@ @@ -114375,7 +114954,7 @@ index de173c64af1..df93c01d893 100644 case vmIntrinsics::_updateDirectByteBufferCRC32C: #endif diff --git a/src/hotspot/share/c1/c1_LIR.cpp b/src/hotspot/share/c1/c1_LIR.cpp -index 308f3a09c15..53a68cdb2fd 100644 +index 308f3a09c..53a68cdb2 100644 --- a/src/hotspot/share/c1/c1_LIR.cpp +++ b/src/hotspot/share/c1/c1_LIR.cpp @@ -22,6 +22,12 @@ @@ -114527,7 +115106,7 @@ index 308f3a09c15..53a68cdb2fd 100644 void LIR_Op4::print_instr(outputStream* out) const { print_condition(out, condition()); out->print(" "); diff --git a/src/hotspot/share/c1/c1_LIR.hpp b/src/hotspot/share/c1/c1_LIR.hpp -index 717404e9726..e9a981b20c2 100644 +index 717404e97..e9a981b20 100644 --- a/src/hotspot/share/c1/c1_LIR.hpp +++ b/src/hotspot/share/c1/c1_LIR.hpp @@ -22,6 +22,12 @@ @@ -114764,7 +115343,7 @@ index 717404e9726..e9a981b20c2 100644 LIR_Opr cmp_opr1 = LIR_OprFact::illegalOpr, LIR_Opr cmp_opr2 = LIR_OprFact::illegalOpr) { append(new LIR_Op4(lir_cmove, condition, src1, src2, cmp_opr1, cmp_opr2, dst, type)); diff --git a/src/hotspot/share/c1/c1_LIRAssembler.cpp b/src/hotspot/share/c1/c1_LIRAssembler.cpp -index 989a6f8ad25..e288de2ab8e 100644 +index 989a6f8ad..e288de2ab 100644 --- a/src/hotspot/share/c1/c1_LIRAssembler.cpp +++ b/src/hotspot/share/c1/c1_LIRAssembler.cpp @@ -22,6 +22,12 @@ @@ -114799,7 +115378,7 @@ index 989a6f8ad25..e288de2ab8e 100644 switch(op->code()) { case lir_cmove: diff --git a/src/hotspot/share/c1/c1_LIRAssembler.hpp b/src/hotspot/share/c1/c1_LIRAssembler.hpp -index c82baa15fe7..84c34db4985 100644 +index c82baa15f..84c34db49 100644 --- a/src/hotspot/share/c1/c1_LIRAssembler.hpp +++ b/src/hotspot/share/c1/c1_LIRAssembler.hpp @@ -22,6 +22,12 @@ @@ -114834,7 +115413,7 @@ index c82baa15fe7..84c34db4985 100644 LIR_Opr cmp_opr1 = LIR_OprFact::illegalOpr, LIR_Opr cmp_opr2 = LIR_OprFact::illegalOpr); #else diff --git a/src/hotspot/share/c1/c1_LinearScan.cpp b/src/hotspot/share/c1/c1_LinearScan.cpp -index d3d38d11a90..6947406b2e7 100644 +index d3d38d11a..6947406b2 100644 --- a/src/hotspot/share/c1/c1_LinearScan.cpp +++ b/src/hotspot/share/c1/c1_LinearScan.cpp @@ -35,6 +35,12 @@ @@ -114887,7 +115466,7 @@ index d3d38d11a90..6947406b2e7 100644 prev_cmove = (LIR_Op4*)prev_op; #else diff --git a/src/hotspot/share/code/nmethod.cpp b/src/hotspot/share/code/nmethod.cpp -index f5861d1f3ed..e1b78dcf381 100644 +index f5861d1f3..e1b78dcf3 100644 --- a/src/hotspot/share/code/nmethod.cpp +++ b/src/hotspot/share/code/nmethod.cpp @@ -22,6 +22,12 @@ @@ -114924,7 +115503,7 @@ index f5861d1f3ed..e1b78dcf381 100644 st.print("runtime_call"); CallRelocation* r = (CallRelocation*)iter.reloc(); diff --git a/src/hotspot/share/code/relocInfo.cpp b/src/hotspot/share/code/relocInfo.cpp -index 47769c53a5b..ed69d18d759 100644 +index 47769c53a..ed69d18d7 100644 --- a/src/hotspot/share/code/relocInfo.cpp +++ b/src/hotspot/share/code/relocInfo.cpp @@ -402,6 +402,7 @@ void virtual_call_Relocation::unpack_data() { @@ -114953,7 +115532,7 @@ index 47769c53a5b..ed69d18d759 100644 CallRelocation* r = (CallRelocation*) reloc(); tty->print(" | [destination=" INTPTR_FORMAT "]", p2i(r->destination())); diff --git a/src/hotspot/share/code/relocInfo.hpp b/src/hotspot/share/code/relocInfo.hpp -index 55d4ac7c62d..b1c34733021 100644 +index 55d4ac7c6..b1c347330 100644 --- a/src/hotspot/share/code/relocInfo.hpp +++ b/src/hotspot/share/code/relocInfo.hpp @@ -266,7 +266,11 @@ class relocInfo { @@ -115010,7 +115589,7 @@ index 55d4ac7c62d..b1c34733021 100644 // Trampoline Relocations. // A trampoline allows to encode a small branch in the code, even if there diff --git a/src/hotspot/share/code/vtableStubs.cpp b/src/hotspot/share/code/vtableStubs.cpp -index 7ea2d19fcd3..7306230e8fb 100644 +index 7ea2d19fc..7306230e8 100644 --- a/src/hotspot/share/code/vtableStubs.cpp +++ b/src/hotspot/share/code/vtableStubs.cpp @@ -22,6 +22,12 @@ @@ -115047,7 +115626,7 @@ index 7ea2d19fcd3..7306230e8fb 100644 // ppc (linux, LE): 356 276 // ppc (AIX): 416 296 diff --git a/src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp b/src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp -index f0944108810..a8c1f97a80e 100644 +index f09441088..a8c1f97a8 100644 --- a/src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp +++ b/src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp @@ -22,6 +22,12 @@ @@ -115074,7 +115653,7 @@ index f0944108810..a8c1f97a80e 100644 } diff --git a/src/hotspot/share/gc/shared/c2/barrierSetC2.cpp b/src/hotspot/share/gc/shared/c2/barrierSetC2.cpp -index 56fdd2abeb4..17b9bcafd47 100644 +index 56fdd2abe..17b9bcafd 100644 --- a/src/hotspot/share/gc/shared/c2/barrierSetC2.cpp +++ b/src/hotspot/share/gc/shared/c2/barrierSetC2.cpp @@ -22,6 +22,12 @@ @@ -115114,7 +115693,7 @@ index 56fdd2abeb4..17b9bcafd47 100644 } } diff --git a/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp b/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp -index 7d31ff02e1a..07dac06aecf 100644 +index 7d31ff02e..07dac06ae 100644 --- a/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp +++ b/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp @@ -22,6 +22,12 @@ @@ -115140,7 +115719,7 @@ index 7d31ff02e1a..07dac06aecf 100644 #endif diff --git a/src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp b/src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp -index 0e99bf107c1..d5541cf8966 100644 +index 0e99bf107..d5541cf89 100644 --- a/src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp +++ b/src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp @@ -21,6 +21,12 @@ @@ -115166,7 +115745,7 @@ index 0e99bf107c1..d5541cf8966 100644 #else LIR_Op(), diff --git a/src/hotspot/share/interpreter/interpreterRuntime.cpp b/src/hotspot/share/interpreter/interpreterRuntime.cpp -index d66ed24d862..b682bb9d62a 100644 +index d66ed24d8..b682bb9d6 100644 --- a/src/hotspot/share/interpreter/interpreterRuntime.cpp +++ b/src/hotspot/share/interpreter/interpreterRuntime.cpp @@ -22,6 +22,12 @@ @@ -115192,7 +115771,7 @@ index d66ed24d862..b682bb9d62a 100644 if (src_address == dest_address) { return; diff --git a/src/hotspot/share/interpreter/interpreterRuntime.hpp b/src/hotspot/share/interpreter/interpreterRuntime.hpp -index c32431784aa..8209c42a1c4 100644 +index c32431784..8209c42a1 100644 --- a/src/hotspot/share/interpreter/interpreterRuntime.hpp +++ b/src/hotspot/share/interpreter/interpreterRuntime.hpp @@ -22,6 +22,12 @@ @@ -115218,7 +115797,7 @@ index c32431784aa..8209c42a1c4 100644 static void popframe_move_outgoing_args(JavaThread* current, void* src_address, void* dest_address); #endif diff --git a/src/hotspot/share/interpreter/templateInterpreterGenerator.hpp b/src/hotspot/share/interpreter/templateInterpreterGenerator.hpp -index 4e167ff451a..9441bae96c1 100644 +index 4e167ff45..9441bae96 100644 --- a/src/hotspot/share/interpreter/templateInterpreterGenerator.hpp +++ b/src/hotspot/share/interpreter/templateInterpreterGenerator.hpp @@ -22,6 +22,12 @@ @@ -115247,7 +115826,7 @@ index 4e167ff451a..9441bae96c1 100644 #ifdef PPC void lock_method(Register Rflags, Register Rscratch1, Register Rscratch2, bool flags_preloaded=false); diff --git a/src/hotspot/share/jfr/utilities/jfrBigEndian.hpp b/src/hotspot/share/jfr/utilities/jfrBigEndian.hpp -index 597ddb3800f..427a9503eaf 100644 +index 597ddb380..427a9503e 100644 --- a/src/hotspot/share/jfr/utilities/jfrBigEndian.hpp +++ b/src/hotspot/share/jfr/utilities/jfrBigEndian.hpp @@ -22,6 +22,12 @@ @@ -115273,7 +115852,7 @@ index 597ddb3800f..427a9503eaf 100644 #else #warning "Unconfigured platform" diff --git a/src/hotspot/share/jvmci/vmStructs_jvmci.cpp b/src/hotspot/share/jvmci/vmStructs_jvmci.cpp -index 3f57d487bae..3b49daaf96e 100644 +index 3f57d487b..3b49daaf9 100644 --- a/src/hotspot/share/jvmci/vmStructs_jvmci.cpp +++ b/src/hotspot/share/jvmci/vmStructs_jvmci.cpp @@ -22,6 +22,12 @@ @@ -115308,7 +115887,7 @@ index 3f57d487bae..3b49daaf96e 100644 #define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field) \ diff --git a/src/hotspot/share/memory/metaspace.cpp b/src/hotspot/share/memory/metaspace.cpp -index d1882c70e2c..7e62537658a 100644 +index d1882c70e..7e6253765 100644 --- a/src/hotspot/share/memory/metaspace.cpp +++ b/src/hotspot/share/memory/metaspace.cpp @@ -23,6 +23,12 @@ @@ -115362,7 +115941,7 @@ index d1882c70e2c..7e62537658a 100644 #endif // _LP64 diff --git a/src/hotspot/share/opto/classes.hpp b/src/hotspot/share/opto/classes.hpp -index 614d0b4e112..8d7764eb8a0 100644 +index 614d0b4e1..8d7764eb8 100644 --- a/src/hotspot/share/opto/classes.hpp +++ b/src/hotspot/share/opto/classes.hpp @@ -22,6 +22,12 @@ @@ -115387,7 +115966,7 @@ index 614d0b4e112..8d7764eb8a0 100644 macro(MinI) macro(MinL) diff --git a/src/hotspot/share/opto/compile.cpp b/src/hotspot/share/opto/compile.cpp -index 4e8e39ffa74..6c7770dbf9c 100644 +index c69208089..5cd2af09e 100644 --- a/src/hotspot/share/opto/compile.cpp +++ b/src/hotspot/share/opto/compile.cpp @@ -22,6 +22,12 @@ @@ -115412,7 +115991,7 @@ index 4e8e39ffa74..6c7770dbf9c 100644 if (n->as_MemBar()->trailing_load() && n->req() > MemBarNode::Precedent) { // At parse time, the trailing MemBarAcquire for a volatile load diff --git a/src/hotspot/share/opto/memnode.cpp b/src/hotspot/share/opto/memnode.cpp -index 074b129b059..a1886f813c3 100644 +index 074b129b0..a1886f813 100644 --- a/src/hotspot/share/opto/memnode.cpp +++ b/src/hotspot/share/opto/memnode.cpp @@ -22,6 +22,12 @@ @@ -115437,7 +116016,7 @@ index 074b129b059..a1886f813c3 100644 case Op_Initialize: return new InitializeNode(C, atp, pn); default: ShouldNotReachHere(); return nullptr; diff --git a/src/hotspot/share/opto/memnode.hpp b/src/hotspot/share/opto/memnode.hpp -index 99a30486274..71bf997533f 100644 +index 99a304862..71bf99753 100644 --- a/src/hotspot/share/opto/memnode.hpp +++ b/src/hotspot/share/opto/memnode.hpp @@ -22,6 +22,12 @@ @@ -115469,7 +116048,7 @@ index 99a30486274..71bf997533f 100644 public: OnSpinWaitNode(Compile* C, int alias_idx, Node* precedent) diff --git a/src/hotspot/share/opto/output.cpp b/src/hotspot/share/opto/output.cpp -index 43c46a0eb8f..af7a37a1bf2 100644 +index 43c46a0eb..af7a37a1b 100644 --- a/src/hotspot/share/opto/output.cpp +++ b/src/hotspot/share/opto/output.cpp @@ -22,6 +22,12 @@ @@ -115537,7 +116116,7 @@ index 43c46a0eb8f..af7a37a1bf2 100644 // Above we only verified that there is enough space in the instruction section. // However, the instruction may emit stubs that cause code buffer expansion. diff --git a/src/hotspot/share/opto/type.cpp b/src/hotspot/share/opto/type.cpp -index f13ffbc12af..f78be3e0871 100644 +index f13ffbc12..f78be3e08 100644 --- a/src/hotspot/share/opto/type.cpp +++ b/src/hotspot/share/opto/type.cpp @@ -22,6 +22,12 @@ @@ -115569,7 +116148,7 @@ index f13ffbc12af..f78be3e0871 100644 { Bad, T_ILLEGAL, "vectormask:", false, Op_RegVectMask, relocInfo::none }, // VectorMask. { Bad, T_ILLEGAL, "vectora:", false, Op_VecA, relocInfo::none }, // VectorA. diff --git a/src/hotspot/share/runtime/objectMonitor.cpp b/src/hotspot/share/runtime/objectMonitor.cpp -index 374816fd355..e7015344a18 100644 +index 374816fd3..e7015344a 100644 --- a/src/hotspot/share/runtime/objectMonitor.cpp +++ b/src/hotspot/share/runtime/objectMonitor.cpp @@ -22,6 +22,12 @@ @@ -115604,7 +116183,7 @@ index 374816fd355..e7015344a18 100644 assert(owner_raw() != current, "invariant"); assert(_Responsible != current, "invariant"); diff --git a/src/hotspot/share/runtime/os.cpp b/src/hotspot/share/runtime/os.cpp -index e786b057262..6f34a7d5ea5 100644 +index c846408fb..1b9afc8c4 100644 --- a/src/hotspot/share/runtime/os.cpp +++ b/src/hotspot/share/runtime/os.cpp @@ -22,6 +22,12 @@ @@ -115620,7 +116199,7 @@ index e786b057262..6f34a7d5ea5 100644 #include "precompiled.hpp" #include "jvm.h" #include "classfile/javaClasses.hpp" -@@ -1238,7 +1244,8 @@ bool os::is_first_C_frame(frame* fr) { +@@ -1240,7 +1246,8 @@ bool os::is_first_C_frame(frame* fr) { if ((uintptr_t)fr->sender_sp() == (uintptr_t)-1 || is_pointer_bad(fr->sender_sp())) return true; uintptr_t old_fp = (uintptr_t)fr->link_or_null(); @@ -115631,7 +116210,7 @@ index e786b057262..6f34a7d5ea5 100644 // stack grows downwards; if old_fp is below current fp or if the stack diff --git a/src/hotspot/share/runtime/sharedRuntime.cpp b/src/hotspot/share/runtime/sharedRuntime.cpp -index 9af4b513a99..1a3e9fd0ad5 100644 +index 9af4b513a..1a3e9fd0a 100644 --- a/src/hotspot/share/runtime/sharedRuntime.cpp +++ b/src/hotspot/share/runtime/sharedRuntime.cpp @@ -22,6 +22,12 @@ @@ -115657,7 +116236,7 @@ index 9af4b513a99..1a3e9fd0ad5 100644 // in the constant pool to ensure ordering between the barrier and oops // accesses. For native_wrappers we need a constant. diff --git a/src/hotspot/share/runtime/sharedRuntimeTrig.cpp b/src/hotspot/share/runtime/sharedRuntimeTrig.cpp -index 6e3aa30b0b9..8f1d486f5cb 100644 +index 6e3aa30b0..8f1d486f5 100644 --- a/src/hotspot/share/runtime/sharedRuntimeTrig.cpp +++ b/src/hotspot/share/runtime/sharedRuntimeTrig.cpp @@ -22,6 +22,13 @@ @@ -115690,7 +116269,7 @@ index 6e3aa30b0b9..8f1d486f5cb 100644 S1 = -1.66666666666666324348e-01, /* 0xBFC55555, 0x55555549 */ S2 = 8.33333333332248946124e-03, /* 0x3F811111, 0x1110F8A6 */ diff --git a/src/hotspot/share/runtime/thread.inline.hpp b/src/hotspot/share/runtime/thread.inline.hpp -index d86fce3c8ac..71bfd4dfa19 100644 +index d86fce3c8..71bfd4dfa 100644 --- a/src/hotspot/share/runtime/thread.inline.hpp +++ b/src/hotspot/share/runtime/thread.inline.hpp @@ -23,6 +23,12 @@ @@ -115725,7 +116304,7 @@ index d86fce3c8ac..71bfd4dfa19 100644 // Threads::create_vm() for size checks. Atomic::release_store((volatile jint*)&_thread_state, (jint)s); diff --git a/src/hotspot/share/runtime/vmStructs.cpp b/src/hotspot/share/runtime/vmStructs.cpp -index 33de84a68c1..7dc3d58f381 100644 +index 33de84a68..7dc3d58f3 100644 --- a/src/hotspot/share/runtime/vmStructs.cpp +++ b/src/hotspot/share/runtime/vmStructs.cpp @@ -22,6 +22,12 @@ @@ -115750,7 +116329,7 @@ index 33de84a68c1..7dc3d58f381 100644 declare_c2_type(BlackholeNode, MultiNode) \ declare_c2_type(InitializeNode, MemBarNode) \ diff --git a/src/hotspot/share/utilities/macros.hpp b/src/hotspot/share/utilities/macros.hpp -index 33ecfe089f8..4d024b35735 100644 +index 33ecfe089..4d024b357 100644 --- a/src/hotspot/share/utilities/macros.hpp +++ b/src/hotspot/share/utilities/macros.hpp @@ -22,6 +22,12 @@ @@ -115841,7 +116420,7 @@ index 33ecfe089f8..4d024b35735 100644 #define COMPILER_HEADER(basename) XSTR(COMPILER_HEADER_STEM(basename).hpp) #define COMPILER_HEADER_INLINE(basename) XSTR(COMPILER_HEADER_STEM(basename).inline.hpp) diff --git a/src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp b/src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp -index 9accba375a2..200bb1e82f3 100644 +index 9accba375..200bb1e82 100644 --- a/src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp +++ b/src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp @@ -23,6 +23,13 @@ @@ -115908,7 +116487,7 @@ index 9accba375a2..200bb1e82f3 100644 #define REG_INDEX(reg) sun_jvm_hotspot_debugger_ppc64_PPC64ThreadContext_##reg diff --git a/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h b/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h -index a69496e77a4..64312b4705d 100644 +index a69496e77..64312b470 100644 --- a/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h +++ b/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h @@ -22,6 +22,13 @@ @@ -115946,7 +116525,7 @@ index a69496e77a4..64312b4705d 100644 // This C bool type must be int for compatibility with Linux calls and // it would be a mistake to equivalence it to C++ bool on many platforms diff --git a/src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c b/src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c -index 3068f475626..d35cc73221f 100644 +index 3068f4756..d35cc7322 100644 --- a/src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c +++ b/src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c @@ -22,6 +22,12 @@ @@ -115972,7 +116551,7 @@ index 3068f475626..d35cc73221f 100644 print_debug("ptrace(PTRACE_GETREGS, ...) failed for lwp(%d) errno(%d) \"%s\"\n", pid, errno, strerror(errno)); diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java -index e0e9b4b6727..9af1218ed46 100644 +index e0e9b4b67..9af1218ed 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java @@ -23,6 +23,12 @@ @@ -116010,7 +116589,7 @@ index e0e9b4b6727..9af1218ed46 100644 machDesc = (MachineDescription) diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionLOONGARCH64.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionLOONGARCH64.java new file mode 100644 -index 00000000000..99cea8c7f14 +index 000000000..99cea8c7f --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionLOONGARCH64.java @@ -0,0 +1,41 @@ @@ -116057,7 +116636,7 @@ index 00000000000..99cea8c7f14 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionMIPS64.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionMIPS64.java new file mode 100644 -index 00000000000..1b49efd2017 +index 000000000..1b49efd20 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionMIPS64.java @@ -0,0 +1,41 @@ @@ -116103,7 +116682,7 @@ index 00000000000..1b49efd2017 + } +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxCDebugger.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxCDebugger.java -index 469bb6e0665..ea3a118de2a 100644 +index 469bb6e06..ea3a118de 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxCDebugger.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxCDebugger.java @@ -23,6 +23,12 @@ @@ -116160,7 +116739,7 @@ index 469bb6e0665..ea3a118de2a 100644 Address sp = context.getRegisterAsAddress(PPC64ThreadContext.SP); if (sp == null) return null; diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxThreadContextFactory.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxThreadContextFactory.java -index 69a34fe2afa..c21e0d6a611 100644 +index 69a34fe2a..c21e0d6a6 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxThreadContextFactory.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxThreadContextFactory.java @@ -22,6 +22,12 @@ @@ -116200,7 +116779,7 @@ index 69a34fe2afa..c21e0d6a611 100644 try { diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64CFrame.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64CFrame.java new file mode 100644 -index 00000000000..0e6caee5a49 +index 000000000..0e6caee5a --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64CFrame.java @@ -0,0 +1,92 @@ @@ -116298,7 +116877,7 @@ index 00000000000..0e6caee5a49 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64ThreadContext.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64ThreadContext.java new file mode 100644 -index 00000000000..604642598e0 +index 000000000..604642598 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64ThreadContext.java @@ -0,0 +1,47 @@ @@ -116351,7 +116930,7 @@ index 00000000000..604642598e0 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/mips64/LinuxMIPS64CFrame.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/mips64/LinuxMIPS64CFrame.java new file mode 100644 -index 00000000000..2e3eb564da2 +index 000000000..2e3eb564d --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/mips64/LinuxMIPS64CFrame.java @@ -0,0 +1,80 @@ @@ -116437,7 +117016,7 @@ index 00000000000..2e3eb564da2 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/mips64/LinuxMIPS64ThreadContext.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/mips64/LinuxMIPS64ThreadContext.java new file mode 100644 -index 00000000000..98e0f3f0bcf +index 000000000..98e0f3f0b --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/mips64/LinuxMIPS64ThreadContext.java @@ -0,0 +1,47 @@ @@ -116490,7 +117069,7 @@ index 00000000000..98e0f3f0bcf +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/loongarch64/LOONGARCH64ThreadContext.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/loongarch64/LOONGARCH64ThreadContext.java new file mode 100644 -index 00000000000..1de3cb1a472 +index 000000000..1de3cb1a4 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/loongarch64/LOONGARCH64ThreadContext.java @@ -0,0 +1,128 @@ @@ -116624,7 +117203,7 @@ index 00000000000..1de3cb1a472 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/mips64/MIPS64ThreadContext.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/mips64/MIPS64ThreadContext.java new file mode 100644 -index 00000000000..d3479a65ea0 +index 000000000..d3479a65e --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/mips64/MIPS64ThreadContext.java @@ -0,0 +1,128 @@ @@ -116757,7 +117336,7 @@ index 00000000000..d3479a65ea0 + public abstract Address getRegisterAsAddress(int index); +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/posix/elf/ELFHeader.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/posix/elf/ELFHeader.java -index 7113a3a497b..de47531db7c 100644 +index 7113a3a49..de47531db 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/posix/elf/ELFHeader.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/posix/elf/ELFHeader.java @@ -22,6 +22,12 @@ @@ -116784,7 +117363,7 @@ index 7113a3a497b..de47531db7c 100644 public short getFileType(); diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64Thread.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64Thread.java new file mode 100644 -index 00000000000..1f60fa6cfb2 +index 000000000..1f60fa6cf --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64Thread.java @@ -0,0 +1,92 @@ @@ -116882,7 +117461,7 @@ index 00000000000..1f60fa6cfb2 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64ThreadContext.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64ThreadContext.java new file mode 100644 -index 00000000000..ef5597ac4e9 +index 000000000..ef5597ac4 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64ThreadContext.java @@ -0,0 +1,47 @@ @@ -116935,7 +117514,7 @@ index 00000000000..ef5597ac4e9 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64ThreadFactory.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64ThreadFactory.java new file mode 100644 -index 00000000000..abad1bb38b7 +index 000000000..abad1bb38 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64ThreadFactory.java @@ -0,0 +1,45 @@ @@ -116986,7 +117565,7 @@ index 00000000000..abad1bb38b7 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64Thread.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64Thread.java new file mode 100644 -index 00000000000..5c1e0be8932 +index 000000000..5c1e0be89 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64Thread.java @@ -0,0 +1,92 @@ @@ -117084,7 +117663,7 @@ index 00000000000..5c1e0be8932 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64ThreadContext.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64ThreadContext.java new file mode 100644 -index 00000000000..d44223d768a +index 000000000..d44223d76 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64ThreadContext.java @@ -0,0 +1,47 @@ @@ -117137,7 +117716,7 @@ index 00000000000..d44223d768a +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64ThreadFactory.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64ThreadFactory.java new file mode 100644 -index 00000000000..bad478fc5ca +index 000000000..bad478fc5 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64ThreadFactory.java @@ -0,0 +1,45 @@ @@ -117187,7 +117766,7 @@ index 00000000000..bad478fc5ca + } +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/RemoteDebuggerClient.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/RemoteDebuggerClient.java -index 2bd396c8f4f..da89480f72c 100644 +index 2bd396c8f..da89480f7 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/RemoteDebuggerClient.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/RemoteDebuggerClient.java @@ -22,6 +22,12 @@ @@ -117231,7 +117810,7 @@ index 2bd396c8f4f..da89480f72c 100644 Class tf = Class.forName("sun.jvm.hotspot.debugger.remote." + diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64Thread.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64Thread.java new file mode 100644 -index 00000000000..242dd279e1a +index 000000000..242dd279e --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64Thread.java @@ -0,0 +1,54 @@ @@ -117291,7 +117870,7 @@ index 00000000000..242dd279e1a +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadContext.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadContext.java new file mode 100644 -index 00000000000..634d5ad049f +index 000000000..634d5ad04 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadContext.java @@ -0,0 +1,51 @@ @@ -117348,7 +117927,7 @@ index 00000000000..634d5ad049f +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadFactory.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadFactory.java new file mode 100644 -index 00000000000..4fb9cc7c069 +index 000000000..4fb9cc7c0 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadFactory.java @@ -0,0 +1,45 @@ @@ -117399,7 +117978,7 @@ index 00000000000..4fb9cc7c069 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64Thread.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64Thread.java new file mode 100644 -index 00000000000..c2f7d841f20 +index 000000000..c2f7d841f --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64Thread.java @@ -0,0 +1,54 @@ @@ -117459,7 +118038,7 @@ index 00000000000..c2f7d841f20 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64ThreadContext.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64ThreadContext.java new file mode 100644 -index 00000000000..23646905d74 +index 000000000..23646905d --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64ThreadContext.java @@ -0,0 +1,51 @@ @@ -117516,7 +118095,7 @@ index 00000000000..23646905d74 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64ThreadFactory.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64ThreadFactory.java new file mode 100644 -index 00000000000..b39b0144901 +index 000000000..b39b01449 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64ThreadFactory.java @@ -0,0 +1,45 @@ @@ -117566,7 +118145,7 @@ index 00000000000..b39b0144901 + } +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java -index d16ac8aae51..de1e70a7290 100644 +index d16ac8aae..de1e70a72 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java @@ -22,6 +22,12 @@ @@ -117604,7 +118183,7 @@ index d16ac8aae51..de1e70a7290 100644 access = (JavaThreadPDAccess) diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_loongarch64/LinuxLOONGARCH64JavaThreadPDAccess.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_loongarch64/LinuxLOONGARCH64JavaThreadPDAccess.java new file mode 100644 -index 00000000000..75d6bf2c642 +index 000000000..75d6bf2c6 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_loongarch64/LinuxLOONGARCH64JavaThreadPDAccess.java @@ -0,0 +1,135 @@ @@ -117745,7 +118324,7 @@ index 00000000000..75d6bf2c642 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_mips64/LinuxMIPS64JavaThreadPDAccess.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_mips64/LinuxMIPS64JavaThreadPDAccess.java new file mode 100644 -index 00000000000..88223744932 +index 000000000..882237449 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_mips64/LinuxMIPS64JavaThreadPDAccess.java @@ -0,0 +1,135 @@ @@ -117886,7 +118465,7 @@ index 00000000000..88223744932 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64CurrentFrameGuess.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64CurrentFrameGuess.java new file mode 100644 -index 00000000000..824270e1329 +index 000000000..824270e13 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64CurrentFrameGuess.java @@ -0,0 +1,250 @@ @@ -118142,7 +118721,7 @@ index 00000000000..824270e1329 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64Frame.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64Frame.java new file mode 100644 -index 00000000000..576654594d8 +index 000000000..576654594 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64Frame.java @@ -0,0 +1,519 @@ @@ -118667,7 +119246,7 @@ index 00000000000..576654594d8 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64JavaCallWrapper.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64JavaCallWrapper.java new file mode 100644 -index 00000000000..0ad9573a42d +index 000000000..0ad9573a4 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64JavaCallWrapper.java @@ -0,0 +1,59 @@ @@ -118732,7 +119311,7 @@ index 00000000000..0ad9573a42d +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64RegisterMap.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64RegisterMap.java new file mode 100644 -index 00000000000..2cf904d3885 +index 000000000..2cf904d38 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64RegisterMap.java @@ -0,0 +1,52 @@ @@ -118790,7 +119369,7 @@ index 00000000000..2cf904d3885 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64CurrentFrameGuess.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64CurrentFrameGuess.java new file mode 100644 -index 00000000000..c11458abe2c +index 000000000..c11458abe --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64CurrentFrameGuess.java @@ -0,0 +1,217 @@ @@ -119013,7 +119592,7 @@ index 00000000000..c11458abe2c +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64Frame.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64Frame.java new file mode 100644 -index 00000000000..e11d64737dd +index 000000000..e11d64737 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64Frame.java @@ -0,0 +1,539 @@ @@ -119558,7 +120137,7 @@ index 00000000000..e11d64737dd +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64JavaCallWrapper.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64JavaCallWrapper.java new file mode 100644 -index 00000000000..8a4a28a6055 +index 000000000..8a4a28a60 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64JavaCallWrapper.java @@ -0,0 +1,59 @@ @@ -119623,7 +120202,7 @@ index 00000000000..8a4a28a6055 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64RegisterMap.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64RegisterMap.java new file mode 100644 -index 00000000000..f2da760af4a +index 000000000..f2da760af --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64RegisterMap.java @@ -0,0 +1,52 @@ @@ -119680,7 +120259,7 @@ index 00000000000..f2da760af4a + protected Address getLocationPD(VMReg reg) { return null; } +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java -index f4cd4873207..6901946e58a 100644 +index f4cd48732..6901946e5 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java @@ -22,6 +22,13 @@ @@ -119721,7 +120300,7 @@ index f4cd4873207..6901946e58a 100644 } diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotJVMCIBackendFactory.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotJVMCIBackendFactory.java new file mode 100644 -index 00000000000..1f54e9f3c59 +index 000000000..1f54e9f3c --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotJVMCIBackendFactory.java @@ -0,0 +1,142 @@ @@ -119869,7 +120448,7 @@ index 00000000000..1f54e9f3c59 +} diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotRegisterConfig.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotRegisterConfig.java new file mode 100644 -index 00000000000..e1a007000d2 +index 000000000..e1a007000 --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotRegisterConfig.java @@ -0,0 +1,297 @@ @@ -120172,7 +120751,7 @@ index 00000000000..e1a007000d2 +} diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotVMConfig.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotVMConfig.java new file mode 100644 -index 00000000000..0a2e857204c +index 000000000..0a2e85720 --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotVMConfig.java @@ -0,0 +1,77 @@ @@ -120255,7 +120834,7 @@ index 00000000000..0a2e857204c +} diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/package-info.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/package-info.java new file mode 100644 -index 00000000000..74c6ca9801f +index 000000000..74c6ca980 --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/package-info.java @@ -0,0 +1,28 @@ @@ -120289,7 +120868,7 @@ index 00000000000..74c6ca9801f +package jdk.vm.ci.hotspot.loongarch64; diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64.java new file mode 100644 -index 00000000000..930b17e820a +index 000000000..930b17e82 --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64.java @@ -0,0 +1,249 @@ @@ -120544,7 +121123,7 @@ index 00000000000..930b17e820a +} diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64Kind.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64Kind.java new file mode 100644 -index 00000000000..047a1dbbe36 +index 000000000..047a1dbbe --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64Kind.java @@ -0,0 +1,163 @@ @@ -120713,7 +121292,7 @@ index 00000000000..047a1dbbe36 +} diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/package-info.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/package-info.java new file mode 100644 -index 00000000000..6df1b7b3a92 +index 000000000..6df1b7b3a --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/package-info.java @@ -0,0 +1,28 @@ @@ -120746,7 +121325,7 @@ index 00000000000..6df1b7b3a92 + */ +package jdk.vm.ci.loongarch64; diff --git a/src/jdk.internal.vm.ci/share/classes/module-info.java b/src/jdk.internal.vm.ci/share/classes/module-info.java -index ed197695720..62a4ff4be0f 100644 +index ed1976957..62a4ff4be 100644 --- a/src/jdk.internal.vm.ci/share/classes/module-info.java +++ b/src/jdk.internal.vm.ci/share/classes/module-info.java @@ -23,6 +23,12 @@ @@ -120770,7 +121349,7 @@ index ed197695720..62a4ff4be0f 100644 jdk.vm.ci.hotspot.amd64.AMD64HotSpotJVMCIBackendFactory; } diff --git a/src/utils/hsdis/Makefile b/src/utils/hsdis/Makefile -index 66dac7130bd..dd2ccd340f2 100644 +index 66dac7130..dd2ccd340 100644 --- a/src/utils/hsdis/Makefile +++ b/src/utils/hsdis/Makefile @@ -89,6 +89,9 @@ CC = gcc @@ -120784,7 +121363,7 @@ index 66dac7130bd..dd2ccd340f2 100644 OUTFLAGS += -o $@ else diff --git a/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java b/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java -index 4c56daebfb8..92836130408 100644 +index 4c56daebf..928361304 100644 --- a/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java +++ b/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java @@ -21,12 +21,18 @@ @@ -120808,7 +121387,7 @@ index 4c56daebfb8..92836130408 100644 * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox * @run main/othervm/timeout=600 -Xbootclasspath/a:. diff --git a/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java b/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java -index 03016ea3dd6..62ce6c1a7a5 100644 +index 03016ea3d..62ce6c1a7 100644 --- a/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java +++ b/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java @@ -21,6 +21,12 @@ @@ -120834,7 +121413,7 @@ index 03016ea3dd6..62ce6c1a7a5 100644 * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java b/test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java -index 468cd83d7a2..40d2b03e301 100644 +index 468cd83d7..40d2b03e3 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java @@ -21,6 +21,12 @@ @@ -120878,7 +121457,7 @@ index 468cd83d7a2..40d2b03e301 100644 this.checkUseSHA = checkUseSHA; } diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/CodeInstallationTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/CodeInstallationTest.java -index d7ecc7c04ef..0d47a2f3037 100644 +index d7ecc7c04..0d47a2f30 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/CodeInstallationTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/CodeInstallationTest.java @@ -20,16 +20,25 @@ @@ -120917,7 +121496,7 @@ index d7ecc7c04ef..0d47a2f3037 100644 Assert.fail("unsupported architecture"); return null; diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/DataPatchTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/DataPatchTest.java -index 2e3f90368b1..a07fcc8af94 100644 +index 2e3f90368..a07fcc8af 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/DataPatchTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/DataPatchTest.java @@ -21,10 +21,16 @@ @@ -120950,7 +121529,7 @@ index 2e3f90368b1..a07fcc8af94 100644 */ diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/InterpreterFrameSizeTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/InterpreterFrameSizeTest.java -index b88832677eb..00860c8a66a 100644 +index b88832677..00860c8a6 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/InterpreterFrameSizeTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/InterpreterFrameSizeTest.java @@ -21,10 +21,16 @@ @@ -120983,7 +121562,7 @@ index b88832677eb..00860c8a66a 100644 */ diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/MaxOopMapStackOffsetTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/MaxOopMapStackOffsetTest.java -index f473d089a54..6ca7b76f1e7 100644 +index f473d089a..6ca7b76f1 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/MaxOopMapStackOffsetTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/MaxOopMapStackOffsetTest.java @@ -21,10 +21,16 @@ @@ -121016,7 +121595,7 @@ index f473d089a54..6ca7b76f1e7 100644 */ diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java -index 0f5c8be3f2d..3b6b464b1c1 100644 +index 0f5c8be3f..3b6b464b1 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java @@ -21,10 +21,16 @@ @@ -121049,7 +121628,7 @@ index 0f5c8be3f2d..3b6b464b1c1 100644 */ package jdk.vm.ci.code.test; diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleCodeInstallationTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleCodeInstallationTest.java -index e5fc53e8013..75494d5ccf1 100644 +index e5fc53e80..75494d5cc 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleCodeInstallationTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleCodeInstallationTest.java @@ -21,10 +21,16 @@ @@ -121082,7 +121661,7 @@ index e5fc53e8013..75494d5ccf1 100644 */ diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java -index bfd611312a2..08be94ac132 100644 +index bfd611312..08be94ac1 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java @@ -21,10 +21,16 @@ @@ -121115,7 +121694,7 @@ index bfd611312a2..08be94ac132 100644 */ diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/VirtualObjectDebugInfoTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/VirtualObjectDebugInfoTest.java -index 1fb0d77eb73..b2d40f70a80 100644 +index 1fb0d77eb..b2d40f70a 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/VirtualObjectDebugInfoTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/VirtualObjectDebugInfoTest.java @@ -21,10 +21,16 @@ @@ -121149,7 +121728,7 @@ index 1fb0d77eb73..b2d40f70a80 100644 diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/loongarch64/LoongArch64TestAssembler.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/loongarch64/LoongArch64TestAssembler.java new file mode 100644 -index 00000000000..4c76868453a +index 000000000..4c7686845 --- /dev/null +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/loongarch64/LoongArch64TestAssembler.java @@ -0,0 +1,568 @@ @@ -121722,7 +122301,7 @@ index 00000000000..4c76868453a + +} diff --git a/test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java b/test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java -index 2f2395b77c6..58482edb32e 100644 +index 2f2395b77..58482edb3 100644 --- a/test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java +++ b/test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java @@ -21,6 +21,12 @@ @@ -121750,7 +122329,7 @@ index 2f2395b77c6..58482edb32e 100644 public static final String CHECKCAST_ARRAYCOPY = "(.*((?i:call_leaf_nofp,runtime)|CALL,\\s?runtime leaf nofp|BCTRL.*.leaf call).*checkcast_arraycopy.*" + END; diff --git a/test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java b/test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java -index 85fd3fa938d..0655f2b0bd1 100644 +index 85fd3fa93..0655f2b0b 100644 --- a/test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java +++ b/test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java @@ -21,6 +21,12 @@ @@ -121794,7 +122373,7 @@ index 85fd3fa938d..0655f2b0bd1 100644 .shouldMatch("Test_MT2/.*::test \\(3 bytes\\) made not entrant"); } else { diff --git a/test/hotspot/jtreg/compiler/runtime/criticalnatives/argumentcorruption/CheckLongArgs.java b/test/hotspot/jtreg/compiler/runtime/criticalnatives/argumentcorruption/CheckLongArgs.java -index 10d87d51f0f..dbea76741d6 100644 +index 10d87d51f..dbea76741 100644 --- a/test/hotspot/jtreg/compiler/runtime/criticalnatives/argumentcorruption/CheckLongArgs.java +++ b/test/hotspot/jtreg/compiler/runtime/criticalnatives/argumentcorruption/CheckLongArgs.java @@ -21,10 +21,17 @@ @@ -121816,7 +122395,7 @@ index 10d87d51f0f..dbea76741d6 100644 */ package compiler.runtime.criticalnatives.argumentcorruption; diff --git a/test/hotspot/jtreg/compiler/runtime/criticalnatives/lookup/LookUp.java b/test/hotspot/jtreg/compiler/runtime/criticalnatives/lookup/LookUp.java -index 23c1e6e6acb..2f402d567d9 100644 +index 23c1e6e6a..2f402d567 100644 --- a/test/hotspot/jtreg/compiler/runtime/criticalnatives/lookup/LookUp.java +++ b/test/hotspot/jtreg/compiler/runtime/criticalnatives/lookup/LookUp.java @@ -21,10 +21,17 @@ @@ -121838,7 +122417,7 @@ index 23c1e6e6acb..2f402d567d9 100644 */ package compiler.runtime.criticalnatives.lookup; diff --git a/test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java b/test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java -index 689c7c8cc2f..f734c1baa3f 100644 +index 689c7c8cc..f734c1baa 100644 --- a/test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java +++ b/test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java @@ -21,6 +21,12 @@ @@ -121896,7 +122475,7 @@ index 689c7c8cc2f..f734c1baa3f 100644 public static final BooleanSupplier SHA512_INSTRUCTION_AVAILABLE = new OrPredicate(new CPUSpecificPredicate("aarch64.*", new String[] { "sha512" }, null), diff --git a/test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java b/test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java -index 36f74d01b54..035b91b9d8e 100644 +index e75e66438..3fdd75116 100644 --- a/test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java +++ b/test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java @@ -21,6 +21,12 @@ @@ -121923,7 +122502,7 @@ index 36f74d01b54..035b91b9d8e 100644 } diff --git a/test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestIRMatching.java b/test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestIRMatching.java -index 26dd3514e8e..2818343ec3d 100644 +index 26dd3514e..2818343ec 100644 --- a/test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestIRMatching.java +++ b/test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestIRMatching.java @@ -21,6 +21,12 @@ @@ -121949,7 +122528,7 @@ index 26dd3514e8e..2818343ec3d 100644 } else if (Platform.isS390x()){ cmp = "CLFI"; diff --git a/test/hotspot/jtreg/vmTestbase/nsk/share/jdi/ArgumentHandler.java b/test/hotspot/jtreg/vmTestbase/nsk/share/jdi/ArgumentHandler.java -index 16863189500..e2f3a13473b 100644 +index 168631895..e2f3a1347 100644 --- a/test/hotspot/jtreg/vmTestbase/nsk/share/jdi/ArgumentHandler.java +++ b/test/hotspot/jtreg/vmTestbase/nsk/share/jdi/ArgumentHandler.java @@ -21,6 +21,12 @@ @@ -122177,30 +122756,8 @@ index 16863189500..e2f3a13473b 100644 + {"aix-ppc64", "dt_shmem"}, }; } -diff --git a/test/jdk/java/nio/channels/DatagramChannel/Disconnect.java b/test/jdk/java/nio/channels/DatagramChannel/Disconnect.java -index cdc5882fefd..16120f85168 100644 ---- a/test/jdk/java/nio/channels/DatagramChannel/Disconnect.java -+++ b/test/jdk/java/nio/channels/DatagramChannel/Disconnect.java -@@ -52,7 +52,7 @@ public class Disconnect { - if (IPSupport.hasIPv4()) { - // test with IPv4 only - try (DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET)) { -- InetAddress lo4 = InetAddress.ofLiteral("127.0.0.1"); -+ InetAddress lo4 = InetAddress.getByName("127.0.0.1"); - System.out.println("Testing with INET family and " + lo4); - test(dc, lo4); - test(dc, lo4); -@@ -62,7 +62,7 @@ public class Disconnect { - if (IPSupport.hasIPv6()) { - // test with IPv6 only - try (DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET6)) { -- InetAddress lo6 = InetAddress.ofLiteral("::1"); -+ InetAddress lo6 = InetAddress.getByName("::1"); - System.out.println("Testing with INET6 family and " + lo6); - test(dc, lo6); - test(dc, lo6); diff --git a/test/jdk/jdk/jfr/event/os/TestCPUInformation.java b/test/jdk/jdk/jfr/event/os/TestCPUInformation.java -index c5166580010..913136a1fd1 100644 +index c51665800..913136a1f 100644 --- a/test/jdk/jdk/jfr/event/os/TestCPUInformation.java +++ b/test/jdk/jdk/jfr/event/os/TestCPUInformation.java @@ -21,6 +21,12 @@ @@ -122228,7 +122785,7 @@ index c5166580010..913136a1fd1 100644 } } diff --git a/test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java b/test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java -index e78e200ac24..2b9fcc0ff47 100644 +index e78e200ac..2b9fcc0ff 100644 --- a/test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java +++ b/test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java @@ -33,6 +33,12 @@ import java.util.HashSet; @@ -122254,7 +122811,7 @@ index e78e200ac24..2b9fcc0ff47 100644 OS("isAix", "isLinux", "isOSX", "isWindows"), VM_TYPE("isClient", "isServer", "isMinimal", "isZero", "isEmbedded"), diff --git a/test/lib/jdk/test/lib/Platform.java b/test/lib/jdk/test/lib/Platform.java -index 2e2e16e6593..64b42446e84 100644 +index 2e2e16e65..64b42446e 100644 --- a/test/lib/jdk/test/lib/Platform.java +++ b/test/lib/jdk/test/lib/Platform.java @@ -21,6 +21,12 @@ @@ -122285,3 +122842,6 @@ index 2e2e16e6593..64b42446e84 100644 public static String getOsArch() { return osArch; } +-- +2.43.0 + diff --git a/add-version-txt.patch b/add-version-txt.patch index be2d555d0cd681c1ec02654da51a49477ac760c7..9ce549c410630f78515409d49aee386ce7bf6988 100644 --- a/add-version-txt.patch +++ b/add-version-txt.patch @@ -13,7 +13,7 @@ index 000000000..b717bafbe --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ -+17.0.13.0.13 ++17.0.14.0.13 -- 2.19.0 diff --git a/jdk-updates-jdk17u-jdk-17.0.13+11.tar.gz b/jdk-updates-jdk17u-jdk-17.0.14+7.tar.gz similarity index 86% rename from jdk-updates-jdk17u-jdk-17.0.13+11.tar.gz rename to jdk-updates-jdk17u-jdk-17.0.14+7.tar.gz index 0b1eca37b1f3299ab57054d1285c13c810eb0164..fefd7d5811e9195d24fea1b6d0dd3c58c67bf7f3 100644 Binary files a/jdk-updates-jdk17u-jdk-17.0.13+11.tar.gz and b/jdk-updates-jdk17u-jdk-17.0.14+7.tar.gz differ diff --git a/jdk17-Add-KAE-provider.patch b/jdk17-Add-KAE-provider.patch index cc4e7ea9a9bb509c24d9c6c1c1f3b002121ffe64..9ab81ba6a76f44f5d05eecd28c7d590ccb8dcd58 100644 --- a/jdk17-Add-KAE-provider.patch +++ b/jdk17-Add-KAE-provider.patch @@ -10630,7 +10630,7 @@ index 1e16c157f..9ed420d52 100644 import java.util.List; @@ -53,7 +54,13 @@ public class KeyAgreementTest { String kpgAlgo = args[1]; - String provider = args[2]; + String provider = System.getProperty("test.provider.name", args[2]); System.out.println("Testing " + kaAlgo); - AlgoSpec aSpec = AlgoSpec.valueOf(AlgoSpec.class, kaAlgo); + AlgoSpec aSpec; @@ -10663,16 +10663,18 @@ diff --git a/test/jdk/java/security/Signature/SignatureGetInstance.java b/test/j index c246773f8..b69258cd9 100644 --- a/test/jdk/java/security/Signature/SignatureGetInstance.java +++ b/test/jdk/java/security/Signature/SignatureGetInstance.java -@@ -49,8 +49,11 @@ public class SignatureGetInstance { +@@ -54,9 +54,13 @@ public class SignatureGetInstance { MyPrivKey testPriv = new MyPrivKey(); MyPubKey testPub = new MyPubKey(); + Provider kaeProvider = Security.getProvider("KAEProvider"); -+ String expectedProvName = kaeProvider != null ? "KAEProvider" : "SunRsaSign"; ++ String expectedProvName = kaeProvider != null ? "KAEProvider" : "SunRsaSign"; ++ + testDblInit(testPriv, testPub, true, "TestProvider"); -- testDblInit(kp.getPrivate(), kp.getPublic(), true, "SunRsaSign"); -+ testDblInit(kp.getPrivate(), kp.getPublic(), true, expectedProvName); + testDblInit(kp.getPrivate(), kp.getPublic(), true, +- System.getProperty("test.provider.name", "SunRsaSign")); ++ System.getProperty("test.provider.name", expectedProName)); testDblInit(testPriv, kp.getPublic(), false, null); testDblInit(kp.getPrivate(), testPub, false, null); @@ -12833,7 +12835,7 @@ index 58bcbe911..bfc38df35 100644 String expected; String value = args[1]; -- expected = "SunJCE"; +- expected = System.getProperty("test.provider.name", "SunJCE"); + + if (Security.getProperty("security.provider.1").equals("KAEProvider")) { + expected = "KAEProvider"; @@ -12873,12 +12875,12 @@ diff --git a/test/jdk/sun/security/pkcs11/policy b/test/jdk/sun/security/pkcs11/ index 54281a781..4d887e239 100644 --- a/test/jdk/sun/security/pkcs11/policy +++ b/test/jdk/sun/security/pkcs11/policy -@@ -1,3 +1,4 @@ +@@ -1,4 +1,5 @@ grant { permission java.lang.RuntimePermission "setSecurityManager"; + permission java.util.PropertyPermission "test.provider.name", "read"; + permission java.util.PropertyPermission "kae.disableKaeDispose", "read"; }; -\ No newline at end of file diff --git a/test/jdk/sun/security/ssl/CipherSuite/DisabledCurve.java b/test/jdk/sun/security/ssl/CipherSuite/DisabledCurve.java index 26304c5df..ca618ccfe 100644 --- a/test/jdk/sun/security/ssl/CipherSuite/DisabledCurve.java diff --git a/openjdk-17.spec b/openjdk-17.spec index 79cca59a1ac06e44b13b3570e4ef167bc6bdcf8f..315494a785a20d9cea538f2b85494b8b5ca19f84 100644 --- a/openjdk-17.spec +++ b/openjdk-17.spec @@ -162,7 +162,7 @@ # Used via new version scheme. JDK 17 was # GA'ed in March 2021 => 21.9 %global vendor_version_string 21.9 -%global securityver 13 +%global securityver 14 # buildjdkver is usually same as %%{majorver}, # but in time of bootstrap of next jdk, it is majorver-1, # and this it is better to change it here, on single place @@ -188,7 +188,7 @@ %global origin_nice OpenJDK %global top_level_dir_name %{origin} %global minorver 0 -%global buildver 11 +%global buildver 7 # priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk %global priority %( printf '%02d%02d%02d%02d' %{majorver} %{minorver} %{securityver} %{buildver} ) @@ -914,7 +914,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 8 +Release: 2 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages @@ -1963,6 +1963,21 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect %changelog +* Fri Feb 21 2025 songliyang - 1:17.0.14.7-2 +- fix LoongArch64 support patch apply error + +* Tue Feb 11 2025 Pan Xuefeng - 1:17.0.14.7-1 +- upgrade LoongArch64 port to 17.0.14 + +* Thu Jan 23 2025 Benshuai5D - 1:17.0.14.7-0 +- update to 17.0.14 +- modify 8264805-Backport-Ahead-of-Time-Compiler.patch +- modify 8280872-Reorder-code-cache-segments-to-improv.patch +- modify 8323066-TestSkipRebuildRemsetPhase.java-fails-with-S.patch +- modify Backport-Important-Fixed-Issues.patch +- modify add-version-txt.patch +- modify jdk17-Add-KAE-provider.patch + * Thu Dec 12 2024 kuenking111 - 1:17.0.13.11-8 - add Fix-a-concurrent-issue-of-program-data-ref-cnt.patch