git: openjdk/valhalla: lworld: 65 new changesets

Aleksey Shipilev shade at openjdk.java.net
Thu Jun 18 08:43:23 UTC 2020


Changeset: c0475c81
Author:    Mandy Chung <mchung at openjdk.org>
Date:      2020-06-11 11:07:09 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/c0475c81

8247247: JFR tests fail due to JDK-8235521 missing doPrivileged block

Reviewed-by: egahlin

! src/jdk.jfr/share/classes/jdk/jfr/internal/MetadataRepository.java
! src/jdk.jfr/share/classes/jdk/jfr/internal/SecuritySupport.java

Changeset: edefd3c1
Author:    Alexey Semenyuk <asemenyuk at openjdk.org>
Date:      2020-06-11 19:46:39 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/edefd3c1

8247422: --runtime-image on Mac should work for runtime root
8247424: jpackage BasicTest.java failed two sub-tests

Reviewed-by: herrick, almatvee

! src/jdk.incubator.jpackage/share/classes/jdk/incubator/jpackage/internal/StandardBundlerParam.java
! test/jdk/tools/jpackage/share/jdk/jpackage/tests/BasicTest.java
+ test/jdk/tools/jpackage/share/jdk/jpackage/tests/CookedRuntimeTest.java

Changeset: 0b8f18be
Author:    Valerie Peng <valeriep at openjdk.org>
Date:      2020-06-12 02:34:44 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/0b8f18be

8246613: Choose the default SecureRandom algo based on registration ordering

Fixed java.security.Provider and SecureRandom to use the 1st registered SecureRandom service

Reviewed-by: weijun, mullan

! src/java.base/share/classes/java/security/Provider.java
! src/java.base/share/classes/java/security/SecureRandom.java
! test/jdk/java/security/SecureRandom/DefaultAlgo.java

Changeset: 56d333c5
Author:    Jesper Wilhelmsson <jwilhelm at openjdk.org>
Date:      2020-06-12 05:00:09 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/56d333c5

Added tag jdk-15+27 for changeset 93813843680b

! .hgtags

Changeset: 494f9667
Author:    Jesper Wilhelmsson <jwilhelm at openjdk.org>
Date:      2020-06-12 05:12:32 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/494f9667

Merge

! .hgtags
! .hgtags

Changeset: 08304ada
Author:    Jesper Wilhelmsson <jwilhelm at openjdk.org>
Date:      2020-06-12 09:47:25 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/08304ada

Added tag jdk-16+1 for changeset 4a485c89d5a0

! .hgtags

Changeset: 1b75b7de
Author:    Conor Cleary <conor.cleary at oracle.com>
Committer: Patrick Concannon <pconcannon at openjdk.org>
Date:      2020-06-12 09:48:30 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/1b75b7de

8246143: UnreferencedXXX tests fail when run with --illegal-access=deny

This patch updates the @modules tag with +open in the tests UnreferencedDatagramSockets and UnreferncedMulticastSockets in advance of the removal of --illegal-access to allow access to private member fields required by the tests.

Reviewed-by: alanb, dfuchs

! test/jdk/java/net/DatagramSocket/UnreferencedDatagramSockets.java
! test/jdk/java/net/MulticastSocket/UnreferencedMulticastSockets.java

Changeset: 24f040da
Author:    Jie Fu <jiefu at openjdk.org>
Date:      2020-06-12 10:52:20 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/24f040da

8247396: Exclude PCH for files in $(OPT_SPEED_SRC) with clang after JDK-8246751

Reviewed-by: ihse, erikj

! make/hotspot/lib/JvmOverrideFiles.gmk

Changeset: 1b64fb20
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2020-06-12 13:38:06 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/1b64fb20

8247334: Trees.getScope crashes for annotated local records

Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
! test/langtools/tools/javac/api/TestGetScopeResult.java

Changeset: ac460314
Author:    Poonam Bajaj <poonam at openjdk.org>
Date:      2020-06-12 12:51:32 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/ac460314

8243290: Improve diagnostic messages for class verification and redefinition failures

Reviewed-by: coleenp, hseigel, sspitsyn

! src/hotspot/share/classfile/verifier.cpp
! src/hotspot/share/prims/jvmtiRedefineClasses.cpp

Changeset: c06fe155
Author:    Daniel D. Daugherty <dcubed at openjdk.org>
Date:      2020-06-12 12:06:24 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/c06fe155

8247492: ProblemList tools/jlink/plugins/CompressorPluginTest.java

Reviewed-by: jlaskey

! test/jdk/ProblemList.txt

Changeset: 0e4829ef
Author:    Calvin Cheung <ccheung at openjdk.org>
Date:      2020-06-12 16:48:27 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/0e4829ef

