58760 Commits

Author SHA1 Message Date
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
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
Roman Kennke
ff34c4cdf8 8242107: Shenandoah: Fix aarch64 build after JDK-8242082
Reviewed-by: shade
2020-04-03 19:33:06 +02:00
Jaikiran Pai
59af1c2af4 8241138: http.nonProxyHosts=* causes StringIndexOutOfBoundsException in DefaultProxySelector
Reviewed-by: dfuchs, chegar
2020-03-24 15:47:51 +05:30
Claes Redestad
a309046028 8241585: Remove unused _recursion_counter facility from PerfTraceTime
8241705: Tune PerfData collections

Reviewed-by: iklam, dholmes
2020-04-03 17:20:53 +02:00
Aleksey Shipilev
fe2a82031f 8242101: Shenandoah: coalesce and parallelise heap region walks during the pauses
Reviewed-by: rkennke
2020-04-03 16:13:01 +02:00
Christoph Langer
746d28d110 8242030: Wrong package declarations in jline classes after JDK-8241598
Reviewed-by: jlahoda
2020-04-03 15:40:28 +02:00
Daniel Fuchs
f541970b31 8241786: Improve heuristic to determine default network interface on macOS
DefaultInetrface.getDefault is updated to prefer interfaces that have non link-local addresses. NetworkConfiguration is updated to skip interface that have only link-local addresses, whether IPv4 or IPv6, for multicasting.

Reviewed-by: chegar, alanb
2020-04-03 14:27:03 +01:00
Roman Kennke
553ea1e891 8242082: Shenandoah: Purge Traversal mode
Reviewed-by: shade
2020-04-03 15:06:08 +02:00
Aleksey Shipilev
c09b0a7793 8242089: Shenandoah: per-worker stats should be summed up, not averaged
Reviewed-by: rkennke
2020-04-03 13:58:38 +02:00
Aleksey Shipilev
21d5f88f40 8242083: Shenandoah: split "Prepare Evacuation" tracking into cset/freeset counters
Reviewed-by: rkennke
2020-04-03 13:58:32 +02:00
Matthias Baesken
218d0f71cf 8242000: clean up list of environment variables printed in hs_err file
Reviewed-by: redestad, stuefe
2020-04-02 12:44:05 +02:00
Aleksey Shipilev
cd76575df1 8242075: Shenandoah: rename ShenandoahHeapRegionSize flag
Reviewed-by: rkennke
2020-04-03 11:33:31 +02:00