git: openjdk/jdk-sandbox: jdk.javadoc/snippets: 83 new changesets

duke duke at openjdk.java.net
Wed Jul 14 11:35:17 UTC 2021


Changeset: 296c663a
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-09 10:16:24 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/296c663aa461ba20f56dacb5d9b69982da591b70

Uncomment a test

This test now works as intended. Some explanatory comments are refined.

! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: 61d4f94b
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-09 12:19:39 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/61d4f94b0cd0a53c6a94c0eae932983596d7b085

Improve testIdAndLangAttributes

! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: 210a0b7c
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-09 14:16:29 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/210a0b7cab2ae1000862d3a88d703aeccbcb6714

Improve specificity of tag syntax tests

! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: b52d104c
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-09 16:35:58 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/b52d104c97d843e2b8f096b26661fc74d70ada4d

Reformat tests

! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: 3fecfa5f
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-09 18:10:19 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/3fecfa5f615587b351d14a012fa2e823c03c3b46

Clean up tests

! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: bca570c5
Author:    Coleen Phillimore <coleenp at openjdk.org>
Date:      2021-07-08 14:28:32 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/bca570c56ee17cb4735a8360ec79a3ca22049d05

8269962: SA has unused Hashtable, Dictionary classes

Reviewed-by: cjplummer, iklam, dholmes

! src/hotspot/share/runtime/vmStructs.cpp
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/classfile/ClassLoaderData.java
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/classfile/ClassLoaderDataGraph.java
- src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/memory/AFLBinaryTreeDictionary.java
- src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/memory/Dictionary.java
- src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/memory/DictionaryEntry.java
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/InstanceKlass.java
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/Symbol.java
- src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/BasicHashtable.java
- src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/BasicHashtableEntry.java
- src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/Hashtable.java
- src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/HashtableBucket.java
- src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/HashtableEntry.java
! test/hotspot/jtreg/serviceability/sa/ClhsdbVmStructsDump.java

Changeset: 4f322a9b
Author:    Aleksey Shipilev <shade at openjdk.org>
Date:      2021-07-08 16:42:03 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/4f322a9b6c9cfdf080df23326daa45733f1b9aad

8270096: Shenandoah: Optimize gc/shenandoah/TestRefprocSanity.java for interpreter mode

Reviewed-by: zgu

! test/hotspot/jtreg/gc/shenandoah/TestRefprocSanity.java

Changeset: 6f171b9f
Author:    Alexey Bakhtin <abakhtin at openjdk.org>
Committer: Vladimir Kempik <vkempik at openjdk.org>
Date:      2021-07-08 16:44:55 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/6f171b9f0d28ad17b31a54bad894f38d19df6f73

8268965: TCP Connection Reset when connecting simple socket to SSL server

Reviewed-by: xuelei

! src/java.base/share/classes/sun/security/ssl/SSLSocketImpl.java
+ test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketReset.java

Changeset: 58328824
Author:    Anthony Scarpino <ascarpino at openjdk.org>
Date:      2021-07-08 17:19:46 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/58328824927292927a2c6329400cde816c383ecd

8269827: JMH tests for AES/GCM byte[] and bytebuffers

Reviewed-by: ecaspole, weijun

! test/micro/org/openjdk/bench/javax/crypto/full/AESGCMBench.java
+ test/micro/org/openjdk/bench/javax/crypto/full/AESGCMByteBuffer.java
! test/micro/org/openjdk/bench/javax/crypto/small/AESGCMBench.java
+ test/micro/org/openjdk/bench/javax/crypto/small/AESGCMByteBuffer.java

Changeset: 8f798b82
Author:    Roland Westrelin <roland at openjdk.org>
Date:      2021-07-08 07:25:21 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/8f798b822235e3bdbaf7a94caaae400de3753a25

8269746: C2: assert(!in->is_CFG()) failed: CFG Node with no controlling input?

Reviewed-by: chagedorn, thartmann

! src/hotspot/share/opto/callnode.cpp

Changeset: 4f707591
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2021-07-08 08:03:09 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/4f707591754e5e7f747d1d0a47f78f49060771c2

8270006: Switches with 'case null:' should be exhaustive

Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! test/langtools/tools/javac/patterns/SwitchErrors.java
! test/langtools/tools/javac/patterns/SwitchErrors.out

Changeset: fa08cc62
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2021-07-08 11:56:53 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/fa08cc62df10e4b6e3cbc45d4e889191d67048c4

8268766: Desugaring of pattern matching enum switch should be improved

Reviewed-by: mcimadamore, psandoz

! src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
! test/jdk/java/lang/runtime/SwitchBootstrapsTest.java
+ test/langtools/tools/javac/patterns/EnumTypeChanges.java
= test/langtools/tools/javac/patterns/EnumTypeChanges2.java
! test/langtools/tools/javac/patterns/Switches.java

Changeset: 168af2e6
Author:    Jatin Bhateja <jbhateja at openjdk.org>
Date:      2021-07-08 12:19:19 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/168af2e6b2343d6674fa053dcb09aca028e372bf

8269828: corrections in some instruction patterns for KNL x86 platform

Reviewed-by: kvn, dlong

! src/hotspot/cpu/x86/x86_32.ad
! src/hotspot/cpu/x86/x86_64.ad

Changeset: 9e75f922
Author:    Guoxiong Li <gli at openjdk.org>
Date:      2021-07-08 14:15:07 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/9e75f922b17146ff78589555dfb20dd0783cffbd

8269738: AssertionError when combining pattern matching and function closure

Reviewed-by: jlahoda, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java
! test/langtools/tools/javac/patterns/LambdaCannotCapturePatternVariables.java

Changeset: f46a9172
Author:    Brian Burkhalter <bpb at openjdk.org>
Date:      2021-07-08 19:05:29 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/f46a9172700a3e2d63cb772e604120bb6f60d4b0

6766844: ByteArrayInputStream#read with a byte array of length 0 not consistent with InputStream when at EOF

Reviewed-by: naoto, lancea, joehw

! src/java.base/share/classes/java/io/ByteArrayInputStream.java
! test/jdk/java/io/ByteArrayInputStream/ReadAllReadNTransferTo.java