8245060: remove copying of s.h.WB$WhiteBoxPermission in cds/appcds tests

Reviewed-by: dholmes, minqi, iklam

! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/AppendClasspath.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ArrayKlasses.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ClassResolutionFailure.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicLotsOfClasses.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ExcludedClasses.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/HelloDynamic.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/HelloDynamicCustom.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/HelloDynamicCustomUnload.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/JITInteraction.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/LinkClassTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/MethodSorting.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/MissingArchive.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/NoClassToArchive.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/RelativePath.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/SharedArchiveFileOption.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/UnsupportedBaseArchive.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/UnusedCPDuringDump.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/CDSMHTest_generate.sh
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesAsCollectorTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesCastFailureTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesGeneralTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesInvokersTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesPermuteArgumentsTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesSpreadArgumentsTest.java
! test/hotspot/jtreg/runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java

Changeset: 1a681a43
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
Date:      2020-06-12 20:28:07 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/1a681a43

8200738: Use --hash-style=gnu for gcc

Reviewed-by: erikj

! make/autoconf/flags-ldflags.m4
! make/autoconf/spec.gmk.in
! make/autoconf/toolchain.m4

Changeset: be278bc5
Author:    Joe Darcy <darcy at openjdk.org>
Date:      2020-06-12 13:16:40 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/be278bc5

8246222: Rename javac test T6395981.java to be more informative

Reviewed-by: jjg

- test/langtools/tools/javac/api/T6395981.java
+ test/langtools/tools/javac/api/TestGetSourceVersions.java

Changeset: 892d9985
Author:    Xin Liu <xliu at openjdk.org>
Date:      2020-06-12 13:33:29 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/892d9985

8139046: Compiler Control: IGVPrintLevel directive should set PrintIdealGraph

Make !PrintIdealGraph a synonym for PrintIdealGraphLevel=-1 => print nothing

Reviewed-by: simonis, phh, neliasso

! src/hotspot/share/compiler/compilerDefinitions.cpp
! src/hotspot/share/opto/c2_globals.hpp
! src/hotspot/share/opto/compile.cpp
! src/hotspot/share/opto/compile.hpp
! src/hotspot/share/opto/idealGraphPrinter.cpp
! src/hotspot/share/opto/idealGraphPrinter.hpp
! src/hotspot/share/opto/parse2.cpp

Changeset: 8c90f4c0
Author:    Daniel D. Daugherty <dcubed at openjdk.org>
Date:      2020-06-12 17:28:39 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/8c90f4c0

8247495: ProblemList vmTestbase/nsk/jvmti/SetFieldAccessWatch/setfldw001/TestDescription.java

Reviewed-by: cjplummer, minqi

! test/hotspot/jtreg/ProblemList-Xcomp.txt

Changeset: bac2e7fc
Author:    Leonid Mesnik <lmesnik at openjdk.org>
Date:      2020-06-12 14:33:55 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/bac2e7fc

8242328: Update mentions of ThreadMBean to ThreadMXBean

Reviewed-by: dholmes, iignatyev, sspitsyn

! src/hotspot/share/classfile/vmSymbols.hpp
! src/hotspot/share/compiler/compileBroker.cpp
! src/java.management/share/classes/sun/management/HotspotThreadMBean.java
! src/jdk.management.agent/share/conf/management.properties
! src/jdk.management/share/native/libmanagement_ext/GarbageCollectorExtImpl.c
! src/jdk.management/share/native/libmanagement_ext/GcInfoBuilder.c
! test/hotspot/jtreg/vmTestbase/nsk/monitoring/CompilationMXBean/comptimemon001/comptimemon001.java
! test/hotspot/jtreg/vmTestbase/nsk/monitoring/CompilationMXBean/comptimemon002/TestDescription.java
! test/hotspot/jtreg/vmTestbase/nsk/monitoring/CompilationMXBean/comptimemon003/TestDescription.java
! test/hotspot/jtreg/vmTestbase/nsk/monitoring/CompilationMXBean/comptimemon004/TestDescription.java
! test/hotspot/jtreg/vmTestbase/nsk/monitoring/CompilationMXBean/comptimemon005/TestDescription.java
! test/jdk/sun/management/jmxremote/bootstrap/rmiregistry.properties
! test/jdk/sun/management/jmxremote/bootstrap/rmiregistryssl.properties

Changeset: 1faed205
Author:    Xue-Lei Andrew Fan <xuelei at openjdk.org>
Date:      2020-06-12 15:55:08 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/1faed205

8247510: typo in IllegalHandshakeMessage

Reviewed-by: wetmore

! test/jdk/javax/net/ssl/SSLEngine/IllegalHandshakeMessage.java

Changeset: 19c5bfe4
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2020-06-12 13:38:06 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/19c5bfe4

