Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
7238262
8385957: JFR: Sensitive command-line arguments still in environment v…
egahlin Jul 15, 2026
376ecc5
8386546: Fix race when reserving memory with NUMA interleaving on Win…
Jul 15, 2026
d1c87e5
8388080: Increase static size of some stubs for APX code
Jul 15, 2026
82a2089
8365575: AOT cache should include classes verified using "fail over" …
Jul 15, 2026
79568c9
8384557: Allow configuration of the JVM's temporary directory on Linux
coleenp Jul 15, 2026
c6a068a
8388183: Wrong example in documentation for String.toLowerCase()
naotoj Jul 15, 2026
96737cf
8387261: Locale.LanguageRange weight validation issues
justin-curtis-lu Jul 15, 2026
41a188f
8387463: Shenandoah: Use direct oop_oop_iterate methods for known typ…
shipilev Jul 15, 2026
c4a8cb2
8387640: vmTestbase/nsk/jdi/EventRequestManager/threadStartRequests/t…
plummercj Jul 15, 2026
2659bfe
8388347: Remove enablePreview from TestEnableNativeAccessJarManifest
liach Jul 15, 2026
399317d
8388357: ProblemList compiler/vectorapi/VectorStoreMaskIdentityTest.java
Jul 15, 2026
bc03bae
8387745: [aot] Several tests fail because a SoftReferenceKey cannot b…
Jul 16, 2026
820d28f
8370870: IGV: add simple regression tests for graph dumping
Jul 16, 2026
8047653
8382269: keytool man page references to "JKS" need to be cleaned up
PeyaPeyaPeyang Jul 16, 2026
816fe33
8387991: Optimize execution of runtime/Thread/TestSpinPause.java
aprilivy Jul 16, 2026
24a1532
8359758: O(n²) time complexity in sun.security.util.LocalizedMessage.…
Jul 16, 2026
b7b29c7
8388186: java -XX:UseSSE=2 -XX:+EnableX86ECoreOpts -version cras…
hgqxjj Jul 17, 2026
bb3baa8
8388360: Dead sharedRuntime.cpp stub name code
benjaminp Jul 17, 2026
c5c366a
8388284: [s390] resolve_jobject uses wrong branch condition after tmll
Jul 17, 2026
6987a35
8387718: JVMTI GetLocal/SetLocal: slot bounds check overflows for lon…
devnexen Jul 17, 2026
0ad1166
8387753: Improve SimpleDateFormat.set2DigitYearStart() documentation
vy Jul 17, 2026
3e67ebf
8387701: TestAVXRegisterDump: guarantee(how == 0) failed: test guarantee
MBaesken Jul 17, 2026
1603820
8387598: sun.net.httpserver.maxReqTime and maxRspTime properties expe…
vy Jul 17, 2026
2278ade
8387674: Remove isXP() function from jabswitch.cpp
MBaesken Jul 17, 2026
5bea309
8387698: C2 VectorAPI: Float16Vector::indexInRange hits: fatal error:…
Jul 17, 2026
a15f693
8387467: ZGC: Use shared thread-local _nmethod_disarmed_guard_value
aprilivy Jul 17, 2026
026a63d
8388285: [s390] compP_reg_mem is missing the barrier_data() == 0 pred…
Jul 17, 2026
9601cfb
8388399: RISC-V: Enable vector FP16 conversions with Zvfhmin
DingliZhang Jul 17, 2026
9e9fae6
8387652: [aarch64] Fallback mode for narrow klass decoding
tstuefe Jul 17, 2026
5b3456c
8388406: [BACKOUT] C2: crash in compiled code due to zero division be…
rwestrel Jul 17, 2026
ae6332d
8388358: HotCodeHeap should throw warning when enabled without C2
Jul 17, 2026
2a83c50
8373275: Improve DTLS handshaking
artur-oracle Jan 8, 2026
b84cef8
8368041: Enhance TLS certificate handling
Jan 14, 2026
1b0aeb0
8377498: Improve HttpServer handling
vy Mar 2, 2026
d72538f
8374058: Enhance JPEG handling
jayathirthrao Mar 4, 2026
a8834d6
8378687: Improve delegation of HttpURLConnection
dfuch Mar 6, 2026
0203dcf
8377833: Enhance Jar file processing
wangweij Mar 17, 2026
404a4dd
8380672: Improve certification checking
artur-oracle Apr 8, 2026
33e2200
8381039: Enhance AWT ImagingLib
jayathirthrao Apr 10, 2026
48d3260
8381519: Enhance Der Value Handling
Apr 16, 2026
7e17c40
8381796: Enhance Certificate parsing
Apr 23, 2026
24def16
8381049: Enhance Jar handling
wangweij Apr 27, 2026
88fb149
8377158: Enhance XBM image support
jayathirthrao May 11, 2026
c6aaf91
8385076: Follow-on fix for Improve certification checking
artur-oracle May 21, 2026
e065824
8387210: PPC64: Remove postalloc_expand from EncodePKlass and DecodeN…
dbriemann Jul 18, 2026
e487b0d
8388075: RISC-V: Auto-enable Zvbc extension features
zifeihan Jul 18, 2026
2ac4a2d
8386595: Two java/net/MulticastSocket tests fail on machines with no …
ArnoZeller Jul 20, 2026
b61ef6b
8387977: The java manpage should describe the new main method variants
lahodaj Jul 20, 2026
acdcbf8
8388312: ZGC: Diagnostic VM option `ZIndexDistributorStrategy` is not…
hgqxjj Jul 20, 2026
9b69184
8387377: Compilation is very slow when --module-path contains many Au…
lahodaj Jul 20, 2026
b0417f6
8388456: RISC-V: Add UseZvbb to RVA23U64Profile
zifeihan Jul 20, 2026
78ee01b
8387965: Incorrect line numbers for instanceof with pattern matching
lahodaj Jul 20, 2026
1f064af
8387874: Timeout when running test BulkCipherDisabledAlgorithms
chmielewskiandreas Jul 20, 2026
857df83
8388439: [s390x] LoadNKlass rule doesn't kill CC
offamitkumar Jul 20, 2026
87c1807
8388381: appcds/aotClassLinking/AddReads.java fails with assert(stub_…
adinn Jul 20, 2026
3623246
8383563: Record pattern inference fails when inferred type arguments …
mcimadamore Jul 20, 2026
99255c4
8186876: JShell: access javadoc for user/library classes
lahodaj Jul 20, 2026
bb53191
8376599: Update Cipher/PBE/PBEKeyTest.java for non-ASCII characters
Jul 20, 2026
436e364
8387375: Update package sun.font to use instanceof pattern variable
Jul 20, 2026
4e30a93
8387073: C2: StoreNode::Ideal wrongly optimizes away scalar store bef…
mhaessig Jul 20, 2026
647c195
8386116: vm/jvmti/StopThread/stop001/stop00103/stop00103a.html trips …
pchilano Jul 20, 2026
ffd46e0
8388464: New test serviceability/jvmti/GetLocalVariable/GetSetLocalSl…
devnexen Jul 20, 2026
9335968
8386593: AArch64: serviceability/sa/TestJhsdbJstackMixedWithXComp.jav…
YaSuenag Jul 21, 2026
2fbd898
8388477: Replace false with 0 in IntelJccErratum::compute_padding
albertnetymk Jul 21, 2026
659a1f3
8386680: Specify how cipher suite matching is implemented in jdk.tls.…
seanjmullan Jul 21, 2026
32ef6a7
8388046: (fs) UnixFileSystem Flags.failIfUnableToCopyPosix and Flags.…
benjaminp Jul 21, 2026
b65f46d
8388523: C2: Test compiler/igvn/TestMaskedStoreIdealization.java failed
mhaessig Jul 21, 2026
9efe2dd
Merge
Jul 21, 2026
bf7a715
8385367: JTextComponent#setDocument() can reattach old AccessibleContext
Jul 21, 2026
2be8e88
8272194: java.sql.Date::toLocalDate() broken for dates before 1 A.D.
Sholto Jul 21, 2026
70868ac
8388457: parse_integer: typo in hex prefix detection causes out-of-bo…
devnexen Jul 21, 2026
694ceba
8387594: AArch64: Support vector integer division for SVE
Jul 22, 2026
16fbf62
8388463: Aarch64+Zero build is broken by JDK-8387652
iklam Jul 22, 2026
e60bb72
8388461: G1: Missing G1FromCardCache footprint
albertnetymk Jul 22, 2026
13cb51b
8388538: com/sun/net/httpserver/simpleserver/jwebserver/MaxRequestTim…
djelinski Jul 22, 2026
68ca4e0
8387750: 'java -XshowSettings' alone should not be an error
hgqxjj Jul 22, 2026
93d30d3
8387876: Remove psapi lib
MBaesken Jul 22, 2026
a9d2141
8388487: Shenandoah: Robust stack watermark epoch wraparound
shipilev Jul 22, 2026
a97d110
8388697: Typo "maxiumum" instead of "maximum" in jdk.httpserver's mod…
jaikiran Jul 22, 2026
0866799
8388553: Proxy class generation fails when the jdk.proxy.ProxyGenerat…
jaikiran Jul 22, 2026
6f7fae1
8387415: Unneeded check for bmi2 support for VectorCmpMasked opcode
hgqxjj Jul 22, 2026
6e03781
8381565: FileDialogDropTargetTest.java fails: Unexpected exit from te…
Jul 22, 2026
cd7645c
8388449: GenShen: Degenerated cycle could be skipped
Jul 22, 2026
51b7e5c
8133167: String.toLowerCase() for sigma does not use Final_Sigma cond…
naotoj Jul 22, 2026
611f186
8388695: Remove PrintRewrites
coleenp Jul 22, 2026
303b84d
8384882: jvmti/IterateOverReachableObjects/iterreachobj002 fails with…
Jul 22, 2026
4bbe111
8388694: Refactor metaspace_pointers_do() operations for BSMAttribute…
iklam Jul 23, 2026
e8c827e
8387597: AwtTrayIcon::InitNID remove handling of ancient Windows vers…
MBaesken Jul 23, 2026
5428159
8387593: Using XOR mode to clear the content leaves some traces in metal
jayathirthrao Jul 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion make/ToolsJdk.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2026, 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
Expand Down Expand Up @@ -81,6 +81,9 @@ TOOL_GENERATEEXTRAPROPERTIES = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_too
TOOL_GENERATECASEFOLDING = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generatecharacter.GenerateCaseFolding

TOOL_GENERATESPECIALCASING = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generatespecialcasing.GenerateSpecialCasing

TOOL_MAKEZIPREPRODUCIBLE = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.makezipreproducible.MakeZipReproducible

Expand Down
4 changes: 2 additions & 2 deletions make/autoconf/libraries.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2026, 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
Expand Down Expand Up @@ -149,7 +149,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
if test "x$OPENJDK_TARGET_OS" = xwindows; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS kernel32.lib user32.lib gdi32.lib winspool.lib \
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib powrprof.lib uuid.lib \
ws2_32.lib winmm.lib version.lib psapi.lib"
ws2_32.lib winmm.lib version.lib"
fi
LIB_SETUP_JVM_LIBS(BUILD)
LIB_SETUP_JVM_LIBS(TARGET)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/*
* Copyright (c) 2026, 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. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* 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.
*/
package build.tools.generatespecialcasing;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
* Parses UCD's "SpecialCasing.txt" file and extract selected special case
* mappings, then reformats each entry into `Entry` instances in
* `java.lang.ConditionalSpecialCasing` class.
*
* Arguments to this utility:
* args[0]: Full path to the "ConditionalSpecialCasing" template file
* args[1]: Full path to the "SpecialCasing.txt" UCD file
* args[2]: Full path to the generated output file
*/
public class GenerateSpecialCasing {
// Represents a code point with selected special casing.
private record Entry(String codePoint, List<String> lowerCase,
List<String> upperCase, String language,
String condition) {};

public static void main(String[] args) throws IOException {
var templateFile = Paths.get(args[0]);
var specialCasingFile = Paths.get(args[1]);
var gensrcFile = Paths.get(args[2]);

List<Entry> entries = Files.lines(specialCasingFile)
.filter(Predicate.not(l -> l.startsWith("#") || l.isBlank()))
.map(l -> l.replaceFirst("#.*$", "").split(";"))
// "U+0130" (LATIN_CAPITAL_LETTER_I_WITH_DOT_ABOVE)
// is needed even if it is non-conditional
.filter(l -> !l[4].isBlank() || l[0].equals("0130"))
.map(l -> new Entry(l[0],
Arrays.asList(l[1].trim().split(" ")),
Arrays.asList(l[3].trim().split(" ")),
l[4].replaceFirst("[A-Z].*$", "").trim(),
l[4].replaceFirst("^[ a-z]*", "").toUpperCase(Locale.ROOT).trim()))
.toList();

// Generate output file
Files.write(gensrcFile,
Files.lines(templateFile)
.flatMap(l -> {
if (l.trim().equals("%%%SpecialCasing%%%")) {
return entries.stream().map(GenerateSpecialCasing::entryToString);
} else {
return Stream.of(l);
}
})
.collect(Collectors.toList()),
StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING);
}

static String entryToString(Entry e) {
var codePoint = e.codePoint();
if (codePoint == null || codePoint.isBlank()) {
throw new RuntimeException("Corrupt entry: " + e);
}

return " new Entry(%s, new char[]{%s}, new char[]{%s}, %s, %s),"
.formatted(
"0x" + codePoint,
e.lowerCase().stream().map(cp -> cp.isEmpty() ? "" : "0x"+cp).collect(Collectors.joining(",")),
e.upperCase().stream().map(cp -> cp.isEmpty() ? "" : "0x"+cp).collect(Collectors.joining(",")),
"\"" + e.language() + "\"",
e.condition().isEmpty() ? "NONE" : e.condition());
}
}
45 changes: 41 additions & 4 deletions make/modules/java.base/gensrc/GensrcCharacterData.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2026, 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
Expand Down Expand Up @@ -34,6 +34,9 @@ GENSRC_CHARACTERDATA :=

CHARACTERDATA_TEMPLATES = $(MODULE_SRC)/share/classes/java/lang
UNICODEDATA = $(MODULE_SRC)/share/data/unicodedata
SPECIALCASING = $(UNICODEDATA)/SpecialCasing.txt
DERIVEDCOREPROPS = $(UNICODEDATA)/DerivedCoreProperties.txt
PROPLIST = $(UNICODEDATA)/PropList.txt

ifneq ($(DEBUG_LEVEL), release)
ifeq ($(ALLOW_ABSOLUTE_PATHS_IN_OUTPUT), true)
Expand All @@ -49,9 +52,9 @@ define SetupCharacterData
$(TOOL_GENERATECHARACTER) $2 $(DEBUG_OPTION) \
-template $(CHARACTERDATA_TEMPLATES)/$1.java.template \
-spec $(UNICODEDATA)/UnicodeData.txt \
-specialcasing $(UNICODEDATA)/SpecialCasing.txt \
-proplist $(UNICODEDATA)/PropList.txt \
-derivedprops $(UNICODEDATA)/DerivedCoreProperties.txt \
-specialcasing $(SPECIALCASING) \
-proplist $(PROPLIST) \
-derivedprops $(DERIVEDCOREPROPS) \
-emojidata $(UNICODEDATA)/emoji/emoji-data.txt \
-o $(SUPPORT_OUTPUTDIR)/gensrc/java.base/java/lang/$1.java \
-usecharforbyte $3
Expand Down Expand Up @@ -88,6 +91,40 @@ $(GENSRC_STRINGCASEFOLDING): $(BUILD_TOOLS_JDK) $(STRINGCASEFOLDING_TEMPLATE) $(

TARGETS += $(GENSRC_STRINGCASEFOLDING)

################################################################################
# Rule to create $(SUPPORT_OUTPUTDIR)/gensrc/java.base/java/lang/ConditionalSpecialCasing.java
################################################################################

GENSRC_CONDITIONALSPECIALCASING := $(SUPPORT_OUTPUTDIR)/gensrc/java.base/java/lang/ConditionalSpecialCasing.java
GENSRC_CONDITIONALSPECIALCASING_SPECIALCASING_TMP := $(GENSRC_CONDITIONALSPECIALCASING).specialcasing.tmp
GENSRC_CONDITIONALSPECIALCASING_PROPS_TMP := $(GENSRC_CONDITIONALSPECIALCASING).props.tmp

CONDITIONALSPECIALCASINGTEMP := $(MODULE_SRC)/share/classes/java/lang/ConditionalSpecialCasing.java.template
FINALSIGMAPARAMS := Cased Case_Ignorable
SOFTDOTTEDPARAMS := Soft_Dotted

$(GENSRC_CONDITIONALSPECIALCASING): $(BUILD_TOOLS_JDK) $(CONDITIONALSPECIALCASINGTEMP) \
$(SPECIALCASING) $(DERIVEDCOREPROPS) $(PROPLIST)
$(call LogInfo, Generating $@)
$(call MakeTargetDir)
$(TOOL_GENERATESPECIALCASING) \
$(CONDITIONALSPECIALCASINGTEMP) \
$(SPECIALCASING) \
$(GENSRC_CONDITIONALSPECIALCASING_SPECIALCASING_TMP)
$(TOOL_GENERATEEXTRAPROPERTIES) \
$(GENSRC_CONDITIONALSPECIALCASING_SPECIALCASING_TMP) \
$(DERIVEDCOREPROPS) \
$(GENSRC_CONDITIONALSPECIALCASING_PROPS_TMP) \
$(FINALSIGMAPARAMS)
$(TOOL_GENERATEEXTRAPROPERTIES) \
$(GENSRC_CONDITIONALSPECIALCASING_PROPS_TMP) \
$(PROPLIST) \
$(GENSRC_CONDITIONALSPECIALCASING) \
$(SOFTDOTTEDPARAMS)
$(RM) $(GENSRC_CONDITIONALSPECIALCASING_SPECIALCASING_TMP)
$(RM) $(GENSRC_CONDITIONALSPECIALCASING_PROPS_TMP)

TARGETS += $(GENSRC_CONDITIONALSPECIALCASING)

endif # include guard
include MakeIncludeEnd.gmk
4 changes: 2 additions & 2 deletions make/modules/java.management/Lib.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2026, 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
Expand Down Expand Up @@ -36,7 +36,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBMANAGEMENT, \
OPTIMIZATION := HIGH, \
JDK_LIBS := java.base:libjava java.base:libjvm, \
LIBS_aix := -lperfstat, \
LIBS_windows := advapi32.lib psapi.lib, \
LIBS_windows := advapi32.lib, \
))

