Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
b6ba1ac
8371093: Assert "section header string table should be loaded" failed…
YaSuenag Nov 13, 2025
5f42c77
8370839: Tests to verify peculiar Proxy dispatching behaviors
liach Nov 13, 2025
d91480b
8371675: ZGC: Remove leftover X VMOp symbols
xmas92 Nov 13, 2025
42aecc4
8371680: JVMTI: Remove unused VMOp type JvmtiPostObjectFree
xmas92 Nov 13, 2025
279f39f
8371681: Remove unused VMOp type CollectForCodeCacheAllocation
xmas92 Nov 13, 2025
436b335
8371450: AES performance improvements for key schedule generation
smemery Nov 13, 2025
795ec5c
8370333: hotspot-unit-tests.md specifies wrong directory structure fo…
Nov 13, 2025
10220ed
8367013: Add Atomic<T> to package/replace idiom of volatile var plus …
Nov 13, 2025
9d6a61f
8371558: C2: Missing optimization opportunity in AbsNode::Ideal
benoitmaillard Nov 13, 2025
48c59fa
8371722: java/net/httpclient/BufferSizePropertyClampTest.java should …
dfuch Nov 13, 2025
6b6fdf1
8357874: UNLIMTED_CRYPTO typo in class description of JceSecurity.jav…
Nov 13, 2025
bbc0f9e
8371788: Fix documentation for CollectedHeap::collect(GCCause)
Nov 13, 2025
7d78818
8274178: G1: Occupancy value in IHOP logging and JFR event is inaccurate
Nov 13, 2025
8102f43
8371480: VerifyError after JDK-8369654
Nov 13, 2025
bfc048a
8371608: Jtreg test jdk/internal/vm/Continuation/Fuzz.java sometimes…
MBaesken Nov 13, 2025
2199b5f
8371381: [Shenandoah] Setting ergo flags should use FLAG_SET_ERGO
rgithubli Nov 13, 2025
d09a8cb
8371746: Some imports in Integer.java and Long.java became unused aft…
mrserb Nov 13, 2025
db3a838
8371436: (fs) java/nio/file/FileStore/Basic.java fails on macOS platf…
Nov 13, 2025
6322aab
8371821: Duplicate export of jdk.internal.util to java.net.http
Nov 13, 2025
155d7df
8371749: New test serviceability/jvmti/events/VMDeath/AllocatingInVMD…
lmesnik Nov 13, 2025
0d8b518
8364560: The default value of --linux-menu-group option is invalid
Nov 14, 2025
eaddefb
8371753: compiler/c2/cr7200264/TestIntVect.java fails IR verification
RealFYang Nov 14, 2025
7733632
8369206: jpackage should not set R/O permission on app launchers
Nov 14, 2025
1baf516
8371628: C2: add a test case for the arraycopy changes in JDK-8297933
Nov 14, 2025
0829c6a
8356761: IGV: dump escape analysis information
anton-seoane Nov 14, 2025
f430592
8369002: Extract the loop->is_member(get_loop(get_ctrl(node))) patter…
anton-seoane Nov 14, 2025
81e0c87
8371320: runtime/ErrorHandling/PrintVMInfoAtExitTest.java fails with …
Arraying Nov 14, 2025
9eaa364
8361487: [ubsan] test_committed_virtualmemory.cpp check_covered_pages…
Nov 14, 2025
8a7af77
8371366: java/net/httpclient/whitebox/RawChannelTestDriver.java fails…
dfuch Nov 14, 2025
00f2c38
8371161: [AArch64] Enable CPU feature UseSHA3Intrinsics for the Qualc…
Nov 14, 2025
ff851de
8371709: Add CTW to hotspot_compiler testing
shipilev Nov 14, 2025
4cc655a
8371791: G1: Improve accuracy of G1CollectedHeap::non_young_occupancy…
Nov 14, 2025
5d65c23
8370492: [Linux] Update cpu shares to cpu.weight mapping function
jerboaa Nov 14, 2025
36daa26
8371860: Make non-public methods in java_lang_Class private
coleenp Nov 14, 2025
466cb38
8371885: Mark UseCompressedClassPointers as obsolete for JDK 27
tstuefe Nov 14, 2025
10f262a
8371804: C2: Tighten up LoadNode::Value comments after JDK-8346184
shipilev Nov 14, 2025
6e7eaf4
8371591: VerifyJimage test incorrectly skips all tests when comparing…
david-beaumont Nov 14, 2025
58b601a
8371874: AOTLinkedClassBulkLoader::preload_classes() should not alloc…
iklam Nov 14, 2025
3924a28
8371083: FollowReferences reports non-class objects as JVMTI_HEAP_REF…
Nov 14, 2025
91b97a4
8371922: Remove unused NonblockingQueue class
Nov 14, 2025
cc05530
8371732: [redo] Change java.time month/day field types to 'byte'
Nov 14, 2025
ad3dfaf
8360564: Implement JEP 524: PEM Encodings of Cryptographic Objects (S…
Nov 14, 2025
7aff8e1
8371319: java.lang.reflect.Method#equals doesn't short-circuit with s…
liach Nov 14, 2025
bc928c8
5038439: Warning message for literal shift amounts outside the canoni…
archiecobbs Nov 14, 2025
7c169c9
8365426: [macos26] Graphics2D tests fail on new macOS 26
Nov 14, 2025
f971ee5
8349192: jvmti/scenarios/contention/TC05/tc05t001 fails: ERROR: tc05t…
Nov 15, 2025
6042c9a
8371934: EncryptedPrivateKeyInfo methods need @since updates
Nov 15, 2025
f6c90fe
8371226: Thread class description needs section on Thread Interruption
Nov 15, 2025
f510b4a
8355574: Fatal error in abort_verify_int_in_range due to Invalid CastII
Nov 15, 2025
7d35a28
8371958: [BACKOUT] 8371709: Add CTW to hotspot_compiler testing
TobiHartmann Nov 16, 2025
7738131
8371642: TestNumberOfContinuousZeros.java fails on PPC64
dbriemann Nov 17, 2025
ce1adf6
8371672: G1: G1YoungGenSizer handling of NewRatio, NewSize and MaxNew…
xmas92 Nov 17, 2025
8690d26
8268613: jar --validate should check inital entries of a JAR file
sormuras Nov 17, 2025
d032b28
8371894: Minor style fixes in AOT/CDS code
jsikstro Nov 17, 2025
970533d
8371779: Replace MemTagBitmap with ResourceBitMap
jdksjolen Nov 17, 2025
69e3024
8349157: Unnecessary Hashtable usage in XKeysym.javaKeycode2KeysymHash
Nov 17, 2025
09b25cd
8371465: Parallel: Revise asserts around heap expansion
albertnetymk Nov 17, 2025
812add2
8368527: JMX: Add an MXBeans method to query GC CPU time
JonasNorlinder Nov 17, 2025
d19e072
8371916: Questionable volatile decrement in AckFrameSpliterator
dfuch Nov 17, 2025
df35412
8368961: Remove redundant checks in ciField.cpp
linzihao1999 Nov 17, 2025
cebb03e
8371349: Update NSS library to 3.117
Nov 17, 2025
8301d99
8371825: G1: Use more precise filler API in fill_range_with_dead_objects
albertnetymk Nov 17, 2025
960987e
8371991: Build failure in docs for MemoryMXBean
kevinjwalls Nov 17, 2025
44087ea
8371682: Suppress javac warning from ThreadPoolExecutorSubclassTest.java
Nov 17, 2025
6385c66
8371607: Remove GCSharedStringsDuringDumpWb.java after JDK-8362561
Arraying Nov 17, 2025
52ffe8a
8371156: PBKDF2 default values should not be DER encoded
Nov 17, 2025
9ec773a
8371689: (fs) CopyMoveHelper.copyToForeignTarget use of sourcePosixVi…
Nov 17, 2025
6c09529
8369188: Update link-time check for HotSpot uses of allocation and de…
Nov 17, 2025
e5f6332
8371650: Add CMakeLists.txt and compile_commands.json into .gitignore
lmesnik Nov 17, 2025
e067038
8150564: Migrate useful ExtendedRobot methods into awt.Robot
Nov 17, 2025
6968216
8293484: AArch64: TestUseSHA512IntrinsicsOptionOnSupportedCPU.java fa…
Nov 18, 2025
46b5e58
8371697: test/jdk/java/nio/file/FileStore/Basic.java fails after 8360…
Nov 18, 2025
695a4ab
8371966: RISC-V: Incorrect pointer dereference in TemplateInterpreter…
Nov 18, 2025
1655773
8371881: C2: Fix potential SEGV in VTransformReductionVectorNode tracing
vish-chan Nov 18, 2025
8cdfec8
8371852: Shenandoah: Unused ShenandoahFreeSet::_allocated_since_gc_st…
nityarai08 Nov 18, 2025
26460b6
8353835: Implement JEP 500: Prepare to Make Final Mean Final
Nov 18, 2025
8af5943
8370334: javadoc NPE with "import module" statement
lahodaj Nov 18, 2025
50a3049
8371643: Remove ThreadLocalAllocBuffer::_reserve_for_allocation_prefetch
albertnetymk Nov 18, 2025
72ebca8
8365606: Container code should not be using jlong/julong
jerboaa Nov 18, 2025
3a2845f
8037914: Add JFR event for string deduplication
fandreuz Nov 18, 2025
28d94d6
8372008: TestGetTotalGcCpuTime test failures on Windows (Some GC CPU …
JonasNorlinder Nov 18, 2025
df5b105
8371698: ZGC: Call GTEST_SKIP when OS is unsupported
stefank Nov 18, 2025
f946449
8366178: Implement JEP 526: Lazy Constants (Second Preview)
minborg Nov 18, 2025
36b66e1
8371778: Make MallocMemorySummary::_snapshot a DeferredStatic
jdksjolen Nov 18, 2025
2e68b79
8364991: Incorrect not-exhaustive error
lahodaj Nov 18, 2025
dcba014
8371967: Add Visual Studio 2026 to build toolchain for Windows
YaSuenag Nov 18, 2025
43040f3
8372012: java/nio/file/attribute/BasicFileAttributeView/SetTimesNanos…
Nov 18, 2025
b6d83ed
8371960: Missing null check in AnnotatedType annotation accessor methods
liach Nov 18, 2025
1f99cf9
8372002: VarHandle for receiver's superclass instance fields fails de…
liach Nov 18, 2025
713de23
8371854: Shenandoah: Simplify WALK_FORWARD_IN_BLOCK_START use
Nov 18, 2025
ac6f5e9
8366094: Sealed graph for nested types creates broken links
hns Nov 18, 2025
0e6c7e8
8371896: Links in snippets can not be highlighted
hns Nov 18, 2025
b3e408c
8372045: AOT assembly phase asserts with old class if AOT class linki…
iklam Nov 18, 2025
4a97563
8346944: Update Unicode Data Files to 17.0.0
naotoj Nov 18, 2025
27a38d9
8371121: compiler/whitebox/DeoptimizeRelocatedNMethod.java fails with C1
chadrako Nov 18, 2025
66fb015
8357579: Compilation error: first argument in call to 'memset' is a p…
Nov 18, 2025
b086e34
8371771: CDS test SharedStringsStress.java failed with insufficient heap
iklam Nov 18, 2025
256a9be
8280469: C2: CHA support for interface calls when inlining through me…
Nov 18, 2025
aeea849
8371164: ArrayList.addAll() optimizations
jengebr Nov 18, 2025
152cd4d
8371956: Convert OopStorage to use Atomic<T>
Nov 18, 2025
902aa4d
8372120: Add missing sound keyword to MIDI tests
Nov 18, 2025
02ff38f
8363986: Heap region in CDS archive is not at deterministic address
iklam Nov 19, 2025
99135d2
8359145: Implement JEP 530: Primitive Types in Patterns, instanceof, …
biboudis Nov 19, 2025
54893dc
8371985: Parallel: Move should_attempt_scavenge to ParallelScavengeHeap
albertnetymk Nov 19, 2025
d2926df
8371649: ZGC: AArch64: redundant OrderAccess::fence in ZBarrierSetAss…
Nov 19, 2025
0b3df48
8372048: Performance improvement on Linux remote desktop
Renjithkannath Nov 19, 2025
ae4d9c2
8371918: aarch64: Incorrect pointer dereference in TemplateInterprete…
Nov 19, 2025
0bff5f3
8213762: Deprecate Xmaxjitcodesize
anton-seoane Nov 19, 2025
f0afd89
8357728: Avoid caching synthesized names in synthesized parameters
liach Nov 19, 2025
3949b0f
8371674: C2 fails with Missed optimization opportunity in PhaseIterGV…
benoitmaillard Nov 19, 2025
9ea8201
8363980: [macos] Add JDK specific keys/values to Info.plist of embedd…
Nov 19, 2025
223cc64
8343316: Review and update tests using explicit provider names
Nov 19, 2025
6f1c573
8371923: Update LockFreeStack for Atomic<T>
Nov 19, 2025
f5bc6ee
8369187: Add wrapper for <new> that forbids use of global allocation …
Nov 19, 2025
1535d08
8371944: AOT configuration is corrupted when app closes System.out
iklam Nov 19, 2025
c8e64e7
8372118: Test tools/jpackage/macosx/DmgContentTest.java failed
Nov 19, 2025
2acd877
8371440: jpackage should exit with an error if it finds multiple matc…
Nov 20, 2025
29588d4
Merge branch 'sapmachine' into pr-jdk-26+25
RealCLanger Nov 21, 2025
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: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ NashornProfile.txt
*.rej
*.orig
test/benchmarks/**/target
/src/hotspot/CMakeLists.txt
/src/hotspot/compile_commands.json
/src/hotspot/cmake-build-debug/
/src/hotspot/.cache/
/src/hotspot/.idea/
2 changes: 1 addition & 1 deletion doc/building.html
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ <h3 id="microsoft-visual-studio">Microsoft Visual Studio</h3>
(Note that this version is often presented as "MSVC 14.28", and reported
by cl.exe as 19.28.) Older versions will not be accepted by
<code>configure</code> and will not work. The maximum accepted version
of Visual Studio is 2022.</p>
of Visual Studio is 2026.</p>
<p>If you have multiple versions of Visual Studio installed,
<code>configure</code> will by default pick the latest. You can request
a specific version to be used by setting
Expand Down
2 changes: 1 addition & 1 deletion doc/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ available for this update.
The minimum accepted version is Visual Studio 2019 version 16.8. (Note that
this version is often presented as "MSVC 14.28", and reported by cl.exe as
19.28.) Older versions will not be accepted by `configure` and will not work.
The maximum accepted version of Visual Studio is 2022.
The maximum accepted version of Visual Studio is 2026.

If you have multiple versions of Visual Studio installed, `configure` will by
default pick the latest. You can request a specific version to be used by
Expand Down
12 changes: 6 additions & 6 deletions doc/hotspot-unit-tests.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,11 @@ <h3 id="file-location">File location</h3>
the product.</p>
<ul>
<li><p>All unit tests for a class from <code>foo/bar/baz.cpp</code>
should be placed <code>foo/bar/test_baz.cpp</code> in
<code>hotspot/test/native/</code> directory. Having all tests for a
class in one file is a common practice for unit tests, it helps to see
all existing tests at once, share functions and/or resources without
losing encapsulation.</p></li>
should be placed <code>foo/bar/test_baz.cpp</code> in the
<code>test/hotspot/gtest/</code> directory. Having all tests for a class
in one file is a common practice for unit tests, it helps to see all
existing tests at once, share functions and/or resources without losing
encapsulation.</p></li>
<li><p>For tests which test more than one class, directory hierarchy
should be the same as product hierarchy, and file name should reflect
the name of the tested subsystem/functionality. For example, if a
Expand All @@ -319,7 +319,7 @@ <h3 id="file-location">File location</h3>
<p>Please note that framework prepends directory name to a test group
name. For example, if <code>TEST(foo, check_this)</code> and
<code>TEST(bar, check_that)</code> are defined in
<code>hotspot/test/native/gc/shared/test_foo.cpp</code> file, they will
<code>test/hotspot/gtest/gc/shared/test_foo.cpp</code> file, they will
be reported as <code>gc/shared/foo::check_this</code> and
<code>gc/shared/bar::check_that</code>.</p>
<h3 id="test-names">Test names</h3>
Expand Down
4 changes: 2 additions & 2 deletions doc/hotspot-unit-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ recognize your tests.
Test file location should reflect a location of the tested part of the product.

* All unit tests for a class from `foo/bar/baz.cpp` should be placed
`foo/bar/test_baz.cpp` in `hotspot/test/native/` directory. Having all
`foo/bar/test_baz.cpp` in the `test/hotspot/gtest/` directory. Having all
tests for a class in one file is a common practice for unit tests, it
helps to see all existing tests at once, share functions and/or
resources without losing encapsulation.
Expand All @@ -254,7 +254,7 @@ sub-system under tests belongs to `gc/g1`, tests should be placed in

Please note that framework prepends directory name to a test group
name. For example, if `TEST(foo, check_this)` and `TEST(bar, check_that)`
are defined in `hotspot/test/native/gc/shared/test_foo.cpp` file, they
are defined in `test/hotspot/gtest/gc/shared/test_foo.cpp` file, they
will be reported as `gc/shared/foo::check_this` and
`gc/shared/bar::check_that`.

Expand Down
17 changes: 16 additions & 1 deletion make/autoconf/toolchain_microsoft.m4
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

################################################################################
# The order of these defines the priority by which we try to find them.
VALID_VS_VERSIONS="2022 2019"
VALID_VS_VERSIONS="2022 2019 2026"

VS_DESCRIPTION_2019="Microsoft Visual Studio 2019"
VS_VERSION_INTERNAL_2019=142
Expand Down Expand Up @@ -57,6 +57,21 @@ VS_SDK_PLATFORM_NAME_2022=
VS_SUPPORTED_2022=true
VS_TOOLSET_SUPPORTED_2022=true

VS_DESCRIPTION_2026="Microsoft Visual Studio 2026"
VS_VERSION_INTERNAL_2026=145
VS_MSVCR_2026=vcruntime140.dll
VS_VCRUNTIME_1_2026=vcruntime140_1.dll
VS_MSVCP_2026=msvcp140.dll
VS_ENVVAR_2026="VS180COMNTOOLS"
VS_USE_UCRT_2026="true"
VS_VS_INSTALLDIR_2026="Microsoft Visual Studio/18"
VS_EDITIONS_2026="BuildTools Community Professional Enterprise"
VS_SDK_INSTALLDIR_2026=
VS_VS_PLATFORM_NAME_2026="v145"
VS_SDK_PLATFORM_NAME_2026=
VS_SUPPORTED_2026=true
VS_TOOLSET_SUPPORTED_2026=true

################################################################################

AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT],
Expand Down
1 change: 1 addition & 0 deletions make/hotspot/lib/CompileGtest.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ $(eval $(call SetupJdkLibrary, BUILD_GTEST_LIBJVM, \
EXTRA_OBJECT_FILES := $(BUILD_LIBJVM_ALL_OBJS), \
DEFAULT_CFLAGS := false, \
CFLAGS := $(JVM_CFLAGS) \
-DHOTSPOT_GTEST \
-I$(GTEST_FRAMEWORK_SRC)/googletest/include \
-I$(GTEST_FRAMEWORK_SRC)/googlemock/include \
$(addprefix -I, $(GTEST_TEST_SRC)), \
Expand Down
36 changes: 34 additions & 2 deletions make/hotspot/lib/CompileJvm.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,30 @@ TARGETS += $(BUILD_LIBJVM)
# for the associated class. If the class doesn't provide a more specific
# declaration (either directly or by inheriting from a class that provides
# one) then the global definition will be used, triggering this check.
#

# The HotSpot wrapper for <new> declares as deprecated all the allocation and
# deallocation functions that use the global allocator. But that blocking
# isn't a bullet-proof. Some of these functions are implicitly available in
# every translation unit, without the need to include <new>. So even with that
# wrapper we still need this link-time check. The implicitly declared
# functions and their mangled names are - from C++17 6.7.4:
#
# void* operator new(size_t) // _Znwm
# void* operator new(size_t, align_val_t) // _ZnwmSt11align_val_t
#
# void operator delete(void*) noexcept // _ZdlPv
# void operator delete(void*, size_t) noexcept // _ZdlPvm
# void operator delete(void*, align_val_t) noexcept // _ZdlPvSt11align_val_t
# void operator delete(void*, size_t, align_val_t) noexcept // _ZdlPvmSt11align_val_t
#
# void* operator new[](size_t) // _Znam
# void* operator new[](size_t, align_val_t) // _ZnamSt11align_val_t
#
# void operator delete[](void*) noexcept // _ZdaPv
# void operator delete[](void*, size_t) noexcept // _ZdaPvm
# void operator delete[](void*, align_val_t) noexcept // _ZdaPvSt11align_val_t
# void operator delete[](void*, size_t, align_val_t) noexcept // _ZdaPvmSt11align_val_t

ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
ifneq ($(filter $(TOOLCHAIN_TYPE), gcc clang), )
Expand All @@ -347,10 +371,18 @@ ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
# so use mangled names when looking for symbols.
# Save the demangling for when something is actually found.
MANGLED_SYMS := \
_ZdaPv \
_Znwm \
_ZnwmSt11align_val_t \
_ZdlPv \
_ZdlPvm \
_ZdlPvSt11align_val_t \
_ZdlPvmSt11align_val_t \
_Znam \
_Znwm \
_ZnamSt11align_val_t \
_ZdaPv \
_ZdaPvm \
_ZdaPvSt11align_val_t \
_ZdaPvmSt11align_val_t \
#
UNDEF_PATTERN := ' U '

Expand Down
10 changes: 5 additions & 5 deletions make/jdk/src/classes/build/tools/taglet/SealedGraph.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2025, 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 @@ -219,13 +219,13 @@ public void addNode(TypeElement node) {
// This implies the module is always the same.
private String relativeLink(TypeElement node) {
var util = SealedGraph.this.docletEnvironment.getElementUtils();
var rootPackage = util.getPackageOf(rootNode);
var nodePackage = util.getPackageOf(node);
var backNavigator = rootPackage.getQualifiedName().toString().chars()
// Note: SVG files for nested types use the simple names of containing types as parent directories.
// We therefore need to convert all dots in the qualified name to "../" below.
var backNavigator = rootNode.getQualifiedName().toString().chars()
.filter(c -> c == '.')
.mapToObj(c -> "../")
.collect(joining()) +
"../";
.collect(joining());
var forwardNavigator = nodePackage.getQualifiedName().toString()
.replace(".", "/");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public enum SimpleType implements MessageType {
FILE_OBJECT("file object", "JavaFileObject", "javax.tools"),
PATH("path", "Path", "java.nio.file"),
NAME("name", "Name", "com.sun.tools.javac.util"),
LONG("long", "long", null),
NUMBER("number", "int", null),
OPTION_NAME("option name", "Option", "com.sun.tools.javac.main"),
PROFILE("profile", "Profile", "com.sun.tools.javac.jvm"),
Expand Down
1 change: 1 addition & 0 deletions make/test/JtregNativeJdk.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ else

BUILD_JDK_JTREG_LIBRARIES_LDFLAGS_libExplicitAttach := -pthread
BUILD_JDK_JTREG_LIBRARIES_LDFLAGS_libImplicitAttach := -pthread
BUILD_JDK_JTREG_LIBRARIES_LDFLAGS_libJNIAttachMutator := -pthread
BUILD_JDK_JTREG_EXCLUDE += exerevokeall.c
ifeq ($(call isTargetOs, linux), true)
BUILD_JDK_JTREG_EXECUTABLES_LIBS_exelauncher := -ldl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,6 @@ void ZBarrierSetAssembler::patch_barrier_relocation(address addr, int format) {
ShouldNotReachHere();
}

OrderAccess::fence();
ICache::invalidate_word((address)patch_addr);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,6 @@ address TemplateInterpreterGenerator::generate_native_entry(bool synchronized) {
__ ldr(r10, Address(rmethod, Method::native_function_offset()));
ExternalAddress unsatisfied(SharedRuntime::native_method_throw_unsatisfied_link_error_entry());
__ lea(rscratch2, unsatisfied);
__ ldr(rscratch2, rscratch2);
__ cmp(r10, rscratch2);
__ br(Assembler::NE, L);
__ call_VM(noreg,
Expand Down
4 changes: 2 additions & 2 deletions src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ void VM_Version::initialize() {
if (UseSHA && VM_Version::supports_sha3()) {
// Auto-enable UseSHA3Intrinsics on hardware with performance benefit.
// Note that the evaluation of UseSHA3Intrinsics shows better performance
// on Apple silicon but worse performance on Neoverse V1 and N2.
if (_cpu == CPU_APPLE) { // Apple silicon
// on Apple and Qualcomm silicon but worse performance on Neoverse V1 and N2.
if (_cpu == CPU_APPLE || _cpu == CPU_QUALCOMM) { // Apple or Qualcomm silicon
if (FLAG_IS_DEFAULT(UseSHA3Intrinsics)) {
FLAG_SET_DEFAULT(UseSHA3Intrinsics, true);
}
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/aarch64/vm_version_aarch64.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class VM_Version : public Abstract_VM_Version {
CPU_MOTOROLA = 'M',
CPU_NVIDIA = 'N',
CPU_AMCC = 'P',
CPU_QUALCOM = 'Q',
CPU_QUALCOMM = 'Q',
CPU_MARVELL = 'V',
CPU_INTEL = 'i',
CPU_APPLE = 'a',
Expand Down
29 changes: 0 additions & 29 deletions src/hotspot/cpu/ppc/ppc.ad
Original file line number Diff line number Diff line change
Expand Up @@ -6328,36 +6328,8 @@ instruct loadConD_Ex(regD dst, immD src) %{
// Prefetch instructions.
// Must be safe to execute with invalid address (cannot fault).

// Special prefetch versions which use the dcbz instruction.
instruct prefetch_alloc_zero(indirectMemory mem, iRegLsrc src) %{
match(PrefetchAllocation (AddP mem src));
predicate(AllocatePrefetchStyle == 3);
ins_cost(MEMORY_REF_COST);

format %{ "PREFETCH $mem, 2, $src \t// Prefetch write-many with zero" %}
size(4);
ins_encode %{
__ dcbz($src$$Register, $mem$$base$$Register);
%}
ins_pipe(pipe_class_memory);
%}

instruct prefetch_alloc_zero_no_offset(indirectMemory mem) %{
match(PrefetchAllocation mem);
predicate(AllocatePrefetchStyle == 3);
ins_cost(MEMORY_REF_COST);

format %{ "PREFETCH $mem, 2 \t// Prefetch write-many with zero" %}
size(4);
ins_encode %{
__ dcbz($mem$$base$$Register);
%}
ins_pipe(pipe_class_memory);
%}

instruct prefetch_alloc(indirectMemory mem, iRegLsrc src) %{
match(PrefetchAllocation (AddP mem src));
predicate(AllocatePrefetchStyle != 3);
ins_cost(MEMORY_REF_COST);

format %{ "PREFETCH $mem, 2, $src \t// Prefetch write-many" %}
Expand All @@ -6370,7 +6342,6 @@ instruct prefetch_alloc(indirectMemory mem, iRegLsrc src) %{

instruct prefetch_alloc_no_offset(indirectMemory mem) %{
match(PrefetchAllocation mem);
predicate(AllocatePrefetchStyle != 3);
ins_cost(MEMORY_REF_COST);

format %{ "PREFETCH $mem, 2 \t// Prefetch write-many" %}
Expand Down
4 changes: 1 addition & 3 deletions src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1146,9 +1146,7 @@ address TemplateInterpreterGenerator::generate_native_entry(bool synchronized) {
Label L;
__ ld(x28, Address(xmethod, Method::native_function_offset()));
ExternalAddress unsatisfied(SharedRuntime::native_method_throw_unsatisfied_link_error_entry());
__ la(t, unsatisfied);
__ load_long_misaligned(t1, Address(t, 0), t0, 2); // 2 bytes aligned, but not 4 or 8

__ la(t1, unsatisfied);
__ bne(x28, t1, L);
__ call_VM(noreg,
CAST_FROM_FN_PTR(address,
Expand Down
Loading
Loading