8247334: Trees.getScope crashes for annotated local records

Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
! test/langtools/tools/javac/api/TestGetScopeResult.java

Changeset: 4bc69f42
Author:    Andy Herrick <herrick at openjdk.org>
Date:      2020-06-12 11:24:09 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/4bc69f42

8247418: Only validate the certificates trust if using the default key user name

Reviewed-by: asemenyuk, almatvee

! test/jdk/tools/jpackage/macosx/base/SigningCheck.java

Changeset: eeb3c5e9
Author:    Daniel D. Daugherty <dcubed at openjdk.org>
Date:      2020-06-12 12:06:24 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/eeb3c5e9

8247492: ProblemList tools/jlink/plugins/CompressorPluginTest.java

Reviewed-by: jlaskey

! test/jdk/ProblemList.txt

Changeset: 7b988b31
Author:    Phil Race <prr at openjdk.org>
Date:      2020-06-12 09:31:08 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/7b988b31

8240654: ZGC can cause severe UI application repaint issues

Reviewed-by: serb, jdv, stefank, kcr

! src/java.desktop/windows/native/libawt/java2d/windows/GDIBlitLoops.cpp
! src/java.desktop/windows/native/libawt/windows/awt_Cursor.cpp
! src/java.desktop/windows/native/libawt/windows/awt_PrintJob.cpp
! src/java.desktop/windows/native/libawt/windows/awt_TrayIcon.cpp
+ test/jdk/java/awt/Graphics2D/LargeWindowPaintTest.java
+ test/jdk/java/awt/print/PrinterJob/AlphaPrintTest.java

Changeset: e68f81ab
Author:    Daniel D. Daugherty <dcubed at openjdk.org>
Date:      2020-06-12 17:28:39 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/e68f81ab

8247495: ProblemList vmTestbase/nsk/jvmti/SetFieldAccessWatch/setfldw001/TestDescription.java

Reviewed-by: cjplummer, minqi

! test/hotspot/jtreg/ProblemList-Xcomp.txt

Changeset: 241f4018
Author:    Vladimir Kozlov <kvn at openjdk.org>
Date:      2020-06-12 14:33:20 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/241f4018

8247350: [aarch64] assert(false) failed: wrong size of mach node

Use movptr() to load address of string

Reviewed-by: adinn, azeemj

! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp
! src/hotspot/share/opto/output.cpp

Changeset: af83d6ab
Author:    Jesper Wilhelmsson <jwilhelm at openjdk.org>
Date:      2020-06-13 01:00:00 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/af83d6ab

Merge


Changeset: c82c50b2
Author:    Ioi Lam <iklam at openjdk.org>
Date:      2020-06-14 01:19:48 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/c82c50b2

8245925: G1 allocates EDEN region after CDS has executed GC

Reviewed-by: jiangli, minqi, tschatzl

! src/hotspot/share/gc/g1/g1HeapVerifier.cpp
! src/hotspot/share/gc/shared/collectedHeap.cpp
! src/hotspot/share/memory/heapShared.cpp
! src/hotspot/share/memory/heapShared.hpp
! src/hotspot/share/memory/metaspaceShared.cpp
! test/hotspot/jtreg/runtime/cds/appcds/javaldr/GCDuringDump.java
! test/hotspot/jtreg/runtime/cds/appcds/javaldr/GCDuringDumpTransformer.java

Changeset: 0f7b18a9
Author:    David Holmes <dholmes at openjdk.org>
Date:      2020-06-14 17:43:54 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/0f7b18a9

8231560: Remove expired flags in JDK 16

Reviewed-by: kvn, iklam, iignatyev, eosterlund

! src/hotspot/share/runtime/arguments.cpp

Changeset: 2536cbf2
Author:    Weijun Wang <weijun at openjdk.org>
Date:      2020-06-13 17:49:15 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/2536cbf2

8245679: KeyStore cannot probe PKCS12 keystore if BouncyCastle is the top security provider

Reviewed-by: mullan

! src/java.base/share/classes/java/security/KeyStore.java
! src/java.base/share/classes/sun/security/provider/JavaKeyStore.java
+ test/jdk/java/security/KeyStore/OneProbeOneNot.java

Changeset: faaf52cc
Author:    Ao Qi <aoqi at openjdk.org>
Date:      2020-06-13 18:59:44 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/faaf52cc

