Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge master #606

Closed
wants to merge 83 commits into from
Closed
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
b2128a9
8263155: Allow additional contents for DMG
Oct 22, 2021
dd622e5
8275783: G1: fix incorrect region type documentation in HeapRegionType
albertnetymk Oct 22, 2021
4e647aa
8275416: G1: remove unnecessary make_referent_alive in precleaning phase
albertnetymk Oct 22, 2021
4dec8fc
8275645: [JVMCI] avoid unaligned volatile reads on AArch64
Oct 22, 2021
88bbf3c
8273111: Default timezone should return zone ID if /etc/localtime is …
Oct 22, 2021
6523c55
8198336: java/awt/FontMetrics/FontCrash.java fails in headless mode
prrace Oct 22, 2021
fec470f
8272163: Add -version option to keytool and jarsigner
Oct 22, 2021
c94dc2a
8272854: split runtime/CommandLine/PrintTouchedMethods.java test
iignatev Oct 23, 2021
5bbe4ca
8275293: A change done with JDK-8268764 mismatches the java.rmi.serve…
stsypanov Oct 23, 2021
5dab76b
8275381: G1: refactor 2 constructors of G1CardSetConfiguration
Oct 25, 2021
1da5e6b
8275104: IR framework does not handle client VM builds correctly
chhagedorn Oct 25, 2021
f623298
8271199: Mutual TLS handshake fails signing client certificate with c…
Oct 25, 2021
0bcc174
8275717: Reimplement STATIC_ASSERT to use static_assert
stefank Oct 25, 2021
7f94302
8275511: G1: Rename needs_remset_update to remset_is_tracked in G1Hea…
albertnetymk Oct 25, 2021
f143d2a
8268595: java/io/Serializable/serialFilter/GlobalFilterTest.java#id1 …
jaikiran Oct 25, 2021
f610ef0
8196440: Regression automated Test 'java/awt/TrayIcon/PopupMenuLeakTe…
Oct 25, 2021
7cf68b1
8202932: java/awt/Component/NativeInLightShow/NativeInLightShow.java …
Oct 25, 2021
3221a14
8273678: TableAccessibility and TableRowAccessibility miss autorelease
savoptik Oct 25, 2021
89671aa
8273712: C2: Add mechanism for rejecting inlining of low frequency ca…
Oct 25, 2021
97d3280
8275536: Add test to check that File::lastModified returns same time …
cliveverghese Oct 25, 2021
337a9b7
8269853: Prefetch::read should accept pointer to const
Oct 25, 2021
4361945
8185844: MSCAPI doesn't list aliases correctly
wangweij Oct 26, 2021
10e1610
8251134: Unwrapping a key with a Private Key generated by Microsoft C…
wangweij Oct 26, 2021
3ff085e
8275582: Don't purge metaspace mapping lists
tstuefe Oct 26, 2021
174f553
8275869: Problem list applications/jcstress/copy.java on Linux-aarch64
Oct 26, 2021
4961373
8275137: jdk.unsupported/sun.reflect.ReflectionFactory.readObjectNoDa…
Oct 26, 2021
63e0f34
8275767: JDK source code contains redundant boolean operations in jdk…
naotoj Oct 26, 2021
4be88d5
8275047: Optimize existing fill stubs for AVX-512 target
Oct 26, 2021
7ca053d
8251904: vmTestbase/nsk/sysdict/vm/stress/btree/btree010/btree010.jav…
Oct 26, 2021
71d593e
8275162: Use varargs in 'def' macros in mutexLocker.cpp
coleenp Oct 26, 2021
b98ed55
8275819: [TableRowAccessibility accessibilityChildren] method is inef…
Oct 26, 2021
c9dec2f
8273299: Unnecessary Vector usage in java.security.jgss
turbanoff Oct 26, 2021
7c88a59
8275809: crash in [CommonComponentAccessibility getCAccessible:withEnv:]
Oct 26, 2021
574f890
8275720: CommonComponentAccessibility.createWithParent isWrapped caus…
Oct 26, 2021
82f4aac
8259609: C2: optimize long range checks in long counted loops
rwestrel Oct 26, 2021
e5cd269
8274944: AppCDS dump causes SEGV in VM thread while adjusting lambda …
calvinccheung Oct 26, 2021
19f76c2
8275079: Remove unnecessary conversion to String in java.net.http
turbanoff Oct 26, 2021
f1f5e26
8275872: Sync J2DBench run and analyze Makefile targets with build.xml
Oct 26, 2021
2448b3f
8275874: [JVMCI] only support aligned reads in c2v_readFieldValue
Oct 26, 2021
7addcd7
8276034: ProblemList gtest dll_address_to_function_and_library_name o…
Oct 26, 2021
b0d1e4f
8273585: String.charAt performance degrades due to JDK-8268698
y1yang0 Oct 27, 2021
d98b7c2
8202926: Test java/awt/Focus/WindowUpdateFocusabilityTest/WindowUpdat…
Oct 27, 2021
9f75d5c
8259948: Aarch64: Add cast nodes for Aarch64 Neon backend
Oct 27, 2021
9e831bc
8275886: G1: remove obsolete comment in HeapRegion::setup_heap_region…
albertnetymk Oct 27, 2021
2f979ec
8213120: java/awt/TextArea/AutoScrollOnSelectAndAppend/AutoScrollOnSe…
jayathirthrao Oct 27, 2021
6c05cc9
8275863: Use encodeASCII for ASCII-compatible DoubleByte encodings
cl4es Oct 27, 2021
b3f45f8
8275689: [TESTBUG] Use color tolerance only for XRender in BlitRotate…
jayathirthrao Oct 27, 2021
485d658
8275851: Deproblemlist open/test/jdk/javax/swing/JComponent/6683775/b…
prsadhuk Oct 27, 2021
4060602
8275800: Redefinition leaks MethodData::_extra_data_lock
coleenp Oct 27, 2021
a292733
8275975: Remove dead code in ciInstanceKlass
TobiHartmann Oct 27, 2021
168081e
8270490: Charset.forName() taking fallback default value
naotoj Oct 27, 2021
93be099
4718400: Many quantities are held as signed that should be unsigned
stefank Oct 27, 2021
809488b
8276046: codestrings.validate_vm gtest fails on ppc64, s390
tstuefe Oct 27, 2021
e6fa5fa
8276063: ProblemList gtest dll_address_to_function_and_library_name o…
Oct 27, 2021
9a3e954
8274879: Replace uses of StringBuffer with StringBuilder within java.…
turbanoff Oct 27, 2021
d9b0138
8275704: Metaspace::contains() should be threadsafe
tstuefe Oct 28, 2021
1750a6e
8276055: ZGC: Defragment address space
pliden Oct 28, 2021
a2f2d8f
8276057: Update JMH devkit to 1.33
shipilev Oct 28, 2021
593401f
8276042: Remove unused local variables in java.naming
turbanoff Oct 28, 2021
d88b89f
8276067: ZGC: Remove unused function alloc_high_address_at_most()
pliden Oct 28, 2021
7c996d5
8269401: Merge "Exceptions" and "Errors" into "Exception Classes"
hns Oct 28, 2021
bec977c
8275917: Some locks shouldn't allow_vm_block
coleenp Oct 28, 2021
a343fa8
8275865: Print deoptimization statistics in product builds
simonis Oct 28, 2021
85d8cd8
8276100: Remove G1SegmentedArray constructor name parameter
Oct 28, 2021
abe52ae
8275518: accessibility issue in Inet6Address docs
LudwikJaniuk Oct 28, 2021
309acbf
8275703: System.loadLibrary fails on Big Sur for libraries hidden fro…
Oct 28, 2021
c92f230
8276110: Problemlist javax/swing/JMenu/4515762/bug4515762.java for ma…
prsadhuk Oct 28, 2021
cb989cf
8275052: AArch64: Severe AES/GCM slowdown on MacOS for short blocks
Oct 28, 2021
63b9f8c
8153490: Cannot setBytes() if incoming buffer's length is bigger than…
kariya-mitsuru Oct 28, 2021
6d8fa8f
8255286: Implement ParametersTypeData::print_data_on fully
shipilev Oct 28, 2021
5a768f7
8276054: JMH benchmarks for Fences
shipilev Oct 28, 2021
c6339cb
8271820: Implementation of JEP 416: Reimplement Core Reflection with …
Oct 28, 2021
48f3fca
8275308: Add valueOf(Runtime.Version) factory to SourceVersion
jddarcy Oct 28, 2021
21da218
8274848: LambdaMetaFactory::metafactory on REF_invokeSpecial impl met…
Oct 28, 2021
de93b1d
8257722: Improve "keytool -printcert -jarfile" output
Oct 28, 2021
c9e65f8
8275440: Remove VirtualSpaceList::is_full()
tstuefe Oct 29, 2021
157e1d5
8275856: Remove MetaspaceHandleDeallocations debug switch
tstuefe Oct 29, 2021
e922023
8275909: [JVMCI] c2v_readFieldValue use long instead of jlong for the…
Oct 29, 2021
24cf480
8276047: G1: refactor G1CardSetArrayLocker
albertnetymk Oct 29, 2021
e89b2c0
8276086: Increase size of metaspace mappings
tstuefe Oct 29, 2021
15fd8a3
8276102: JDK-8245095 integration reverted JDK-8247980
shipilev Oct 29, 2021
12cee54
Automatic merge of jdk:master into master
Oct 29, 2021
32e8c6a
Merge branch 'foreign-memaccess+abi' into 104
JornVernee Oct 29, 2021
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
2 changes: 1 addition & 1 deletion make/devkit/createJMHBundle.sh
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
# Create a bundle in the build directory, containing what's needed to
# build and run JMH microbenchmarks from the OpenJDK build.

