58906 Commits

Author SHA1 Message Date
Chris Plummer
cceee2c638 8242168: ClhsdbFindPC.java failed due to "RuntimeException: 'In code in NMethod for LingeredAppWithTrivialMain.main' missing from stdout/stderr"
Reviewed-by: lmesnik, iignatyev
2020-04-07 09:36:13 -07:00
Patrick Concannon
378aef32ab 8240533: Inconsistent Exceptions are thrown by DatagramSocket and DatagramChannel when sending a DatagramPacket to port 0
Fix adds checks for port == 0 to the send and connect methods in DatagramSocket and DatagramChannelImpl

Reviewed-by: alanb, chegar, dfuchs, lancea
2020-04-07 16:21:01 +01:00
Zhengyu Gu
e53ae5ae63 8242216: ObjectSampler::weak_oops_do() should not trigger barrier
Reviewed-by: rkennke, eosterlund
2020-04-07 10:43:15 -04:00
Mikhailo Seledtsov
1a40b7931a 8241695: JFR TestCrossProcessStreaming.java child process exited with SIGQUIT (131)
Waiting for child's main() to start before attaching

Reviewed-by: egahlin
2020-04-07 07:21:41 -07:00
Lance Andersen
6351f95bc1 8242006: (zipfs) Improve Zip FS FileChannel and SeekableByteChannel test coverage
Reviewed-by: clanger
2020-04-07 09:03:05 -04:00
Aleksey Shipilev
9ba424ee57 8242267: Shenandoah: regions space needs to be aligned by os::vm_allocation_granularity()
Reviewed-by: rkennke, stuefe
2020-04-07 14:32:58 +02:00
Denghui Dong
9743ec80f1 8240360: NativeLibraryEvent has wrong library name on Linux
Reviewed-by: ysuenaga, clanger
2020-04-07 21:18:24 +09:00
Aleksey Shipilev
951cda8d1f 8242273: Shenandoah: accept either SATB or IU barriers, but not both
Reviewed-by: rkennke
2020-04-07 13:18:47 +02:00
Aleksey Shipilev
5fff119dde 8242271: Shenandoah: add test to verify GC mode unlock
Reviewed-by: rkennke
2020-04-07 13:18:46 +02:00
Egor Ushakov
76b1119f61 8241958: Slow ClassLoaderReferenceImpl.findType
Optimize ClassLoaderReferenceImpl.findType