Changeset: 9acb2a69
Author:    Daniel D. Daugherty <dcubed at openjdk.org>
Date:      2021-07-08 19:23:21 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/9acb2a69a9f80a6aeae38ce2bf1c9770d4e8a146

8270109: ProblemList 4 SA tests on macOS-aarch64

Reviewed-by: mikael

! test/hotspot/jtreg/ProblemList.txt

Changeset: 64016338
Author:    Jonathan Gibbons <jjg at openjdk.org>
Date:      2021-07-08 20:23:02 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/6401633800daff1bb80ec7e134edbaa1dbcc8499

8269722: NPE in HtmlDocletWriter

Reviewed-by: hannesw

! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java
! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/standard.properties
+ test/langtools/jdk/javadoc/doclet/testInherited/TestInherited.java
! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java
! test/langtools/jdk/javadoc/doclet/testNonInlineHtmlTagRemoval/TestNonInlineHtmlTagRemoval.java

Changeset: dfd6b2be
Author:    Jesper Wilhelmsson <jwilhelm at openjdk.org>
Date:      2021-07-08 23:21:00 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/dfd6b2be7d2cc312bf550a475be91072259f88af

Merge

! src/hotspot/cpu/x86/x86_32.ad
! src/hotspot/cpu/x86/x86_64.ad
! src/hotspot/share/opto/callnode.cpp
! test/hotspot/jtreg/ProblemList.txt
! src/hotspot/cpu/x86/x86_32.ad
! src/hotspot/cpu/x86/x86_64.ad
! src/hotspot/share/opto/callnode.cpp
! test/hotspot/jtreg/ProblemList.txt

Changeset: c93204ce
Author:    Thomas Schatzl <tschatzl at openjdk.org>
Date:      2021-07-09 06:51:09 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/c93204ce3d4653705e6aeeadb9b3c591e469de77

8269914: Factor out heap printing for G1 young and full gc
8270018: Add scoped object for g1 young gc JFR notification

Reviewed-by: ayang, iwalulya, kbarrett

! src/hotspot/share/gc/g1/g1Allocator.cpp
! src/hotspot/share/gc/g1/g1Allocator.hpp
! src/hotspot/share/gc/g1/g1CollectedHeap.cpp
! src/hotspot/share/gc/g1/g1CollectedHeap.hpp
! src/hotspot/share/gc/g1/g1FullCollector.cpp
! src/hotspot/share/gc/g1/g1FullGCScope.cpp
! src/hotspot/share/gc/g1/g1FullGCScope.hpp

Changeset: 676f1d76
Author:    Aleksey Shipilev <shade at openjdk.org>
Date:      2021-07-09 07:54:40 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/676f1d76cab9108655f2ce462db321b975563eb7

8270094: Shenandoah: Provide human-readable labels for test configurations

Reviewed-by: zgu