8247388: Minimal build broken after JDK-8240245 (undefined reference to `MetaspaceShared::_use_optimized_module_handling')

Reviewed-by: iklam, coleenp, dholmes

! src/hotspot/share/runtime/arguments.cpp

Changeset: bc73f123
Author:    Aleksey Shipilev <shade at openjdk.org>
Date:      2020-06-14 18:16:31 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/bc73f123

8247474: Shenandoah: Windows build warning after JDK-8247310

Reviewed-by: rkennke

! src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp
! src/hotspot/share/gc/shenandoah/shenandoahPacer.hpp

Changeset: 76879aa9
Author:    Jesper Wilhelmsson <jwilhelm at openjdk.org>
Date:      2020-06-15 02:40:51 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/76879aa9

Merge

! src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp
! src/hotspot/share/runtime/arguments.cpp
! src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp
! src/hotspot/share/runtime/arguments.cpp

Changeset: 3752a81e
Author:    Yang Zhang <yzhang at openjdk.org>
Date:      2020-06-15 06:05:17 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/3752a81e

8244926: Add absolute check for int/long to generate Abs nodes

Reviewed-by: neliasso, thartmann

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

Changeset: 3341d361
Author:    Matthias Baesken <mbaesken at openjdk.org>
Date:      2020-06-12 16:40:47 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/3341d361

8247469: getSystemCpuLoad() returns -1 on linux when some offline cpus are present and cpusets.effective_cpus is not available

Reviewed-by: bobv, dtitov

! src/jdk.management/aix/native/libmanagement_ext/UnixOperatingSystem.c
! src/jdk.management/linux/native/libmanagement_ext/UnixOperatingSystem.c
! src/jdk.management/macosx/native/libmanagement_ext/UnixOperatingSystem.c
! src/jdk.management/unix/classes/com/sun/management/internal/OperatingSystemImpl.java

Changeset: 08df6a1f
Author:    Christian Hagedorn <chagedorn at openjdk.org>
Date:      2020-06-15 09:50:11 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/08df6a1f

8246203: Segmentation fault in verification due to stack overflow with -XX:+VerifyIterativeGVN

Replace the recursive verification algorithm with an iterative one to avoid a stack overflow for large graphs.

Reviewed-by: kvn, thartmann

! src/hotspot/share/opto/node.cpp
! src/hotspot/share/opto/node.hpp
! src/hotspot/share/opto/phaseX.cpp
+ test/hotspot/jtreg/compiler/loopopts/TestDeepGraphVerifyIterativeGVN.java

Changeset: ab57f7d6
Author:    Erik Helin <ehelin at openjdk.org>
Date:      2020-06-15 12:28:27 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/ab57f7d6

8193686: Allow --with-jtreg to accept a zip compressed jtreg image

Reviewed-by: ihse

! make/autoconf/toolchain.m4

Changeset: 38f9a938
Author:    Rahul Yadav <ryadav at openjdk.org>
Date:      2020-06-15 16:26:31 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/38f9a938

8245307: Update ExchangeImpl to use thread safe DateTimeFormatter

The fix updates sun.net.httpserver.ExchangeImpl to use thread safe DateTimeFormatter for response headers, this replaces DateFormat that was using ThreadLocal.

Reviewed-by: dfuchs, alanb, chegar

! src/jdk.httpserver/share/classes/sun/net/httpserver/ExchangeImpl.java
+ test/jdk/com/sun/net/httpserver/DateFormatterTest.java

Changeset: 23e2f279
Author:    Naoto Sato <naoto at openjdk.org>
Date:      2020-06-15 09:21:39 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/23e2f279

8246623: Remove minimum 4 digit requirement from Year.parse()

Reviewed-by: lancea, rriggs, joehw

! src/java.base/share/classes/java/time/Year.java
! test/jdk/java/time/tck/java/time/TCKYear.java

Changeset: 0be5b7d6
Author:    David Holmes <dholmes at openjdk.org>
Date:      2020-06-15 18:35:46 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/0be5b7d6

8247289: Obsolete unused UseBsdPosixThreadCPUClocks
8247292: Obsolete unused UseOprofile flag on BSD

Co-authored-by: Christoph Dreis <christoph.dreis at freenet.de>
Reviewed-by: hseigel, dcubed

! src/hotspot/os/bsd/globals_bsd.hpp
! src/hotspot/os/bsd/os_bsd.cpp
! src/hotspot/share/runtime/arguments.cpp

Changeset: c1cd3893
Author:    Kim Barrett <kbarrett at openjdk.org>
Date:      2020-06-15 21:14:52 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/c1cd3893

8247524: Remove unnecessary volatile qualifiers from member functions

Remove qualifiers for oopDesc and metadata-related member functions.

Reviewed-by: stefank, dholmes, stuefe, coleenp

! src/hotspot/share/memory/binaryTreeDictionary.hpp
! src/hotspot/share/memory/metaspace/metabase.hpp
! src/hotspot/share/oops/constantPool.hpp
! src/hotspot/share/oops/klass.hpp
! src/hotspot/share/oops/metadata.hpp
! src/hotspot/share/oops/method.hpp
! src/hotspot/share/oops/methodCounters.hpp
! src/hotspot/share/oops/methodData.hpp
! src/hotspot/share/oops/oop.hpp
! src/hotspot/share/oops/oop.inline.hpp

Changeset: e3b04bc1
Author:    Aleksey Shipilev <shade at openjdk.org>
Date:      2020-06-15 14:11:43 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/e3b04bc1

8247560: Shenandoah: heap iteration holds root locks all the time

Reviewed-by: zgu

! src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp

Changeset: ca85c5ab
Author:    Jie Fu <jiefu at tencent.com>
Committer: Jie Fu <jiefu at openjdk.org>
Date:      2020-06-13 23:10:26 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/ca85c5ab

8247522: assert(is_aligned(class_space_rs.base(), class_space_alignment)) failed: Sanity

Co-authored-by: Thomas Stuefe <thomas.stuefe at gmail.com>
Reviewed-by: stuefe, iklam

! src/hotspot/share/memory/metaspaceShared.cpp
! test/hotspot/jtreg/runtime/cds/SharedBaseAddress.java
! test/hotspot/jtreg/runtime/cds/appcds/SharedBaseAddress.java

Changeset: fd7123b2
Author:    Jie Fu <jiefu at openjdk.org>
Date:      2020-06-13 14:29:08 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/fd7123b2

8247463: java/nio/channels/etc/OpenAndConnect.java fails due to IPv6 not available

Reviewed-by: dfuchs, alanb

! test/jdk/java/nio/channels/etc/OpenAndConnect.java

Changeset: b71dac25
Author:    Aleksey Shipilev <shade at openjdk.org>
Date:      2020-06-15 16:16:48 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/b71dac25

8247575: serviceability/dcmd/gc/HeapDumpCompressedTest unlocks experimental options for Shenandoah and Z

Reviewed-by: tschatzl, stefank

! test/hotspot/jtreg/serviceability/dcmd/gc/HeapDumpCompressedTest.java

Changeset: 6c3c3dad
Author:    Roger Riggs <rriggs at openjdk.org>
Date:      2020-06-15 11:57:33 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/6c3c3dad

8247521: (test) jdk/test/lib/hexdump/HexPrinterTest.java fails on windows

Reviewed-by: iignatyev, joehw

! test/lib-test/jdk/test/lib/hexdump/HexPrinterTest.java

Changeset: 6cdf06f0
Author:    Daniil Titov <dtitov at openjdk.org>
Date:      2020-06-15 09:03:45 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/6cdf06f0

8246196: javax/management/MBeanServer/OldMBeanServerTest fails with AssertionError

Reviewed-by: amenkov, dholmes, sspitsyn

! test/jdk/javax/management/MBeanServer/OldMBeanServerTest.java

Changeset: 898c638b
Author:    Markus Grönlund <mgronlun at openjdk.org>
Date:      2020-06-15 21:52:25 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/898c638b

8247530: JfrCheckpointManager failed "assert(!SafepointSynchronize::is_at_safepoint()) failed: invariant"

Reviewed-by: egahlin

! src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp

Changeset: c55b06a4
Author:    Jonathan Gibbons <jjg at openjdk.org>
Date:      2020-06-15 16:05:47 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/c55b06a4

8247382: doclint errors (missing comments) in jdk.compiler and jdk.javadoc

Reviewed-by: darcy

! src/jdk.compiler/share/classes/com/sun/tools/javac/Main.java
! src/jdk.javadoc/share/classes/jdk/javadoc/doclet/DocletEnvironment.java
! src/jdk.javadoc/share/classes/jdk/javadoc/doclet/StandardDoclet.java

Changeset: f968f327
Author:    Valerie Peng <valeriep at openjdk.org>
Date:      2020-06-15 23:30:49 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/f968f327

8246077: Cloneable test in HmacCore seems questionable

Updated java.security.MessageDigest and Signature classes to return Cloneable obj for Cloneable spi obj

Reviewed-by: weijun, xuelei, coffeys

! src/java.base/share/classes/com/sun/crypto/provider/HmacCore.java
! src/java.base/share/classes/java/security/MessageDigest.java
! src/java.base/share/classes/java/security/Signature.java
! src/java.base/share/classes/sun/security/provider/DigestBase.java
+ test/jdk/com/sun/crypto/provider/Mac/DigestCloneabilityTest.java
+ test/jdk/java/security/MessageDigest/TestCloneable.java
+ test/jdk/java/security/Signature/TestCloneable.java

Changeset: 02cec347
Author:    Dean Long <dlong at openjdk.org>
Date:      2020-06-15 17:17:28 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/02cec347

8236647: java/lang/invoke/CallSiteTest.java failed with InvocationTargetException in Graal mode

Reviewed-by: kvn

! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodHandleAccessProvider.java
! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotObjectConstantImpl.java

Changeset: e33ebc7f
Author:    Jesper Wilhelmsson <jwilhelm at openjdk.org>
Date:      2020-06-16 04:20:30 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/e33ebc7f

Merge

! src/hotspot/share/memory/metaspaceShared.cpp
! src/hotspot/share/memory/metaspaceShared.cpp

Changeset: 0a108f9e
Author:    Tagir F. Valeev <tvaleev at openjdk.org>
Date:      2020-06-16 03:16:41 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/0a108f9e

8247605: Avoid array allocation when concatenating with empty string

Reviewed-by: redestad, plevart

! src/java.base/share/classes/java/lang/StringConcatHelper.java
! test/micro/org/openjdk/bench/java/lang/StringConcat.java

Changeset: 77bdc306
Author:    Stefan Karlsson <stefank at openjdk.org>
Date:      2020-06-16 09:37:53 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/77bdc306

8247470: Fix CHeap GrowableArray NMT accounting

Reviewed-by: coleenp, tschatzl, kbarrett

! src/hotspot/os/linux/os_linux.cpp
! src/hotspot/os/windows/os_windows.cpp
! src/hotspot/share/aot/aotLoader.cpp
! src/hotspot/share/ci/ciTypeFlow.cpp
! src/hotspot/share/classfile/classListParser.cpp
! src/hotspot/share/classfile/classLoader.cpp
! src/hotspot/share/classfile/classLoaderData.cpp
! src/hotspot/share/classfile/classLoaderExt.cpp
! src/hotspot/share/classfile/compactHashtable.cpp
! src/hotspot/share/classfile/javaClasses.cpp
! src/hotspot/share/classfile/moduleEntry.cpp
! src/hotspot/share/classfile/packageEntry.cpp
! src/hotspot/share/classfile/stringTable.cpp
! src/hotspot/share/classfile/systemDictionaryShared.cpp
! src/hotspot/share/code/codeCache.cpp
! src/hotspot/share/compiler/compilerEvent.cpp
! src/hotspot/share/compiler/disassembler.cpp
! src/hotspot/share/gc/g1/g1Allocator.hpp
! src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp
! src/hotspot/share/gc/g1/g1SurvivorRegions.cpp
! src/hotspot/share/gc/parallel/mutableNUMASpace.cpp
! src/hotspot/share/gc/parallel/psCompactionManager.cpp
! src/hotspot/share/gc/shared/gcTimer.cpp
! src/hotspot/share/interpreter/interpreterRuntime.cpp
! src/hotspot/share/jfr/jni/jfrJavaSupport.cpp
! src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.cpp
! src/hotspot/share/jfr/periodic/jfrNetworkUtilization.cpp
! src/hotspot/share/jfr/recorder/checkpoint/types/jfrThreadGroup.cpp
! src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSetUtils.cpp
! src/hotspot/share/jfr/recorder/jfrRecorder.cpp
! src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp
! src/hotspot/share/jfr/recorder/service/jfrOptionSet.cpp
! src/hotspot/share/jfr/support/jfrJdkJfrEvent.cpp
! src/hotspot/share/jfr/support/jfrKlassUnloading.cpp
! src/hotspot/share/memory/allocation.hpp
! src/hotspot/share/memory/dynamicArchive.cpp
! src/hotspot/share/memory/filemap.cpp
! src/hotspot/share/memory/heapInspection.cpp
! src/hotspot/share/memory/heapShared.cpp
! src/hotspot/share/memory/metaspaceShared.cpp
! src/hotspot/share/oops/methodData.cpp
! src/hotspot/share/opto/macro.cpp
! src/hotspot/share/prims/jvmtiCodeBlobEvents.cpp
! src/hotspot/share/prims/jvmtiEnv.cpp
! src/hotspot/share/prims/jvmtiEnvBase.cpp
! src/hotspot/share/prims/jvmtiEnvThreadState.cpp
! src/hotspot/share/prims/jvmtiExport.cpp
! src/hotspot/share/prims/jvmtiExtensions.cpp
! src/hotspot/share/prims/jvmtiImpl.cpp
! src/hotspot/share/prims/jvmtiRawMonitor.cpp
! src/hotspot/share/prims/jvmtiTagMap.cpp
! src/hotspot/share/runtime/arguments.cpp
! src/hotspot/share/runtime/biasedLocking.cpp
! src/hotspot/share/runtime/flags/jvmFlagConstraintList.cpp
! src/hotspot/share/runtime/flags/jvmFlagRangeList.cpp
! src/hotspot/share/runtime/perfData.cpp
! src/hotspot/share/runtime/reflectionUtils.cpp
! src/hotspot/share/runtime/thread.cpp
! src/hotspot/share/runtime/unhandledOops.cpp
! src/hotspot/share/runtime/vframe_hp.cpp
! src/hotspot/share/services/diagnosticArgument.cpp
! src/hotspot/share/services/heapDumper.cpp
! src/hotspot/share/services/memoryService.cpp
! src/hotspot/share/services/threadService.cpp
! src/hotspot/share/utilities/growableArray.hpp
! src/hotspot/share/utilities/hashtable.inline.hpp
! src/hotspot/share/utilities/histogram.cpp

Changeset: 9e4b9e91
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
Date:      2020-06-16 14:22:15 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/9e4b9e91

8201575: Allow numbers in VERSION_PRE according to JEP 223

Reviewed-by: erikj

! make/autoconf/jdk-version.m4

Changeset: a5120993
Author:    Rahul Yadav <ryadav at openjdk.org>
Date:      2020-06-16 13:15:42 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/a5120993

8247675: Update DateFormatterTest Copyright

The fix updates the test DateFormatterTest copyright by adding missing comma

Reviewed-by: dfuchs, chegar

! test/jdk/com/sun/net/httpserver/DateFormatterTest.java

Changeset: 3839c865
Author:    Patric Hedlin <phedlin at openjdk.org>
Date:      2020-06-04 10:17:40 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/3839c865

8247200: assert((unsigned)fpargs < 32)

Reviewed-by: aph, neliasso

! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp

Changeset: 3e5abdaf
Author:    Jonathan Gibbons <jjg at openjdk.org>
Date:      2020-06-16 14:27:16 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/3e5abdaf

8152313: [javadoc] convert tool tests to doclet tests

Reviewed-by: ksrini

! test/langtools/ProblemList.txt
+ test/langtools/jdk/javadoc/lib/javadoc/tester/TestDoclet.java
+ test/langtools/jdk/javadoc/tool/enum/docComments/EnumCommentTest.java
- test/langtools/jdk/javadoc/tool/enum/docComments/Main.java
! test/langtools/jdk/javadoc/tool/enum/docComments/pkg1/Operation.java
+ test/langtools/jdk/javadoc/tool/enum/enumType/EnumContentsTest.java
- test/langtools/jdk/javadoc/tool/enum/enumType/Main.java
! test/langtools/jdk/javadoc/tool/enum/enumType/expected.out
- test/langtools/jdk/javadoc/tool/varArgs/Main.java
+ test/langtools/jdk/javadoc/tool/varArgs/VarArgsTest.java
! test/langtools/jdk/javadoc/tool/varArgs/expected.out

Changeset: bf300e8d
Author:    Nils Eliasson <neliasso at openjdk.org>
Date:      2020-06-16 11:15:43 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/bf300e8d

8247421: ReturnBlobToWrongHeapTest.java failed allocating blob

Reviewed-by: kvn

! test/hotspot/jtreg/compiler/codecache/stress/ReturnBlobToWrongHeapTest.java

Changeset: e5d33163
Author:    Markus Grönlund <mgronlun at openjdk.org>
Date:      2020-06-16 16:33:45 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/e5d33163

8247660: 12 Uninitialised variable in 1 files

Reviewed-by: egahlin

! src/hotspot/share/jfr/utilities/jfrConcurrentLinkedListHost.inline.hpp

Changeset: 5073b8c1
Author:    Yumin Qi <minqi at openjdk.org>
Date:      2020-06-16 08:03:40 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/5073b8c1

8247528: runtime/cds/appcds/jigsaw/modulepath/OptimizeModuleHandlingTest.java failing with Graal

OptimizeModuleHandlingTest.java should be disabled for jvmci since jvmci will set jdk.module.addmods.0=jdk.internal.vm.ci which lead to optimization disabled.

Reviewed-by: dcubed

! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/OptimizeModuleHandlingTest.java

Changeset: e7f8e1fd
Author:    Igor Ignatyev <iignatyev at openjdk.org>
Date:      2020-06-16 09:50:45 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/e7f8e1fd

8211977: move testlibrary tests into one place

Reviewed-by: erikj, dholmes, ihse

! make/Main.gmk
! make/RunTests.gmk
! make/common/FindTests.gmk
! make/test/JtregNativeHotspot.gmk
+ make/test/JtregNativeLibTest.gmk
! test/hotspot/jtreg/TEST.groups
! test/hotspot/jtreg/testlibrary/jvmti/libSimpleClassFileLoadHook.c
- test/hotspot/jtreg/testlibrary_tests/AssertsTest.java
- test/hotspot/jtreg/testlibrary_tests/OutputAnalyzerReportingTest.java
- test/hotspot/jtreg/testlibrary_tests/OutputAnalyzerTest.java
= test/hotspot/jtreg/testlibrary_tests/jvmti/SimpleClassFileLoadHookTest.java
- test/hotspot/jtreg/testlibrary_tests/process/Test.java
- test/hotspot/jtreg/testlibrary_tests/process/TestNativeProcessBuilder.java
- test/hotspot/jtreg/testlibrary_tests/process/exejvm-test-launcher.c
- test/jdk/lib/testlibrary/OutputAnalyzerTest.java
+ test/lib-test/ProblemList.txt
= test/lib-test/RedefineClassTest.java
! test/lib-test/TEST.ROOT
+ test/lib-test/TEST.groups
= test/lib-test/jdk/test/lib/AssertsTest.java
= test/lib-test/jdk/test/lib/RandomGeneratorTest.java
= test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java
= test/lib-test/jdk/test/lib/TestPlatformIsTieredSupported.java
! test/lib-test/jdk/test/lib/apps/LingeredAppTest.java
= test/lib-test/jdk/test/lib/process/OutputAnalyzerReportingTest.java
+ test/lib-test/jdk/test/lib/process/OutputAnalyzerTest.java
+ test/lib-test/jdk/test/lib/process/TestNativeProcessBuilder.java
+ test/lib-test/jdk/test/lib/process/exejvm-test-launcher.c
= test/lib-test/sun/hotspot/whitebox/BlobSanityTest.java
= test/lib-test/sun/hotspot/whitebox/CPUInfoTest.java
= test/lib-test/sun/hotspot/whitebox/vm_flags/BooleanTest.java
= test/lib-test/sun/hotspot/whitebox/vm_flags/DoubleTest.java
= test/lib-test/sun/hotspot/whitebox/vm_flags/IntxTest.java
= test/lib-test/sun/hotspot/whitebox/vm_flags/SizeTTest.java
= test/lib-test/sun/hotspot/whitebox/vm_flags/StringTest.java
= test/lib-test/sun/hotspot/whitebox/vm_flags/Uint64Test.java
= test/lib-test/sun/hotspot/whitebox/vm_flags/UintxTest.java
= test/lib-test/sun/hotspot/whitebox/vm_flags/VmFlagTest.java

Changeset: dee90e47
Author:    Vicente Romero <vromero at openjdk.org>
Date:      2020-06-16 17:25:02 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/dee90e47

8246098: API for Class::permittedSubclasses should clarify if returned elements are ordered or not

Reviewed-by: chegar

! src/java.base/share/classes/java/lang/Class.java

Changeset: a27ee6b2
Author:    Jonathan Gibbons <jjg at openjdk.org>
Date:      2020-06-16 14:42:06 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/a27ee6b2

8236539: Relative link tags in record javadoc don't resolve

Reviewed-by: hannesw

! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractIndexWriter.java
+ test/langtools/jdk/javadoc/doclet/testRecordLinks/TestRecordLinks.java

Changeset: 3237e82b
Author:    Calvin Cheung <ccheung at openjdk.org>
Date:      2020-06-16 22:05:09 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/3237e82b

8247526: [TESTBUG] runtime/cds/appcds/dynamicArchive tests failing with Graal

Adjusted the "shouldMatch" statement and increased the timeout of some tests.

Reviewed-by: iklam

! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/LambdaForClassInBaseArchive.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/NestTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/StaticInnerTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/CDSMHTest_generate.sh
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesAsCollectorTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesCastFailureTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesGeneralTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesInvokersTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesPermuteArgumentsTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesSpreadArgumentsTest.java

Changeset: 6d2959b3
Author:    Jesper Wilhelmsson <jwilhelm at openjdk.org>
Date:      2020-06-17 05:28:05 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/6d2959b3

Merge

! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/CDSMHTest_generate.sh
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesAsCollectorTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesCastFailureTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesGeneralTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesInvokersTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesPermuteArgumentsTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesSpreadArgumentsTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/CDSMHTest_generate.sh
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesAsCollectorTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesCastFailureTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesGeneralTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesInvokersTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesPermuteArgumentsTest.java
! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesSpreadArgumentsTest.java

Changeset: aeeaffa8
Author:    Aleksey Shipilev <shade at openjdk.org>
Date:      2020-06-17 09:43:16 +0000
URL:       https://git.openjdk.java.net/valhalla/commit/aeeaffa8

8247593: Shenandoah: should not block pacing reporters

Reviewed-by: rkennke

! src/hotspot/share/gc/shenandoah/shenandoahControlThread.cpp
! src/hotspot/share/gc/shenandoah/shenandoahControlThread.hpp
! src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp
! src/hotspot/share/gc/shenandoah/shenandoahPacer.hpp
! src/hotspot/share/gc/shenandoah/shenandoahPacer.inline.hpp



More information about the valhalla-dev mailing list