Reviewed-by: cjplummer, sspitsyn
2020-04-07 07:24:09 +00:00
Ralf Schmelter
f5a728af03 8238289: Use _byteswap_ functions to implenent Bytes::swap_uX on Windows
Reviewed-by: minqi, dholmes
2020-04-07 09:06:01 +02:00
John Paul Adrian Glaubitz
edc4ffe54b 8199138: Add RISC-V support to Zero
Reviewed-by: erikj, stuefe
2020-04-07 08:45:01 +02:00
Lin Zang
b317d0ee39 8241638: launcher time metrics always report 1 on Linux when _JAVA_LAUNCHER_DEBUG set
Reviewed-by: alanb, dholmes
2020-04-07 03:25:11 +00:00
Alex Menkov
e18d66174a 8237572: Combine the two LingeredApp classes
Reviewed-by: cjplummer, lmesnik
2020-04-06 12:51:40 -07:00
Alexey Semenyuk
3aa216ecdf 8241713: Linux desktop shortcuts with spaces make postinst/prerm fail
Reviewed-by: almatvee, herrick
2020-04-04 07:09:52 -04:00
Aleksey Shipilev
c1016d5de2 8242229: Shenandoah: inline ShenandoahHeapRegion liveness-related methods
Reviewed-by: rkennke
2020-04-06 20:35:50 +02:00
Aleksey Shipilev
e3aae42d33 8242228: Shenandoah: remove unused ShenandoahCollectionSet methods
Reviewed-by: rkennke
2020-04-06 20:35:43 +02:00
Aleksey Shipilev
0d1e636aba 8242227: Shenandoah: transit regions to cset state when adding to collection set
Reviewed-by: rkennke
2020-04-06 20:35:36 +02:00
Aleksey Shipilev
59f28e56a2 8242213: Shenandoah: remove ShenandoahHeuristics::_bytes_in_cset
Reviewed-by: rkennke
2020-04-06 20:35:31 +02:00
Aleksey Shipilev
1d687b3525 8242212: Shenandoah: initialize ShenandoahHeuristics::_region_data eagerly
Reviewed-by: rkennke
2020-04-06 20:35:25 +02:00
Aleksey Shipilev
185f372127 8242211: Shenandoah: remove ShenandoahHeuristics::RegionData::_seqnum_last_alloc
Reviewed-by: rkennke
2020-04-06 20:35:19 +02:00
Roman Kennke
c4d01f8c8b 8242054: Shenandoah: New incremental-update mode
Reviewed-by: shade
2020-04-06 17:08:46 +02:00
Daniil Titov
ba26538cef 8241530: com/sun/jdi tests fail due to network issues on OSX 10.15
Reviewed-by: amenkov, sspitsyn
2020-04-06 07:39:58 -07:00
Roman Kennke
843a86214e 8242217: Shenandoah: Enable GC mode to be diagnostic/experimental and have a name
Reviewed-by: shade
2020-04-06 16:29:04 +02:00
Roman Kennke
ec5ccb8de3 8242130: Shenandoah: Simplify arraycopy-barrier dispatching
Reviewed-by: shade
2020-04-06 13:45:27 +02:00
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
Thomas Stuefe
5aed2164ea 8241726: Re-enable gtest for BitMap::count_one_bits()
Reviewed-by: mdoerr, clanger
2020-04-06 10:19:28 +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
Roger Riggs
3cf922b3d1 8242462: Residual Cleanup of rmic removal
Reviewed-by: jjg, amlu, erikj, iignatyev, mseledtsov
2020-04-10 16:33:56 -04: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
Alex Menkov
f11d4628c1 8242282: Test sun/tools/jps/TestJps.java fails after JDK-8237572
Reviewed-by: dcubed, cjplummer
2020-04-10 10:52:26 -07: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
Roland Westrelin
048c5c0ddd 8241041: C2: "assert((Value(phase) == t) || (t != TypeInt::CC_GT && t != TypeInt::CC_EQ)) failed: missing Value() optimization" still happens after fix for 8239335
Reviewed-by: thartmann, neliasso
2020-03-23 10:06:33 +01:00
Matthias Baesken
fc9389c164 8241996: on linux set full relro in the linker flags
Reviewed-by: erikj, redestad
2020-04-02 09:07:07 +02:00
Xue-Lei Andrew Fan
ed00873148 8215711: Missing key_share extension for (EC)DHE key exchange should alert missing_extension
Reviewed-by: ascarpino
2020-04-05 20:17:08 -07:00
Chris Plummer
a6b990f74a 8242153: ProblemList serviceability/sa/ClhsdbDumpheap.java on OSX
Reviewed-by: dcubed
2020-04-04 09:24:23 -07:00
Per Lidén
2e4783411e 8240745: Implementation: JEP 377: ZGC: A Scalable Low-Latency Garbage Collector (Production)
Reviewed-by: stefank, eosterlund
2020-04-03 23:40:33 +02:00
Alexey Bakhtin
76d534986b 8241960: The SHA3 message digests impl of SUN provider are not thread safe after cloned
Fix sun.security.provider.SHA3 class to correctly clone its lanes field

Reviewed-by: valeriep
2020-04-03 22:39:00 +00:00
Calvin Cheung
512644de06 8240205: Avoid PackageEntry lookup when loading shared classes
Do the PackageEntry lookup at one place and then pass it along to the subsequently called functions which need it.

Reviewed-by: redestad, lfoltan
2020-04-03 14:26:42 -07:00
Chris Plummer
965404dd98 8240989: convert clhsdb "dumpheap" command from javascript to java
Reviewed-by: amenkov, ysuenaga
2020-04-03 12:58:15 -07:00
Joe Wang
acafdb3f60 8238183: SAX2StAXStreamWriter cannot deal with comments prior to the root element
Reviewed-by: naoto, lancea
2020-04-03 17:34:31 +00:00