! test/hotspot/jtreg/gc/shenandoah/TestAllocHumongousFragment.java
! test/hotspot/jtreg/gc/shenandoah/TestAllocIntArrays.java
! test/hotspot/jtreg/gc/shenandoah/TestAllocObjectArrays.java
! test/hotspot/jtreg/gc/shenandoah/TestAllocObjects.java
! test/hotspot/jtreg/gc/shenandoah/TestArrayCopyCheckCast.java
! test/hotspot/jtreg/gc/shenandoah/TestArrayCopyStress.java
! test/hotspot/jtreg/gc/shenandoah/TestDynamicSoftMaxHeapSize.java
! test/hotspot/jtreg/gc/shenandoah/TestElasticTLAB.java
! test/hotspot/jtreg/gc/shenandoah/TestEvilSyncBug.java
! test/hotspot/jtreg/gc/shenandoah/TestGCThreadGroups.java
! test/hotspot/jtreg/gc/shenandoah/TestHeapUncommit.java
! test/hotspot/jtreg/gc/shenandoah/TestHumongousThreshold.java
! test/hotspot/jtreg/gc/shenandoah/TestLargeObjectAlignment.java
! test/hotspot/jtreg/gc/shenandoah/TestLotsOfCycles.java
! test/hotspot/jtreg/gc/shenandoah/TestObjItrWithHeapDump.java
! test/hotspot/jtreg/gc/shenandoah/TestParallelRefprocSanity.java
! test/hotspot/jtreg/gc/shenandoah/TestPeriodicGC.java
! test/hotspot/jtreg/gc/shenandoah/TestReferenceRefersToShenandoah.java
! test/hotspot/jtreg/gc/shenandoah/TestReferenceShortcutCycle.java
! test/hotspot/jtreg/gc/shenandoah/TestRefprocSanity.java
! test/hotspot/jtreg/gc/shenandoah/TestRegionSampling.java
! test/hotspot/jtreg/gc/shenandoah/TestResizeTLAB.java
! test/hotspot/jtreg/gc/shenandoah/TestRetainObjects.java
! test/hotspot/jtreg/gc/shenandoah/TestSieveObjects.java
! test/hotspot/jtreg/gc/shenandoah/TestSmallHeap.java
! test/hotspot/jtreg/gc/shenandoah/TestStringDedup.java
! test/hotspot/jtreg/gc/shenandoah/TestStringDedupStress.java
! test/hotspot/jtreg/gc/shenandoah/TestStringInternCleanup.java
! test/hotspot/jtreg/gc/shenandoah/TestVerifyJCStress.java
! test/hotspot/jtreg/gc/shenandoah/TestVerifyLevels.java
! test/hotspot/jtreg/gc/shenandoah/TestWithLogLevel.java
! test/hotspot/jtreg/gc/shenandoah/TestWrongArrayMember.java
! test/hotspot/jtreg/gc/shenandoah/compiler/FoldIfAfterExpansion.java
! test/hotspot/jtreg/gc/shenandoah/compiler/TestC1ArrayCopyNPE.java
! test/hotspot/jtreg/gc/shenandoah/compiler/TestC1VectorizedMismatch.java
! test/hotspot/jtreg/gc/shenandoah/compiler/TestClone.java
! test/hotspot/jtreg/gc/shenandoah/compiler/TestExpandedWBLostNullCheckDep.java
! test/hotspot/jtreg/gc/shenandoah/compiler/TestMaybeNullUnsafeAccess.java
! test/hotspot/jtreg/gc/shenandoah/compiler/TestNullCheck.java
! test/hotspot/jtreg/gc/shenandoah/compiler/TestReferenceCAS.java
! test/hotspot/jtreg/gc/shenandoah/compiler/TestUnsafeOffheapSwap.java
! test/hotspot/jtreg/gc/shenandoah/compiler/TestWriteBarrierClearControl.java
! test/hotspot/jtreg/gc/shenandoah/jni/TestJNICritical.java
! test/hotspot/jtreg/gc/shenandoah/jni/TestJNIGlobalRefs.java
! test/hotspot/jtreg/gc/shenandoah/jni/TestPinnedGarbage.java
! test/hotspot/jtreg/gc/shenandoah/jvmti/TestHeapDump.java
! test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.java
! test/hotspot/jtreg/gc/shenandoah/mxbeans/TestMemoryMXBeans.java
! test/hotspot/jtreg/gc/shenandoah/mxbeans/TestMemoryPools.java
! test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.java
! test/hotspot/jtreg/gc/shenandoah/oom/TestAllocLargeObj.java
! test/hotspot/jtreg/gc/shenandoah/oom/TestAllocLargerThanHeap.java
! test/hotspot/jtreg/gc/shenandoah/oom/TestAllocSmallObj.java
! test/hotspot/jtreg/gc/shenandoah/oom/TestClassLoaderLeak.java
! test/hotspot/jtreg/gc/shenandoah/oom/TestThreadFailure.java
! test/hotspot/jtreg/gc/shenandoah/options/TestAlwaysPreTouch.java
! test/hotspot/jtreg/gc/shenandoah/options/TestArgumentRanges.java
! test/hotspot/jtreg/gc/shenandoah/options/TestClassUnloadingArguments.java
! test/hotspot/jtreg/gc/shenandoah/options/TestEnabled.java
! test/hotspot/jtreg/gc/shenandoah/options/TestExplicitGC.java
! test/hotspot/jtreg/gc/shenandoah/options/TestExplicitGCNoConcurrent.java
! test/hotspot/jtreg/gc/shenandoah/options/TestHeuristicsUnlock.java
! test/hotspot/jtreg/gc/shenandoah/options/TestHumongousMoves.java
! test/hotspot/jtreg/gc/shenandoah/options/TestHumongousThresholdArgs.java
! test/hotspot/jtreg/gc/shenandoah/options/TestLoopMiningArguments.java
! test/hotspot/jtreg/gc/shenandoah/options/TestModeUnlock.java
! test/hotspot/jtreg/gc/shenandoah/options/TestObjectAlignment.java
! test/hotspot/jtreg/gc/shenandoah/options/TestPacing.java
! test/hotspot/jtreg/gc/shenandoah/options/TestParallelRegionStride.java
! test/hotspot/jtreg/gc/shenandoah/options/TestRegionSizeArgs.java
! test/hotspot/jtreg/gc/shenandoah/options/TestSelectiveBarrierFlags.java
! test/hotspot/jtreg/gc/shenandoah/options/TestSingleThreaded.java
! test/hotspot/jtreg/gc/shenandoah/options/TestSoftMaxHeapSize.java
! test/hotspot/jtreg/gc/shenandoah/options/TestThreadCounts.java
! test/hotspot/jtreg/gc/shenandoah/options/TestThreadCountsOverride.java
! test/hotspot/jtreg/gc/shenandoah/options/TestWrongBarrierDisable.java
! test/hotspot/jtreg/gc/shenandoah/options/TestWrongBarrierEnable.java
! test/hotspot/jtreg/gc/stress/gcbasher/TestGCBasherWithShenandoah.java
! test/hotspot/jtreg/gc/stress/gclocker/TestGCLockerWithShenandoah.java
! test/hotspot/jtreg/gc/stress/gcold/TestGCOldWithShenandoah.java
! test/hotspot/jtreg/gc/stress/systemgc/TestSystemGCWithShenandoah.java

Changeset: 3d193adb
Author:    Albert Mingkun Yang <ayang at openjdk.org>
Date:      2021-07-09 10:03:10 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/3d193adbec07a77dce3b34fe5d0dbb99ff03b9a7

8270082: Remove unnecessary gc_timer null check in ReferenceProcessorPhaseTimes

Reviewed-by: tschatzl, kbarrett

! src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp

Changeset: 5a742910
Author:    Jonathan Gibbons <jjg at openjdk.org>
Date:      2021-07-09 14:52:37 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/5a742910135a66ba96d7d7e7a7af28d82a620289

8266565: Spec of ForwardingJavaFileManager/ForwardingFileObject/ForwardingJavaFileObject methods should mention delegation instead of being copied

Reviewed-by: vromero

! src/java.compiler/share/classes/javax/tools/ForwardingFileObject.java
! src/java.compiler/share/classes/javax/tools/ForwardingJavaFileManager.java
! src/java.compiler/share/classes/javax/tools/ForwardingJavaFileObject.java

Changeset: 3588634d
Author:    Jonathan Gibbons <jjg at openjdk.org>
Date:      2021-07-09 16:14:29 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/3588634d5403a6472fc88eb2ad8576f55cad2f89

8268420: new Reporter method to report a diagnostic within a DocTree node

Reviewed-by: prappo

! src/jdk.compiler/share/classes/com/sun/source/util/DocTrees.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavadocTokenizer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java
! src/jdk.javadoc/share/classes/jdk/javadoc/doclet/Reporter.java
! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/Messages.java
! src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/JavadocLog.java
+ test/langtools/jdk/javadoc/doclet/testDocTreeDiags/MyTaglet.java
+ test/langtools/jdk/javadoc/doclet/testDocTreeDiags/TestDocTreeDiags.java

Changeset: 539d6920
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-09 18:14:43 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/539d69205840224e3f0bda1185f3fcc291d5c2a0

Merge branch 'master' into snippets

! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java
! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/standard.properties
! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java
! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/standard.properties

Changeset: d318f024
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-12 11:45:26 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/d318f024b17171cbc37f1692ef471e686e3a2278

Clean up tests

! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: 6fc7dcec
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-12 14:22:32 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/6fc7dcecdbc83d64ae7562eed4084d8c588bfbba

