7423 Commits

Author SHA1 Message Date
Jonathan Gibbons
45b8d09e1b 8234211: allow discoverable javac plugins to be invoked by default
Reviewed-by: jlahoda
2019-12-09 10:44:02 -08:00
Ioi Lam
749bda0e2d 8235490: AppCDS DynamicArchiveRelocationTest.java failed: 'always map archive(s) at an alternative address' missing
Reviewed-by: coleenp, ccheung
2019-12-09 09:59:03 -08:00
Athijegannathan Sundararajan
0ca9d9a032 8225562: jlink --module-path behavior inconsistent with help/errors
Reviewed-by: alanb
2019-12-09 23:00:13 +05:30
Vladimir Ivanov
e8496cea83 8235143: C2: No memory state needed in Thread::currentThread() intrinsic
Reviewed-by: mdoerr, jrose
2019-12-09 19:29:39 +03:00
Vladimir Ivanov
eabb5cc21f 8226411: C2: Avoid memory barriers around off-heap unsafe accesses
Reviewed-by: kvn, thartmann, eosterlund, jrose, rkennke
2019-12-09 19:29:35 +03:00
Patrick Concannon
12e43e216e 8233191: MulticastSocket joinGroup/leaveGroup do not specify their behavior when the outgoing interface has not been set
Clarifies the behaviour of 2-arg joinGroup/leaveGroup methods when null is passed for the NetworkInteface argument. The fix also clarifies what is returned by getInterface() and getNetworkInterface() methods when no previous NetworkInterface has been set.

Reviewed-by: alanb, chegar, dfuchs
2019-12-09 15:54:44 +00:00
Claes Redestad
3cccc62e56 8234735: InstanceKlass:find_method_index regression after JDK-8231610
Reviewed-by: iklam, coleenp
2019-12-09 16:46:29 +01:00
Patrick Concannon
22e26b2a81 8234148: DatagramSocket.setOption/getOption/supportedOption should support multicast options
Fix adds multicast socket options to DatagramSocket

Reviewed-by: alanb, dfuchs, vtewari
2019-12-09 14:25:37 +00:00
Julia Boes
3ea25ecdfe 8233319: Deprecate MulticastSocket methods that operate on java.net.InetAddress
Deprecate any method that operates on InetAddress as well as getLoopbackMode and setLoopbackMode

Reviewed-by: chegar, dfuchs, alanb
2019-12-09 12:06:26 +00:00
Stefan Johansson
9cabfa82ff 8165443: Free Collection Set serial phase takes very long on large heaps
Reviewed-by: tschatzl, kbarrett
2019-12-09 10:26:41 +01:00
Zhengyu Gu
ee140f7f81 8235262: Move c2i_entry_barrier for x86_32 to shared
Reviewed-by: rkennke, eosterlund
2019-12-08 10:05:57 -05:00
Weijun Wang
36bd09dead 8233222: Clarify system property usage in KerberosPrincipal instantiation
Reviewed-by: mullan
2019-12-07 09:40:28 +08:00
Sandhya Viswanathan
6a547f9574 8235510: java.util.zip.CRC32 performance drop after 8200067
Backout 8200067 optimization

Reviewed-by: kvn
2019-12-06 16:03:44 -08:00
Mandy Chung
e7fa637179 8235351: Lookup::unreflect should bind with the original caller independent of Method's accessible flag
Reviewed-by: alanb
2019-12-06 15:10:40 -08:00
Vladimir Kozlov
41b4803cdf 8235438: [JVMCI] StackTraceElement::decode should use the original Method
Reviewed-by: coleenp, never
2019-12-06 14:47:05 -08:00
Jonathan Gibbons
fa21d57760 8218268: Javac treats Manifest Class-Path entries as Paths instead of URLs
Reviewed-by: mchung, bchristi
2019-12-06 13:03:39 -08:00
Haoyu Li
7eadf5b372 8220465: Use shadow regions for faster ParallelGC full GCs
Reviewed-by: sjohanss, tschatzl
2019-10-23 21:28:24 +08:00
Pavel Rappo
026eac269c 8235435: Remove (obsolete) @author info from javadoc source and tests
Reviewed-by: jjg
2019-12-06 10:12:51 +00:00
Christian Hagedorn
fd8832f726 8229994: assert(false) failed: Bad graph detected in get_early_ctrl_for_expensive
Fixes wrong idom information set in loop peeling when a loop strip mined loop is involved.

Reviewed-by: vlivanov, thartmann
2019-12-06 10:00:16 +01:00
Thomas Schatzl
70c62f537c 8235341: Improve WorkerDataArray API to disallow separate instantiation of sub-items
Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:59 +01:00
Thomas Schatzl
02dad379ee 8235346: [Redo] 8235247: WorkerDataArray leaks C heap memory for associated work items
Fix gtest after last iteration to acknowledge correct ownership of sub-WorkerDataArrays.

Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:57 +01:00
Jie Fu
f8caabaac7 8235456: Minimal VM is broken after JDK-8212160
Reviewed-by: dholmes
2019-12-06 10:13:24 +08:00
Joshua Zhu
30559e6431 8233948: AArch64: Incorrect mapping between OptoReg and VMReg for high 64 bits of Vector Register
Reviewed-by: adinn
2019-12-06 10:41:01 +08:00
Joe Darcy
81ec9e3087 8235369: Class.toGenericString need to be updated for records
Reviewed-by: vromero, mchung, chegar
2019-12-05 14:19:35 -08:00
Joe Darcy
df308ac680 8224630: ElementScannerN, N > 9 should scan type parameters
Reviewed-by: mcimadamore, erikj
2019-12-05 14:14:06 -08:00
Coleen Phillimore
8846a8043d 8212160: JVMTI agent crashes with "assert(_value != 0LL) failed: resolving NULL _value"
Add local deferred event list to thread to post events outside CodeCache_lock.