JMH_VERSION=1.32
JMH_VERSION=1.33
COMMONS_MATH3_VERSION=3.2
JOPT_SIMPLE_VERSION=4.6

12 changes: 12 additions & 0 deletions make/jdk/src/classes/build/tools/classlist/HelloClasslist.java
Original file line number Diff line number Diff line change
@@ -116,6 +116,12 @@ public static void main(String ... args) throws Throwable {
DateFormat.getDateInstance(DateFormat.DEFAULT, Locale.ROOT)
.format(new Date()));

// A selection of trivial and common reflection operations
var instance = HelloClasslist.class.getConstructor().newInstance();
HelloClasslist.class.getMethod("staticMethod_V").invoke(null);
var obj = HelloClasslist.class.getMethod("staticMethod_L_L", Object.class).invoke(null, instance);
HelloClasslist.class.getField("field").get(instance);

// A selection of trivial and relatively common MH operations
invoke(MethodHandles.identity(double.class), 1.0);
invoke(MethodHandles.identity(int.class), 1);
@@ -126,8 +132,14 @@ public static void main(String ... args) throws Throwable {
LOGGER.log(Level.FINE, "New Date: " + newDate + " - old: " + oldDate);
}

public HelloClasslist() {}

public String field = "someValue";

public static void staticMethod_V() {}