Use checkOutput, not checkOrder

! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: 4148a8ca
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-12 17:05:09 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/4148a8cad6378e3b9acbbd6371c2cdd1f00f0406

Improve error handling and testing of attributes

! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/SnippetTaglet.java
! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: 4312d0ca
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-13 15:26:57 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/4312d0ca88c958a1fa6a8cec89d90a8226c502c3

Collocate inline test cases

This reduces the need for manual input-output correlation and reduces line count.

! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: 0cebea70
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-13 15:46:56 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/0cebea7066e0e9d9e1e0fb47b8e669f02a97d4f9

Remove leftover System.out.println

! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: 16ba6ef0
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-13 16:14:26 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/16ba6ef017a2ae0fe6b53cd53944ad72323bfada

Simplify test-case data structures

! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: c02bb617
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-14 11:57:05 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/c02bb61733bc608934d285b499be5b22b5f7e9b6

Simplify test-case data structures (ii)

! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java

Changeset: e4c24f01
Author:    Zhengyu Gu <zgu at openjdk.org>
Date:      2021-07-09 17:34:34 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/e4c24f01ef97de1c9a5a5faca5dd8ea2ad8c62d9

8270171: Shenandoah: Cleanup TestStringDedup and TestStringDedupStress tests

Reviewed-by: shade

! test/hotspot/jtreg/gc/shenandoah/TestStringDedup.java
! test/hotspot/jtreg/gc/shenandoah/TestStringDedupStress.java

Changeset: 7bfa39f5
Author:    Alexandre Iline <shurailine at openjdk.org>
Date:      2021-07-09 18:29:39 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/7bfa39f59a745b562355436f9eb91992dbe243b2

8270108: Update JCov version to 3.0.9

Reviewed-by: serb, erikj

! make/conf/jib-profiles.js

Changeset: d6c0f5fa
Author:    Ioi Lam <iklam at openjdk.org>
Date:      2021-07-09 19:29:13 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/d6c0f5fa22d2fc07a4d8957d7ad005c03df9f8d2

8270059: Remove KVHashtable

Reviewed-by: dholmes, coleenp

! src/hotspot/share/cds/archiveBuilder.cpp
! src/hotspot/share/cds/archiveBuilder.hpp
! src/hotspot/share/logging/logAsyncWriter.cpp
! src/hotspot/share/logging/logAsyncWriter.hpp
! src/hotspot/share/utilities/globalDefinitions.hpp
! src/hotspot/share/utilities/hashtable.hpp

Changeset: 46c610cb
Author:    Mikhailo Seledtsov <mseledtsov at openjdk.org>
Date:      2021-07-09 01:55:33 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/46c610cbd84fc19c3f6591c9a6672768fb90c481

8269840: Update Platform.isDefaultCDSArchiveSupported() to return true for aarch64 platforms

Reviewed-by: minqi, iklam

! test/lib/jdk/test/lib/Platform.java

Changeset: 62ff55d3
Author:    Jatin Bhateja <jbhateja at openjdk.org>
Date:      2021-07-09 03:20:59 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/62ff55d383c4763c3d17b7766a2a9649d75f9afc

8269952: compiler/vectorapi/VectorCastShape*Test.java tests failed on avx2 machines

Reviewed-by: kvn, dlong

! src/hotspot/cpu/x86/x86.ad
! test/hotspot/jtreg/ProblemList.txt

Changeset: 885f7b11
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2021-07-09 08:03:56 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/885f7b1141d1d8e6b560ebaf0c2d4878be0ea8ba

8269146: Missing unreported constraints on pattern and other case label combination
8269301: Switch statement with a pattern, constant and default label elements crash javac

Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MatchBindingsComputer.java
+ test/langtools/tools/javac/patterns/CaseStructureTest.java
! test/langtools/tools/javac/patterns/SwitchErrors.java
! test/langtools/tools/javac/patterns/SwitchErrors.out
! test/langtools/tools/javac/patterns/Switches.java

Changeset: 1196b356
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2021-07-09 11:03:40 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/1196b3568459511df7534848ac42f13489c61be6

8270151: IncompatibleClassChangeError on empty pattern switch statement case

Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! test/langtools/tools/javac/patterns/SealedTypeChanges.java
! test/langtools/tools/javac/patterns/Switches.java

Changeset: f791fdf2
Author:    Christian Hagedorn <chagedorn at openjdk.org>
Date:      2021-07-09 11:53:45 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/f791fdf23ef6e49e7e1ca68e33a16f6686e0bfa1

8261147: C2: Node is wrongly marked as reduction resulting in a wrong execution due to wrong vector instructions

Reviewed-by: thartmann, kvn

! src/hotspot/share/opto/loopopts.cpp
! src/hotspot/share/opto/node.cpp
+ test/hotspot/jtreg/compiler/loopopts/superword/TestWronglyMarkedReduction.java

Changeset: 6889a39a
Author:    Roger Riggs <rriggs at openjdk.org>
Date:      2021-07-09 14:33:56 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/6889a39a3f124d2442584cb7646b2d6a18745e78

8268826: Cleanup Override in Context-Specific Deserialization Filters

Reviewed-by: dfuchs, bchristi

! src/java.base/share/classes/java/io/ObjectInputFilter.java
! src/java.base/share/classes/jdk/internal/util/StaticProperty.java
! src/java.base/share/conf/security/java.security
! test/jdk/java/io/Serializable/serialFilter/FilterWithSecurityManagerTest.java
! test/jdk/java/io/Serializable/serialFilter/GlobalFilterTest.java
! test/jdk/java/io/Serializable/serialFilter/SerialFactoryExample.java
+ test/jdk/java/io/Serializable/serialFilter/SerialFactoryFaults.java
! test/jdk/java/io/Serializable/serialFilter/SerialFilterFactoryTest.java
! test/jdk/java/io/Serializable/serialFilter/SerialFilterFunctionTest.java
! test/jdk/java/io/Serializable/serialFilter/SerialFilterTest.java
! test/jdk/java/io/Serializable/serialFilter/TEST.properties
! test/jdk/java/io/Serializable/serialFilter/java.security-extra-factory
+ test/jdk/java/io/Serializable/serialFilter/logging.properties