Reviewed-by: eosterlund, dholmes, sspitsyn
2019-12-05 16:57:17 -05:00
Naoto Sato
730d0ecf19 8222756: Plural support in CompactNumberFormat
Reviewed-by: joehw, rriggs
2019-12-05 13:10:18 -08:00
Michael McMahon
3000f212f2 8235413: com.sun.net.httpserver.BasicAuthenticator.charset is protected field
Reviewed-by: chegar, dfuchs
2019-12-05 16:43:06 +00:00
Andy Herrick
264573c9ce 8212780: Packaging Tool Implementation
Co-authored-by: Alexey Semenyuk <alexey.semenyuk@oracle.com>
Co-authored-by: Alexander Matveev <alexander.matveev@oracle.com>
Co-authored-by: Kevin Rushforth <kevin.rushforth@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Reviewed-by: asemenyuk, almatvee, herrick, kcr, prr, erikj, ihse, rriggs, mchung, alanb
2019-12-05 11:25:33 -05:00
Harold Seigel
73676cff72 8235360: Update JDWP, JDI and Instrumentation specs for Record attribute
Add Record to list of attributes that class redefinition cannot change

Reviewed-by: lfoltan
2019-12-05 15:45:58 +00:00
Jim Laskey
945c8d555b 8232681: ArrayIndexOutOfBoundsException with text blocks in javac when using -Xlint
Reviewed-by: sundar
2019-12-05 09:22:21 -04:00
Jatin Bhateja
979cd452ab 8234391: C2: Generic vector operands
Reviewed-by: vlivanov, sviswanathan, thartmann, jrose
2019-12-05 12:56:46 +03:00
Valerie Peng
d4c0619b3b 8233016: javax.crypto.Cipher throws NPE for the given custom CipherSpi and Provider
Changed to throw IAE instead of NPE for non-null invalid arguments

Reviewed-by: mullan
2019-12-05 03:55:52 +00:00
Weijun Wang
ab280fcac4 8234267: DelegationPermission implementation doesn't completely follow the updated specification
Reviewed-by: xuelei
2019-12-05 10:36:46 +08:00
Letu Yang
06257b3f1d 8234288: Turkey Time Zone returns incorrect time zone name
Add and use "Turkey Time" time zone.

Reviewed-by: naoto, martin, phh
2019-12-04 15:01:22 -08:00
Sandhya Viswanathan
e8c10bc9cd 8235288: AVX 512 instructions inadvertently used on Xeon for small vector width operations
Reviewed-by: kvn, vlivanov
2019-12-04 14:55:15 -08:00
Vicente Romero
827e5e3226 8225054: Compiler implementation for records
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records

Implement records in the compiler and the JVM, including serialization, reflection and APIs support

Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Roman Kennke
0a375cfa2d 8235355: Shenandoah: Resolve deadlock between OOM handler and nmethod lock
Reviewed-by: zgu
2019-12-04 21:40:08 +01:00
Denghui Dong
d713fb8aa2 8234060: Potential memory reordering problem in JfrBuffer flush mechanism
Reviewed-by: egahlin
2019-12-04 21:26:57 +01:00
Roman Kennke
61cdeba65e 8235337: Shenandoah: Fix evac OOM scoping for concurrent class unloading
Reviewed-by: zgu
2019-12-04 20:03:50 +01:00
Coleen Phillimore
5845912fdb 8235273: nmethodLocker not needed for COMPILED_METHOD_UNLOAD events
Remove unnecessary nmethodLocker

Reviewed-by: dholmes, sspitsyn
2019-12-04 13:48:38 -05:00
Mandy Chung
a445b66e58 8233527: Update Lookup::hasPrivateAccess and Lookup::defineClass spec w.r.t. full power lookup
Add a new Lookup::hasFullPrivilegeAccess method and document the capabilities requiring full privileges

Reviewed-by: alanb, plevart
2019-12-04 10:46:49 -08:00
Thomas Schatzl
72f42efcd9 8235347: [Backout] 8235247: WorkerDataArray leaks C heap memory for associated work items
Backout of earlier change due to unexpected crashes.

Reviewed-by: sjohanss
2019-12-04 18:54:29 +01:00
Alan Bateman
e7d68cd13b 8235193: (dc) Remove JNI overhead from DatagramChannel.send implementation
Reviewed-by: chegar
2019-12-04 16:37:00 +00:00
Thomas Schatzl
1a4d4ff1d8 8235247: WorkerDataArray leaks C heap memory for associated work items
Reviewed-by: lkorinth, kbarrett
2019-12-04 16:58:35 +01:00
Matthias Baesken
14391e8046 8234397: add OS uptime information to os::print_os_info output
Reviewed-by: clanger, dholmes, lucy
2019-12-03 15:17:59 +01:00
Robbin Ehn
b31e91cd8d 8234742: Improve handshake logging
Reviewed-by: dholmes, pchilanomate
2019-12-04 11:57:58 +01:00
Stefan Karlsson
c0ea1e647e 8235257: Split 'assert(loader != NULL && oopDesc::is_oop(loader), "loader must be oop")'
Reviewed-by: dcubed, hseigel
2019-12-04 10:26:32 +01:00
Matthias Baesken
e230c1ce5d 8235325: build failure on Linux after 8235243
Reviewed-by: clanger
2019-12-04 09:43:54 +01:00
Jan Lahoda
07be23513b 8234922: No compilation error reported not reported for a binding variable when loop broken with label
Any break outside of a loop should confine the binding variables from the loop's condition to the loop

Reviewed-by: mcimadamore
2019-12-04 09:38:32 +01:00