TARGETS += $(BUILD_LIBMANAGEMENT)
Expand Down
12 changes: 2 additions & 10 deletions make/modules/jdk.attach/Lib.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2026, 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
Expand Down Expand Up @@ -31,20 +31,12 @@ include LibCommon.gmk
## Build libattach
################################################################################

ifeq ($(call isTargetOs, windows), true)
# In (at least) VS2013 and later, -DPSAPI_VERSION=1 is needed to generate
# a binary that is compatible with windows versions older than 7/2008R2.
# See MSDN documentation for GetProcessMemoryInfo for more information.
LIBATTACH_CFLAGS := -DPSAPI_VERSION=1
endif

$(eval $(call SetupJdkLibrary, BUILD_LIBATTACH, \
NAME := attach, \
OPTIMIZATION := LOW, \
CFLAGS := $(LIBATTACH_CFLAGS), \
CFLAGS_windows := -Gy, \
JDK_LIBS := java.base:libjava, \
LIBS_windows := advapi32.lib psapi.lib, \
LIBS_windows := advapi32.lib, \
))

TARGETS += $(BUILD_LIBATTACH)
Expand Down
3 changes: 3 additions & 0 deletions make/modules/jdk.hotspot.agent/Lib.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ LIBSAPROC_EXCLUDE_FILES :=
ifneq ($(call And, $(call isTargetOs, linux) $(call isTargetCpu, x86_64 aarch64)), true)
LIBSAPROC_EXCLUDE_FILES := DwarfParser.cpp dwarf.cpp
endif
ifneq ($(call And, $(call isTargetOs, linux) $(call isTargetCpu, aarch64)), true)
LIBSAPROC_EXCLUDE_FILES += AARCH64DwarfParser.cpp aarch64Dwarf.cpp LinuxAARCH64DebuggerLocal.cpp
endif