Changeset: ec975c6a
Author:    Jesper Wilhelmsson <jwilhelm at openjdk.org>
Date:      2021-07-10 01:23:18 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/ec975c6a055688c014e709917dcfc340037e684f

Merge

! src/hotspot/cpu/x86/x86.ad
! src/java.base/share/classes/java/io/ObjectInputFilter.java
! test/hotspot/jtreg/ProblemList.txt
! src/hotspot/cpu/x86/x86.ad
! src/java.base/share/classes/java/io/ObjectInputFilter.java
! test/hotspot/jtreg/ProblemList.txt

Changeset: 68b6e11e
Author:    Yasumasa Suenaga <ysuenaga at openjdk.org>
Date:      2021-07-10 05:01:23 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/68b6e11e481349e40014aa4593a53ae2ea74aedc

8270083: -Wnonnull errors happen with GCC 11.1.1

Reviewed-by: erikj, dlong, kbarrett

! make/hotspot/lib/JvmOverrideFiles.gmk
! src/hotspot/cpu/x86/assembler_x86.cpp
! src/hotspot/cpu/x86/c1_Runtime1_x86.cpp
! src/hotspot/cpu/x86/frame_x86.inline.hpp
! src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp
! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp
! src/hotspot/cpu/x86/universalUpcallHandler_x86_64.cpp
! src/hotspot/share/utilities/compilerWarnings.hpp
! src/hotspot/share/utilities/compilerWarnings_gcc.hpp

Changeset: ac75a53f
Author:    Coleen Phillimore <coleenp at openjdk.org>
Date:      2021-07-11 18:15:59 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/ac75a53fc513cce2a1aa266f0b7235d150a76c01

8253779: Amalloc may be wasting space by overaligning

Reviewed-by: kbarrett, stuefe

! src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp
! src/hotspot/share/memory/arena.hpp
! src/hotspot/share/opto/machnode.hpp
! src/hotspot/share/opto/matcher.cpp
! src/hotspot/share/opto/node.cpp
! src/hotspot/share/opto/node.hpp
! src/hotspot/share/opto/type.hpp

Changeset: 86a20081
Author:    Albert Mingkun Yang <ayang at openjdk.org>
Date:      2021-07-12 07:53:20 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/86a20081aefb6d43dc8a4d404adb2c1fb5729585

8051680: (ref) unnecessary process_soft_ref_reconsider

Reviewed-by: kbarrett, tschatzl

! src/hotspot/share/gc/shared/referenceProcessor.cpp
! src/hotspot/share/gc/shared/referenceProcessor.hpp
! src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp
! test/hotspot/jtreg/gc/logging/TestPrintReferences.java

Changeset: 6a9bc108
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
Date:      2021-07-12 08:25:22 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/6a9bc108736522897f03a75c83e90e2c2a183d27

8270184: [TESTBUG] Add coverage for jvmci ResolvedJavaType.toJavaName() for lambdas

Reviewed-by: kvn

! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaType.java

Changeset: 8973867f
Author:    Thomas Schatzl <tschatzl at openjdk.org>
Date:      2021-07-12 08:41:28 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/8973867fb9568a3a527b763c9ce10cebdfb306d0

8269295: Verification time before/after young collection only covers parts of the verification

Reviewed-by: kbarrett, iwalulya

! src/hotspot/share/gc/g1/g1CollectedHeap.cpp
! src/hotspot/share/gc/g1/g1HeapVerifier.cpp
! src/hotspot/share/gc/g1/g1HeapVerifier.hpp

Changeset: 7cbb67a3
Author:    Anton Kozlov <akozlov at openjdk.org>
Date:      2021-07-12 11:12:52 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/7cbb67a3f8adc83a5b51c092a66480d7b22a6bea

8267666: Add option to jcmd GC.heap_dump to use existing file

Reviewed-by: rschmelter, clanger

! src/hotspot/os/aix/os_aix.cpp
! src/hotspot/os/bsd/os_bsd.cpp
! src/hotspot/os/linux/os_linux.cpp
! src/hotspot/os/windows/os_windows.cpp
! src/hotspot/share/services/diagnosticCommand.cpp
! src/hotspot/share/services/diagnosticCommand.hpp
! src/hotspot/share/services/heapDumper.cpp
! src/hotspot/share/services/heapDumper.hpp
! src/hotspot/share/services/heapDumperCompression.cpp
! src/hotspot/share/services/heapDumperCompression.hpp
! test/hotspot/jtreg/serviceability/dcmd/gc/HeapDumpTest.java

Changeset: c3a42edd
Author:    Jatin Bhateja <jbhateja at openjdk.org>
Date:      2021-07-12 11:36:14 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/c3a42eddecf29b203a6397519b5643d5f3e2fd28

8269878: Handle redundant reg-2-reg moves in X86 backend

Reviewed-by: kvn, vlivanov

! src/hotspot/cpu/aarch64/aarch64.ad
! src/hotspot/cpu/arm/arm.ad
! src/hotspot/cpu/ppc/ppc.ad
! src/hotspot/cpu/s390/s390.ad
! src/hotspot/cpu/x86/x86.ad
! src/hotspot/cpu/x86/x86_32.ad
! src/hotspot/cpu/x86/x86_64.ad
! src/hotspot/share/opto/matcher.cpp
! src/hotspot/share/opto/matcher.hpp

Changeset: 548bb311
Author:    Zhengyu Gu <zgu at openjdk.org>
Date:      2021-07-12 12:22:06 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/548bb3119cf792bb1e65e15e990a4addc9155312

8270110: Shenandoah: Add test for JDK-8269661

Reviewed-by: rkennke

! src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
+ test/hotspot/jtreg/gc/shenandoah/jni/TestStringCriticalWithDedup.java
+ test/hotspot/jtreg/gc/shenandoah/jni/libTestStringCriticalWithDedup.c

Changeset: 92ae6a51
Author:    Harold Seigel <hseigel at openjdk.org>
Date:      2021-07-12 14:21:44 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/92ae6a512340485f75a12479dc1c1b8d3261bc76

8244162: Additional opportunities to use NONCOPYABLE

Reviewed-by: dholmes, kbarrett, shade