public static Object staticMethod_L_L(Object o) { return o; }

private static MethodHandle handle(String name, MethodType type) throws Throwable {
return MethodHandles.lookup().findStatic(HelloClasslist.class, name, type);
}
3 changes: 2 additions & 1 deletion make/test/JtregNativeJdk.gmk
Original file line number Diff line number Diff line change
@@ -89,8 +89,9 @@ ifeq ($(call isTargetOs, macosx), true)
-framework Cocoa -framework SystemConfiguration
else
BUILD_JDK_JTREG_EXCLUDE += libTestMainKeyWindow.m
BUILD_JDK_JTREG_EXCLUDE += exeJniInvocationTest.c
BUILD_JDK_JTREG_EXCLUDE += libTestDynamicStore.m
BUILD_JDK_JTREG_EXCLUDE += exeJniInvocationTest.c
BUILD_JDK_JTREG_EXCLUDE += exeLibraryCache.c
endif

ifeq ($(call isTargetOs, linux), true)
6 changes: 3 additions & 3 deletions src/demo/share/java2d/J2DBench/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -80,10 +80,10 @@ SCM_DIRs = .hg .svn CVS RCS SCCS Codemgr_wsdata deleted_files
all: mkdirs J2DBench.jar J2DAnalyzer.jar

run: mkdirs J2DBench.jar
java -jar J2DBench.jar
java -jar $(DIST)/J2DBench.jar

analyze: mkdirs J2DAnalyzer.jar
java -jar J2DAnalyzer.jar
java -jar $(DIST)/J2DAnalyzer.jar

J2DBench.jar: \
$(J2DBENCH_CLASSES) $(J2DBENCH_RESOURCES) \
20 changes: 0 additions & 20 deletions src/hotspot/cpu/aarch64/aarch64.ad
Original file line number Diff line number Diff line change
@@ -2401,9 +2401,6 @@ const bool Matcher::match_rule_supported_vector(int opcode, int vlen, BasicType
// Special cases
switch (opcode) {
case Op_VectorMaskCmp:
// We don't have VectorReinterpret with bit_size less than 64 support for
// now, even for byte type. To be refined with fully VectorCast support.
case Op_VectorReinterpret:
if (vlen < 2 || bit_size < 64) {
return false;
}
@@ -2421,23 +2418,6 @@ const bool Matcher::match_rule_supported_vector(int opcode, int vlen, BasicType
return false;
}
break;
// Some types of VectorCast are not implemented for now.
case Op_VectorCastI2X:
if (bt == T_BYTE) {
return false;
}
break;
case Op_VectorCastS2X:
if (vlen < 4 || bit_size < 64) {
return false;
}
break;
case Op_VectorCastF2X:
case Op_VectorCastD2X:
if (bt == T_INT || bt == T_SHORT || bt == T_BYTE || bt == T_LONG) {
return false;
}
break;
case Op_LoadVectorGather:
case Op_StoreVectorScatter:
return false;
Loading