$(eval $(call SetupJdkLibrary, BUILD_LIBSAPROC, \
NAME := saproc, \
Expand Down
10 changes: 1 addition & 9 deletions make/modules/jdk.management/Lib.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,13 @@ include LibCommon.gmk
## Build libmanagement_ext
################################################################################

ifeq ($(call isTargetOs, windows), true)
# In (at least) VS2013 and later, -DPSAPI_VERSION=1 is needed to generate
# a binary that is compatible with windows versions older than 7/2008R2.
# See MSDN documentation for GetProcessMemoryInfo for more information.
LIBMANAGEMENT_EXT_CFLAGS := -DPSAPI_VERSION=1
endif

$(eval $(call SetupJdkLibrary, BUILD_LIBMANAGEMENT_EXT, \
NAME := management_ext, \
OPTIMIZATION := HIGH, \
DISABLED_WARNINGS_clang_UnixOperatingSystem.c := format-nonliteral, \
CFLAGS := $(LIBMANAGEMENT_EXT_CFLAGS), \
JDK_LIBS := java.base:libjava java.base:libjvm, \
LIBS_aix := -lperfstat, \
LIBS_windows := advapi32.lib psapi.lib, \
LIBS_windows := advapi32.lib, \
))

TARGETS += $(BUILD_LIBMANAGEMENT_EXT)
Expand Down
8 changes: 2 additions & 6 deletions src/hotspot/cpu/aarch64/aarch64.ad
Original file line number Diff line number Diff line change
Expand Up @@ -8228,7 +8228,7 @@ instruct encodeKlass_not_null(iRegNNoSp dst, iRegP src) %{
ins_encode %{
Register src_reg = as_Register($src$$reg);
Register dst_reg = as_Register($dst$$reg);
__ encode_klass_not_null(dst_reg, src_reg);
__ encode_klass_not_null(dst_reg, src_reg, rscratch1);
%}

ins_pipe(ialu_reg);
Expand All @@ -8243,11 +8243,7 @@ instruct decodeKlass_not_null(iRegPNoSp dst, iRegN src) %{
ins_encode %{
Register src_reg = as_Register($src$$reg);
Register dst_reg = as_Register($dst$$reg);
if (dst_reg != src_reg) {
__ decode_klass_not_null(dst_reg, src_reg);
} else {
__ decode_klass_not_null(dst_reg);
}
__ decode_klass_not_null(dst_reg, src_reg, rscratch1);
%}

ins_pipe(ialu_reg);
Expand Down
Loading
Loading