59247 Commits

Author SHA1 Message Date
Alan Bateman
c7b1b1bb74 8244284: Two tests in test/hotspot/jtreg/vmTestbase fail with --illegal-access=deny
Reviewed-by: iignatyev
2020-05-04 12:45:12 +01:00
Alan Bateman
e5099daae2 8244283: test/jdk/sun/net/idn/TestStringPrep.java fails with --illegal-access=deny
Reviewed-by: chegar
2020-05-04 12:40:17 +01:00
Alan Bateman
352e460529 8244281: test/jdk/com/sun/crypto/provider/KeyProtector/IterationCount.java fails with --illegal-access=deny
Reviewed-by: weijun, xuelei
2020-05-04 12:37:58 +01:00
Jan Lahoda
4e55421171 8243548: Javac incorrectly collects enum fields when verifying switch expression exhaustivness
When gathering enum constants for exhaustivness analysis, make sure nested enum classes are not included

Reviewed-by: vromero
2020-05-04 12:28:36 +02:00
Jan Lahoda
1a35219f01 8243557: Inconvenient span for multi-catch error diagnostics
Reviewed-by: vromero
2020-05-04 12:28:35 +02:00
Christian Hagedorn
09912cc509 8244182: Use root node as default for find_node when called from debugger
Improve find_node for simpler debugging.

Reviewed-by: roland, thartmann
2020-05-04 10:27:46 +02:00
Christian Hagedorn
bbcb3b638b 8230402: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Remove assert that is only hit with hand written edge case tests.

Reviewed-by: kvn, thartmann
2020-05-04 10:23:23 +02:00
Daniel D. Daugherty
57fbf93ef9 8230940: Obsolete MonitorBound
Obsolete MonitorBound option and delete associated code.

Reviewed-by: kbarrett, dholmes, redestad
2020-05-03 10:00:36 -04:00
Jie Fu
765a5b858b 8244276: Zero and minimal VM build failure after JDK-8178349 (use of undeclared identifier 'SystemDictionaryShared')
Reviewed-by: minqi, dholmes
2020-05-03 20:11:14 +08:00
Alexey Semenyuk
eee32495a1 8244220: Compiler error in jpackage with VS2019
Reviewed-by: herrick, almatvee, prr
2020-05-02 11:02:48 -04:00
Jatin Bhateja
f0f7070cb5 8244186: assertion failure test/jdk/javax/net/ssl/DTLS/RespondToRetransmit.java
Removing an assertion which prevents logic folding over cones already having a MacroLogic node.

Reviewed-by: kvn
2020-05-02 20:37:56 +05:30
Igor Ignatyev
bcf3ae8245 8244142: some hotspot/runtime tests don't check exit code of forked JVM
Reviewed-by: gziemski, minqi
2020-04-29 19:55:52 -07:00
Igor Ignatyev
47c30dbc16 8244141: use @requires and SkippedException in some hotspot/runtime tests
Reviewed-by: minqi, gziemski
2020-05-02 07:17:20 -07:00
Igor Ignatyev
1ad4834807 8203238: [TESTBUG] rewrite MemOptions shell test in Java
Reviewed-by: mseledtsov, kbarrett
2020-03-24 17:18:35 -07:00
Tobias Hartmann
0c7e01fa32 8242108: Performance regression after fix for JDK-8229496
Backed out the fix for 8229496.

Reviewed-by: kvn, roland
2020-04-22 16:22:53 +02:00
Erik Joelsson
d8d8424db9 8243109: Bootcycle build failures after Nashorn removal
Reviewed-by: ihse
2020-04-22 07:06:23 -07:00
Aleksey Shipilev
6b5fc175a1 8243395: Shenandoah: demote guarantee in ShenandoahPhaseTimings::record_workers_end
Reviewed-by: zgu
2020-04-22 15:19:52 +02:00
Aleksey Shipilev
1ba7cf7dd6 8243291: Shenandoah: no need to retire TLABs at Init Update Refs
Reviewed-by: rkennke
2020-04-22 15:19:52 +02:00
Aleksey Shipilev
91d204780d 8243301: Shenandoah: ditch ShenandoahAllowMixedAllocs
Reviewed-by: rkennke
2020-04-22 15:19:52 +02:00
Patrick Concannon
8e21a2a1e4 8237890: DatagramPacket::getSocketAddress doesn't specify what happens if address or port are not set
This fix changes the default port of a DatagramPacket from -1 to 0, which changes the behaviour of calling getSocketAddress with no port set from throwing an IAE to returning an InetSocketAddress representing any local address with port 0.

Reviewed-by: alanb, chegar, dfuchs
2020-04-22 12:34:09 +01:00
Aleksey Shipilev
ac088b4631 8243307: Shenandoah: remove ShCollectionSet::live_data
Reviewed-by: rkennke
2020-04-22 11:45:27 +02:00
Ivan Walulya
59521b0389 8209162: Page size selection does not always select optimal page size
Reviewed-by: sjohanss, tschatzl
2020-04-21 19:44:17 +02:00
Corey Ashford
d945999862 8241874: [PPC64]: Improve performance of Long.reverseBytes() and Integer.reverseBytes() on Power9
Reviewed-by: mdoerr, mhorie
2020-04-22 02:30:14 -05:00
Rahul Raghavan
0d09d682a4 8241986: The java man page erroneously refers to XEND when it should refer XTEST
Fixed typo in the man page