! src/hotspot/share/asm/assembler.hpp
! src/hotspot/share/classfile/stackMapTableFormat.hpp
! src/hotspot/share/gc/shenandoah/shenandoahReferenceProcessor.hpp
! src/hotspot/share/logging/logMessageBuffer.hpp
! src/hotspot/share/opto/node.hpp
! src/hotspot/share/utilities/formatBuffer.hpp

Changeset: 1aef372e
Author:    Ignasi Marimon-Clos <ignasi35 at gmail.com>
Committer: Brian Burkhalter <bpb at openjdk.org>
Date:      2021-07-12 16:54:39 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/1aef372ed89a48f4eac0ac03b2b3520348713efb

8266578: Disambiguate BigDecimal description of scale

Reviewed-by: darcy, bpb

! src/java.base/share/classes/java/math/BigDecimal.java

Changeset: 41a5eb43
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
Date:      2021-07-12 18:14:55 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/41a5eb437204a650d6cc271f41e1d186ee812a88

8270117: Broken jtreg link in "Building the JDK" page

Reviewed-by: sgehwolf

! doc/building.html
! doc/building.md

Changeset: 7d2825e4
Author:    Albert Mingkun Yang <ayang at openjdk.org>
Date:      2021-07-12 18:25:33 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/7d2825e4219671bdaef6586864afecbca7b33e48

8270169: G1: Incorrect reference discovery MT degree in concurrent marking

Reviewed-by: tschatzl, iwalulya, kbarrett

! src/hotspot/share/gc/g1/g1CollectedHeap.cpp

Changeset: 353e9c86
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
Date:      2021-07-12 18:54:39 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/353e9c8607e3a433aac786bd7b818d77ff75dd11

8270320: JDK-8270110 committed invalid copyright headers

Reviewed-by: kvn

! test/hotspot/jtreg/gc/shenandoah/jni/TestStringCriticalWithDedup.java
! test/hotspot/jtreg/gc/shenandoah/jni/libTestStringCriticalWithDedup.c

Changeset: a4e5f08f
Author:    Yumin Qi <minqi at openjdk.org>
Date:      2021-07-12 19:03:38 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/a4e5f08fefac50a1ced7ff4178d9d76f90797949

8267281: Call prepare_for_dynamic_dumping for jcmd dynamic_dump

Reviewed-by: iklam, ccheung

! src/hotspot/share/cds/dynamicArchive.cpp
! src/hotspot/share/cds/dynamicArchive.hpp
! src/hotspot/share/cds/metaspaceShared.cpp
! src/hotspot/share/cds/metaspaceShared.hpp
! src/hotspot/share/prims/jvm.cpp
! src/hotspot/share/runtime/thread.cpp
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestDynamicDumpAtOom.java

Changeset: afe957cd
Author:    Yi Yang <yyang at openjdk.org>
Date:      2021-07-13 02:23:16 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/afe957cd9741810a113ea165a635a117c0ea556f

8268698: Use Objects.check{Index,FromToIndex,FromIndexSize} for java.base

Reviewed-by: mchung, rriggs

! src/java.base/share/classes/java/lang/AbstractStringBuilder.java
! src/java.base/share/classes/java/lang/Character.java
! src/java.base/share/classes/java/lang/Integer.java
! src/java.base/share/classes/java/lang/Long.java
! src/java.base/share/classes/java/lang/String.java
! src/java.base/share/classes/java/lang/StringLatin1.java
! src/java.base/share/classes/java/lang/constant/MethodTypeDescImpl.java
! src/java.base/share/classes/java/lang/invoke/AbstractConstantGroup.java
! src/java.base/share/classes/java/lang/invoke/MethodHandleStatics.java
! src/java.base/share/classes/java/lang/invoke/VarHandle.java
! src/java.base/share/classes/java/lang/invoke/X-VarHandle.java.template
! src/java.base/share/classes/java/lang/invoke/X-VarHandleByteArrayView.java.template
! src/java.base/share/classes/java/util/Base64.java
! src/java.base/share/classes/java/util/Collections.java
! src/java.base/share/classes/java/util/zip/Adler32.java
! src/java.base/share/classes/java/util/zip/CRC32.java
! src/java.base/share/classes/java/util/zip/CRC32C.java
! src/java.base/share/classes/java/util/zip/Deflater.java
! src/java.base/share/classes/java/util/zip/Inflater.java
! src/java.base/share/classes/jdk/internal/util/Preconditions.java
! src/java.base/share/classes/sun/nio/ch/AsynchronousSocketChannelImpl.java
! src/java.base/share/classes/sun/nio/cs/ISO_8859_1.java
! src/java.base/share/classes/sun/security/provider/DigestBase.java
! src/java.base/share/classes/sun/security/provider/MD5.java
! src/java.base/share/classes/sun/security/provider/SHA.java
! src/java.base/share/classes/sun/security/provider/SHA2.java
! src/java.base/share/classes/sun/security/provider/SHA5.java
! src/java.base/share/classes/sun/security/util/ArrayUtil.java
! src/java.base/share/classes/sun/security/util/BitArray.java
! src/java.base/windows/classes/sun/nio/ch/SinkChannelImpl.java
! src/java.base/windows/classes/sun/nio/ch/SourceChannelImpl.java
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/CommandProcessor.java
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/win32/coff/COFFFileParser.java
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ConstantPoolCache.java
! src/jdk.httpserver/share/classes/sun/net/httpserver/Request.java
! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/BytecodeFrame.java
! test/jdk/java/lang/StringBuffer/Exceptions.java
! test/jdk/java/lang/StringBuilder/Exceptions.java
! test/lib/jdk/test/lib/hprof/model/JavaValueArray.java
! test/micro/org/openjdk/bench/vm/compiler/CopyLoop.java

Changeset: 07e90524
Author:    Yi Yang <yyang at openjdk.org>
Date:      2021-07-13 02:24:14 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/07e90524576f159fc16523430f1db62327c89a3b

8270056: Generated lambda class can not access protected static method of target class

Co-authored-by: NekoCaffeine <nekocaffeine at qq.com>
Reviewed-by: mchung

