8847 Commits

Author SHA1 Message Date
Christoph Dreis
08b90285b2 8242208: Use Method.getParameterCount where applicable
Reviewed-by: redestad, chegar
2020-04-06 13:46:09 +02:00
Christoph Dreis
e9adf7bbe1 8242186: Reduce allocations in URLStreamHandler.parseURL for some cases
Reviewed-by: redestad, chegar
2020-04-06 13:44:54 +02:00
Tobias Hartmann
722a18d31e 8242090: Remove dead code from c1_LIR
Removed dead code.

Reviewed-by: redestad
2020-04-06 12:09:59 +02:00
Aleksey Shipilev
b73460b366 8242114: Shenandoah: remove ShenandoahHeapRegion::reset_alloc_metadata_to_shared
Reviewed-by: rkennke
2020-04-06 10:31:07 +02:00
Tobias Hartmann
3d36ef14b3 8241997: Scalar replacement of cloned array is broken after JDK-8238759
Replacement code still expected ArrayCopyNode::Dest to be an AddPNode.

Reviewed-by: roland, neliasso
2020-04-06 09:52:28 +02:00
Liam Miller-Cushon
4895a19dd1 8241798: Allow enums to have more constants
Reviewed-by: mcimadamore, briangoetz, forax
2020-03-28 16:15:52 -07:00
Chris Plummer
3a0a3d21d0 8184249: SA: clhsdb 'intConstant' throws a NullPointerException when not attached to a VM
Reviewed-by: amenkov
2020-04-10 14:00:49 -07:00
Lance Andersen
93831d4ed2 8241883: (zipfs) SeekableByteChannel:close followed by SeekableByteChannel:close will throw an NPE coverage
Reviewed-by: clanger, alanb
2020-04-10 14:00:01 -04:00
Joe Wang
8ace920733 8242470: Update Xerces to Version 2.12.1
Reviewed-by: lancea, naoto
2020-04-10 17:00:40 +00:00
Daniil Titov
5ad5aa49ce 8242430: Correct links in javadoc of OperatingSystemMXBean
Reviewed-by: dholmes
2020-04-10 08:46:17 -07:00
Rahul Yadav
86722cb038 8239594: jdk.tls.client.protocols is not respected
8239595: ssl context version is not respected

The java.net.HttpClient is updated to no longer override any default selected protocols in the SSLContext, in the absence of  any SSLParameters explicitly supplied to the HttpClient.builder.

Reviewed-by: chegar, dfuchs
2020-04-10 10:05:33 +01:00
Weijun Wang
502d45955f 8240848: ArrayIndexOutOfBoundsException buf for TextCallbackHandler
Reviewed-by: mullan
2020-04-10 15:05:42 +08:00
Yang Zhang
592b9a9571 8241911: AArch64: Fix a potential register clash issue in reduce_add2I
Reviewed-by: aph
2020-04-10 05:43:40 +00:00
Martin Balao
2883bccf48 8239385: KerberosTicket client name refers wrongly to sAMAccountName in AD
Reviewed-by: weijun
2020-03-28 19:41:10 -03:00
Fernando Guallini
80d280263a 8183266: [TESTBUG]Add test to cover XPathEvaluationResult.XPathResultType.getQNameType method
Reviewed-by: joehw
2020-05-05 16:35:48 +00:00
Zhengyu Gu
5ac755681f 8244420: Shenandoah: Ensure _disarmed_value offset < 128
Reviewed-by: rkennke
2020-05-05 12:32:40 -04:00
Anirvan Sarkar
704749a094 8244293: Remove outdated @apiNote in java.util.Objects
Reviewed-by: psandoz
2020-05-05 09:12:40 -07:00
Aleksey Shipilev
00e15ff4e6 8244326: Shenandoah: global statistics should not accept bogus samples
Reviewed-by: rkennke
2020-05-05 11:44:09 +02:00
Andy Herrick
342edb4c6d 8244018: No error message for non-existent icon path
Reviewed-by: asemenyuk, almatvee
2020-05-04 13:39:46 -04:00
Andy Herrick
14ae7cf769 8242865: Usability problems using mac signing in jpackage
Reviewed-by: asemenyuk, almatvee
2020-05-03 13:50:30 -04:00
Toshio Nakamura
90e8a0a3db 8243453: java --describe-module failed with non-ASCII module name under non-UTF8 environment
Reviewed-by: alanb
2020-05-04 19:01:27 +01:00
Aleksey Shipilev
e70d76d741 8244200: Shenandoah: build breakages after JDK-8241743
Reviewed-by: rkennke
2020-05-04 19:09:07 +02:00
Jorn Vernee
31041d406a 8241100: Make Boolean, Character, Byte, and Short implement Constable
Reviewed-by: jrose, briangoetz, psandoz
2020-05-04 09:41:01 -07:00
Zhengyu Gu
2d8bea8c1d 8244328: Shenandoah: move ShenandoahThreadLocalData::_disarmed_value initialization
Reviewed-by: shade
2020-05-04 10:01:25 -04:00
Stefan Johansson
cbfcae7746 8233439: G1 zero_filled optimization when committing CardCountsTable does not work
Reviewed-by: tschatzl, kbarrett
2020-05-04 15:05:38 +02: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
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