Reviewed-by: thartmann
2020-04-22 11:53:27 +05:30
Yang Zhang
306eeb0861 8242482: AArch64: Change parameter names of reduction operations to make code clear
Reviewed-by: aph
2020-04-22 05:19:53 +00:00
Chris Yin
61b03fbfa6 8242614: cleanup duplicated test ldap server in some com/sun/jndi/ldap/ tests
Reviewed-by: aefimov, vtewari, dfuchs
2020-04-22 09:44:10 +08:00
Vicente Romero
78a0baa57c 8241627: Updating ASM to 8.0.1 for JDK 15
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Reviewed-by: psandoz, chegar
2020-04-21 21:25:26 -04:00
Pavel Rappo
c7ae195a03 8243318: New test jdk/javadoc/tool/8224612/OptionsTest.java is failing
Reviewed-by: jjg
2020-04-22 01:30:16 +01:00
David Buck
f8f698465d 8234691: Potential double-free in ParallelSPCleanupTask constructor
Prevent extraneous constructor call

Reviewed-by: dholmes, stefank
2020-04-21 19:52:18 -04:00
Chris Plummer
d041941e64 8242789: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with 'JShellToolProvider' missing from stdout/stderr
Reviewed-by: amenkov, sspitsyn
2020-04-21 16:13:24 -07:00
Chris Plummer
d80f55e7e9 8243206: Cleanup error checking and handling in serviceability/sa/JhsdbThreadInfoTest.ja
Reviewed-by: amenkov, sspitsyn
2020-04-21 16:11:25 -07:00
Pavel Rappo
392b75d158 8224612: javadoc should better handle empty set of doclet options
Reviewed-by: hannesw
2020-04-21 20:09:49 +01:00
Patricio Chilano Mateo
d19f5f6830 8242484: Rework thread deletion during VM termination
Always delete JavaThread that calls Thread::destroy_vm()

Reviewed-by: dholmes, rehn, coleenp
2020-04-21 17:50:48 +00:00
Lois Foltan
efa570126b 8243045: AOTCompiledMethod::print_on triggers assertion after JDK-8210012
Fix outputStream time stamp issue when AOT and -Xlog:all=trace are specified together.

Reviewed-by: coleenp, hseigel, kvn
2020-04-21 17:20:08 +00:00
Mandy Chung
1c6ca09b02 8238195: Lookup::defineClass should link the class to match the specification
Reviewed-by: alanb, chegar
2020-04-21 07:09:18 -07:00
Mandy Chung
1feb24e561 8243274: suppress warnings in LookupDefineClass microbenchmarks due to JDK-8243156
Reviewed-by: lfoltan
2020-04-21 07:08:55 -07:00
Mandy Chung
7cc1371059 8238358: Implementation of JEP 371: Hidden Classes
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Jim Laskey
642041adbc 8243168: Remove addition preview adornment from String::stripIndent and String::translateEscapes
Reviewed-by: chegar
2020-04-21 10:11:36 -03:00
Magnus Ihse Bursie
93032c637b 8242943: Fix all remaining unchecked warnings in jdk.hotspot.agent
Reviewed-by: darcy, sspitsyn, dholmes
2020-04-21 13:55:23 +02:00
Magnus Ihse Bursie
48569d9da0 8243156: Fix deprecation and unchecked warnings in microbenchmark
Reviewed-by: erikj, redestad
2020-04-21 13:52:32 +02:00
Stefan Karlsson
71b06ed298 8243146: Further cleanups after UseAdaptiveGCBoundary removal
Reviewed-by: kbarrett, sjohanss
2020-04-21 10:10:23 +02:00
Aleksey Shipilev
74b3243f8c 8243238: Shenandoah: explicit GC request should wait for a complete GC cycle
Reviewed-by: rkennke
2020-04-21 11:20:54 +02:00
Yang Zhang
6a905b6546 8242070: AArch64: Fix a typo introduced by JDK-8238690
Change LShiftCntV to RShiftVS in match rule of vector shift right with imm for short type.

Reviewed-by: aph
2020-04-21 04:07:37 +00:00
Yang Zhang
5a665c39c9 8242796: Fix client build failure
Reviewed-by: kvn
2020-04-21 04:02:27 +00:00
Ioi Lam
0bc7cc4d28 8241158: SA TestHeapDumpForInvokeDynamic.java fails when CDS archive is relocated
Reviewed-by: ccheung
2020-04-20 17:33:52 -07:00
Yumin Qi
7b8c373494 8240204: Optimize package handling for archived classes
ClassLoader::add_package just sets classpath_index to PackageEntry, moved the code to InstanceKlass. Also avoid calling check_prohibited_package since CDS does not archive prohibited classe in set_package.

Reviewed-by: hseigel, lfoltan, redestad, iklam
2020-04-20 16:36:15 -07:00
Vladimir Kozlov
8da1ee7833 8242357: [JVMCI] Incorrect use of JVMCI_CHECK_ on return statement
Reviewed-by: dholmes, xliu
2020-04-20 13:13:56 -07:00
Erik Joelsson
bc3ed7bdb4 8242863: Bump minimum boot jdk to JDK 14
Reviewed-by: ihse, jlahoda, dholmes
2020-04-20 10:38:16 -07:00
Severin Gehwolf
85d07da475 8243059: Build fails when --with-vendor-name contains a comma
Use $$(VERSION_CFLAGS) so as to avoid the variable getting evaluated early

Reviewed-by: ihse, erikj
2020-04-17 11:14:17 +02:00
Daniil Titov
db8757ad12 8231585: java/lang/management/ThreadMXBean/MaxDepthForThreadInfoTest.java fails with java.lang.NullPointerException
Reviewed-by: dholmes, cjplummer, sspitsyn
2020-04-20 09:24:47 -07:00