8505 Commits

Author SHA1 Message Date
Aleksey Shipilev
cbdb4ba7ca 8243463: Shenandoah: ditch total_pause counters
Reviewed-by: rkennke
2020-04-23 13:48:13 +02:00
Aleksey Shipilev
b28137b093 8243460: Shenandoah: purge init_update_refs_prepare counter
Reviewed-by: rkennke
2020-04-23 13:48:07 +02:00
Christoph Langer
a7830958e3 8243117: Cleanups in Java code of module jdk.jlink
Reviewed-by: redestad, alanb
2020-04-23 11:56:45 +02:00
Serguei Spitsyn
e507405f5c 8241214: Test debugging of hidden classes using jdb
Add test and enable jdb support for hidden classes

Reviewed-by: cjplummer, amenkov, mchung, lmesnik
2020-04-23 07:46:18 +00:00
Yasumasa Suenaga
8d388381ee 8243450: Remove VMOps from jdk.hotspot.agent
Reviewed-by: cjplummer, dholmes
2020-04-23 12:14:58 +09:00
Chris Plummer
7f634155b5 8243210: ClhsdbScanOops fails with NullPointerException in FileMapHeader.inCopiedVtableSpace
Reviewed-by: iklam, sspitsyn
2020-04-22 15:09:32 -07:00
Zhengyu Gu
58e284c017 8243323: Shenandoah: Recycle immediate garbage before concurrent class unloading
Reviewed-by: shade
2020-04-22 17:59:59 -04:00
Zhengyu Gu
82e43b2527 8243200: Shenandoah: Allow concurrent nmethod iteration
Reviewed-by: rkennke, shade
2020-04-22 17:10:17 -04:00
Patrick Concannon
42d2a7411b 8243408: Inconsistent Exceptions are thrown by MulticastSocket when sending a DatagramPacket to port 0
This fix adds a check for port == 0 to MulticastSocket's 2-arg send method to ensure a consistent exception is thrown across platforms

Reviewed-by: dfuchs
2020-04-22 20:41:56 +01:00
Claes Redestad
268ea904ec 8243254: Examine ZipFile slash optimization for non-ASCII compatible charsets
Reviewed-by: lancea, naoto, martin
2020-04-22 21:13:10 +02:00
Xue-Lei Andrew Fan
72446bb0dc 8242141: New System Properties to configure the TLS signature schemes
Reviewed-by: ascarpino, jnimeh, mullan
2020-04-22 10:51:16 -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
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
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
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
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
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
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
Daniel Fuchs
da1abd18db 8238270: java.net HTTP/2 client does not decrease stream count when receives 204 response
The HTTP/2 Stream is updated to register a trivial data subscriber in case of 204 so that the END_STREAM is correctly processed.

Reviewed-by: chegar
2020-04-20 13:15:45 +01:00
Jan Lahoda
ec1c111c6c 8243074: Misplaced and/or duplicate super or this constructor invocation not attributed
Fully attributing misplaced and/or duplicated super/this constructor invocations

Reviewed-by: mcimadamore
2020-04-20 12:36:09 +02:00
Jan Lahoda
4b6e75dc72 8243047: javac may crash when processing exits in class initializers
Flow should handle invalid exits from class initializers gracefully

Reviewed-by: vromero
2020-04-20 12:36:09 +02:00
Jan Lahoda
df82d9a4b5 8242802: javac crashes when checking equals and hashCode in unresolvable anonymous class
Preventing NullPointerException when a class has an erroneous supertype and does not have an implementation of the equals method.

Reviewed-by: darcy, vromero
2020-04-20 12:36:09 +02:00
Jan Lahoda
f08b5a8006 8241950: JShell could support auto-indent
Reviewed-by: rfield
2020-04-20 12:36:09 +02:00
Kuai Wei
f51088e261 8242449: AArch64: r27 can be allocated in CompressedOops mode
Reviewed-by: aph, xliu
2020-04-20 09:40:43 +00:00
Yasumasa Suenaga
efcb6bd20e 8242425: JVMTI monitor operations should use Thread-Local Handshakes
Reviewed-by: sspitsyn, dholmes
2020-04-20 13:57:11 +09:00
Eirik Bjørsnøs
fc728278c2 8242959: Optimize ZipFile.getEntry by folding lookups for name and name+'/'
Reviewed-by: lancea, redestad
2020-04-18 20:19:45 +02:00
Claes Redestad
d185fe9953 8242452: During module definition, move conversion of packages from native to VM
8242290: Pointless verification in get_package_entry_by_name

Reviewed-by: lfoltan, iklam, hseigel
2020-04-18 19:45:45 +02:00
Kim Barrett
4d487927ad 8228991: Obsolete -XX:UseAdaptiveGCBoundary
Make option obsolete and removed supporting code.

Reviewed-by: tschatzl, stefank
2020-04-17 23:22:34 -04:00
Weijun Wang
05d6a66330 8242811: AlgorithmId::getDefaultAlgorithmParameterSpec returns incompatible PSSParameterSpec for an RSASSA-PSS key
Reviewed-by: valeriep, hchao
2020-04-18 11:13:14 +08:00
Jie Fu
f6f97ea24b 8242480: Negative value may be returned by getFreeSwapSpaceSize() in the docker
Reviewed-by: sgehwolf, dholmes
2020-04-17 14:48:11 +08:00
Chris Plummer
a4d318c92c 8242787: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with sun.jvm.hotspot.types.WrongTypeException
Reviewed-by: amenkov, sspitsyn, iklam
2020-04-17 10:09:06 -07:00