! src/java.base/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java
+ test/jdk/java/lang/invoke/lambda/superProtectedMethod/ProtectedMethodInOtherPackage.java
- test/jdk/java/lang/invoke/lambda/superProtectedMethod/SuperMethodTest.java

Changeset: 565ec851
Author:    Albert Mingkun Yang <ayang at openjdk.org>
Date:      2021-07-13 10:36:55 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/565ec8518ba971fc8103e74f810f1e79e05ea1a1

8270282: Semantically rename reference processing subphases

Reviewed-by: kbarrett, tschatzl

! src/hotspot/share/gc/shared/referenceProcessor.cpp
! src/hotspot/share/gc/shared/referenceProcessor.hpp
! src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp
! src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.hpp

Changeset: 25460065
Author:    Phil Race <prr at openjdk.org>
Date:      2021-07-10 19:12:59 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/254600658acbc5c40ae8f0de0d01c9906c67c46c

8270216: [macOS] Update named used for Java run loop mode

Reviewed-by: serb

! src/java.desktop/macosx/native/libosxapp/ThreadUtilities.m

Changeset: 3d82b0e6
Author:    Serguei Spitsyn <sspitsyn at openjdk.org>
Date:      2021-07-11 11:03:35 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/3d82b0e634583f4bc01ceece9dd82fc00fd6f9c3

8269558: fix of JDK-8252657 missed to update history at the end of JVM TI spec

Reviewed-by: dcubed, cjplummer

! src/hotspot/share/prims/jvmti.xml

Changeset: e1d3e73d
Author:    Alexey Bakhtin <abakhtin at openjdk.org>
Committer: Vladimir Kempik <vkempik at openjdk.org>
Date:      2021-07-12 10:24:39 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/e1d3e73d4ee32fac7e5b6b2666221717270d4814

8268965: TCP Connection Reset when connecting simple socket to SSL server

Reviewed-by: xuelei
Backport-of: 6f171b9f0d28ad17b31a54bad894f38d19df6f73

! src/java.base/share/classes/sun/security/ssl/SSLSocketImpl.java
+ test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketReset.java

Changeset: 999ced03
Author:    Christoph Göttschkes <cgo at openjdk.org>
Committer: Kevin Walls <kevinw at openjdk.org>
Date:      2021-07-12 11:23:38 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/999ced03ccd58b216adf9a7bfb2646e511219e6c

8269873: serviceability/sa/Clhsdb tests are using a C2 specific VMStruct field

Reviewed-by: cjplummer, dholmes, sspitsyn

! test/hotspot/jtreg/serviceability/sa/ClhsdbField.java
! test/hotspot/jtreg/serviceability/sa/ClhsdbVmStructsDump.java

Changeset: 4fc3180f
Author:    Sean Mullan <mullan at openjdk.org>
Date:      2021-07-12 14:54:38 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/4fc3180f75e1cea4ebd613f8253be205d95f830c

8266345: (fs) Custom DefaultFileSystemProvider security related loops

Co-authored-by: Brian Burkhalter <bpb at openjdk.org>
Reviewed-by: bpb, chegar

! src/java.base/share/classes/sun/security/provider/PolicyFile.java
! test/jdk/java/nio/file/spi/SetDefaultProvider.java
+ test/jdk/java/nio/file/spi/fs.policy

Changeset: 6b123b05
Author:    Jesper Wilhelmsson <jwilhelm at openjdk.org>
Date:      2021-07-13 10:50:18 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/6b123b059136b0c1efa62a23824b9aa253e6a519

Merge

! test/hotspot/jtreg/serviceability/sa/ClhsdbVmStructsDump.java
! test/hotspot/jtreg/serviceability/sa/ClhsdbVmStructsDump.java

Changeset: 375fc2a2
Author:    Thomas Schatzl <tschatzl at openjdk.org>
Date:      2021-07-13 11:27:41 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/375fc2a2b29c454b36d3ae068a080b28f6ec04e9

8270009: Factor out and shuffle methods in G1CollectedHeap::do_collection_pause_at_safepoint_helper

Reviewed-by: kbarrett, ayang

! src/hotspot/share/gc/g1/g1CollectedHeap.cpp
! src/hotspot/share/gc/g1/g1CollectedHeap.hpp
! src/hotspot/share/gc/g1/g1FullCollector.cpp

Changeset: 460c4bb6
Author:    Coleen Phillimore <coleenp at openjdk.org>
Date:      2021-07-13 13:06:20 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/460c4bb6ceeea20d21f41c9d62280c0b2bd747e7

8270179: Rename Amalloc_4
8270217: Fix Arena::Amalloc to check for overflow better

Reviewed-by: kbarrett, stuefe

! src/hotspot/share/adlc/arena.hpp
! src/hotspot/share/adlc/dict2.cpp
! src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp
! src/hotspot/share/libadt/dict.cpp
! src/hotspot/share/memory/arena.cpp
! src/hotspot/share/memory/arena.hpp
! src/hotspot/share/memory/resourceArea.inline.hpp
! src/hotspot/share/oops/symbol.cpp
! src/hotspot/share/opto/indexSet.cpp
! src/hotspot/share/opto/machnode.hpp
! src/hotspot/share/opto/matcher.cpp
! src/hotspot/share/opto/node.cpp
! src/hotspot/share/opto/node.hpp
! src/hotspot/share/opto/type.cpp
! src/hotspot/share/opto/type.hpp
! src/hotspot/share/runtime/globals.hpp
! src/hotspot/share/runtime/handles.hpp

Changeset: 7ac08161
Author:    Roman Kennke <rkennke at openjdk.org>
Date:      2021-07-13 13:30:04 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/7ac08161a8b2080ed054bc00a30d6f694ece4df3

8269897: Shenandoah: Resolve UNKNOWN access strength, where possible

Reviewed-by: shade

! src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.hpp
! src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp
! src/hotspot/share/gc/shenandoah/shenandoahRuntime.cpp

Changeset: ca806ef3
Author:    Christoph Langer <clanger at openjdk.org>
Date:      2021-07-13 16:55:54 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/ca806ef31970e2d020e631d55b44cfe30e11c5ca

8263531: Remove unused buffer int

Reviewed-by: chegar, vtewari, wetmore

! src/java.net.http/share/classes/jdk/internal/net/http/Http2Connection.java

Changeset: 9cac94d5
Author:    Scott Gibbons <scott.gibbons at intel.com>
Committer: Sandhya Viswanathan <sviswanathan at openjdk.org>
Date:      2021-07-13 23:52:08 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/9cac94d581f240c10fe8fff2f803109a1ae30637

8269404: Base64 Encoding optimization enhancements for x86 using AVX-512

Reviewed-by: kvn, sviswanathan

! src/hotspot/cpu/x86/assembler_x86.cpp
! src/hotspot/cpu/x86/assembler_x86.hpp
! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp
! src/hotspot/cpu/x86/stubRoutines_x86.cpp
! src/hotspot/cpu/x86/stubRoutines_x86.hpp

Changeset: 770e2aa3
Author:    David Holmes <dholmes at openjdk.org>
Date:      2021-07-14 01:05:10 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/770e2aa3c6a2bbbc578e60dc2b11300344863e70

8215948: [TESTBUG] gtest pseudo-JavaThreads could be more regular JavaThreads

Reviewed-by: coleenp, pchilanomate

! test/hotspot/gtest/threadHelper.inline.hpp
! test/hotspot/gtest/utilities/test_concurrentHashtable.cpp

Changeset: 0f329828
Author:    Erik Joelsson <erikj at openjdk.org>
Date:      2021-07-13 05:55:04 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/0f32982872eb1454e55390760b65beb5838afc55

8270203: Missing build dependency between jdk.jfr-gendata and buildtools-hotspot

Reviewed-by: tbell

! make/Main.gmk

Changeset: 040c02b9
Author:    Christian Hagedorn <chagedorn at openjdk.org>
Date:      2021-07-13 08:50:09 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/040c02b942a2829626b5bc4a63c3335cd3fe53f4

8269795: C2: Out of bounds array load floats above its range check in loop peeling resulting in SEGV

Reviewed-by: thartmann, roland, kvn

! src/hotspot/share/opto/loopTransform.cpp
+ test/hotspot/jtreg/compiler/loopopts/TestPeelingRemoveDominatedTest.java

Changeset: e631addd
Author:    Erik Joelsson <erikj at openjdk.org>
Date:      2021-07-13 09:27:27 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/e631addd70437c776eeeb481e0b44f1d0fd22fe8

8259848: Interim javadoc build does not support platform links

Reviewed-by: hannesw, jjg, ihse

! make/modules/jdk.javadoc/Gendata.gmk

Changeset: 00ef65f3
Author:    Markus Grönlund <mgronlun at openjdk.org>
Date:      2021-07-13 09:41:56 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/00ef65f34d35bf1a3fa6835cc16f19af40c3c325

8269525: Deadlock during Volano with JFR

Reviewed-by: egahlin

! src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp

Changeset: bd95c0c9
Author:    Markus Grönlund <mgronlun at openjdk.org>
Date:      2021-07-13 09:43:49 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/bd95c0c9e02946ae6a0d525b1425485b1de4add8

8269635: Stress test SEGV while emitting OldObjectSample

Reviewed-by: jbachorik

! src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.cpp
! src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.hpp
! src/hotspot/share/jfr/leakprofiler/sampling/objectSampler.cpp

Changeset: b2416b60
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
Date:      2021-07-13 10:53:49 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/b2416b60fbe1117cc502d5ecdd8356d42d27fddb

8269281: java/foreign/Test{Down,Up}call.java time out

Reviewed-by: jvernee

! test/jdk/java/foreign/CallGeneratorHelper.java
! test/jdk/java/foreign/TestDowncall.java
! test/jdk/java/foreign/TestUpcall.java

Changeset: d32e42cd
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
Date:      2021-07-13 14:34:35 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/d32e42cdd461ee5793331ad237b072c16b096ef4

8270184: [TESTBUG] Add coverage for jvmci ResolvedJavaType.toJavaName() for lambdas

Backport-of: 6a9bc108736522897f03a75c83e90e2c2a183d27

! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaType.java

Changeset: 8583aab3
Author:    Vicente Romero <vromero at openjdk.org>
Date:      2021-07-13 17:48:21 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/8583aab374c3c2ad94c88e7f649d81ce5f319a5f

8270025: DynamicCallSiteDesc::withArgs doesn't throw NPE

Reviewed-by: jvernee, mchung

! src/java.base/share/classes/java/lang/constant/DynamicCallSiteDesc.java
+ test/jdk/java/lang/constant/DynamicCallSiteDescTest.java

Changeset: 4a7ccf36
Author:    Jesper Wilhelmsson <jwilhelm at openjdk.org>
Date:      2021-07-14 01:07:52 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/4a7ccf36e9a3978c437db3efe892dd23e8a0b772

Merge

! src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp
! src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp

Changeset: b6d76538
Author:    Ivan Walulya <iwalulya at openjdk.org>
Date:      2021-07-14 07:52:57 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/b6d765386ec38d83a092ebf8dc109370f74e314d

8264419: Remove has_max_index argument from G1BlockOffsetTablePart::block_at_or_preceding

Reviewed-by: ayang, tschatzl

! src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp
! src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp

Changeset: 589a1d53
Author:    Aleksey Shipilev <shade at openjdk.org>
Date:      2021-07-14 08:14:12 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/589a1d53df0f53c064fda8a2ac491e0a536ea487

8270155: ARM32: Improve register dump in hs_err

Reviewed-by: dholmes, stuefe

! src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp

Changeset: 357fe09f
Author:    Nick Gasson <ngasson at openjdk.org>
Date:      2021-07-14 09:02:43 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/357fe09f2e46efa3343f6c8a57b8693dcd5dd43c

8247351: [aarch64] NullPointerException during stack walking (clhsdb "where -a")

Reviewed-by: cjplummer

! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/RegisterMap.java
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/aarch64/AARCH64Frame.java

Changeset: 85ee9226
Author:    pavelrappo <pavel.rappo at gmail.com>
Date:      2021-07-14 11:58:17 +0000
URL:       https://git.openjdk.java.net/jdk-sandbox/commit/85ee9226b630a6db612126c72de343a9e60402e0

Merge branch 'master' into snippets




More information about the jdk-sandbox-changes mailing list