7215 Commits

Author SHA1 Message Date
Goetz Lindenmaier
d8c6516c92 8218628: Add detailed message to NullPointerException describing what is null
This is the implementation of JEP 358: Helpful NullPointerExceptions.

Reviewed-by: coleenp, clanger, rschmelter, rriggs, forax, mr
2019-10-14 11:36:17 +02:00
Richard Reingruber
6e08f8434c 8232162: Object reallocation in Deoptimization::fetch_unroll_info_helper should not depend on EliminateNestedLocks
Reviewed-by: thartmann, neliasso
2019-10-16 17:03:40 +02:00
Ivan Gerasimov
463d6e9640 8231859: Extra dash after the exception name in @throws clause of javadoc
Reviewed-by: weijun
2019-10-16 18:47:11 -07:00
Joe Darcy
98c9f8bdc7 8232230: Suppress warnings on non-serializable non-transient instance fields in java.util.concurrent
Reviewed-by: martin
2019-10-16 16:55:52 -07:00
Weijun Wang
49883054db 8232357: Compare version info of Santuario to legal notice
Reviewed-by: mullan
2019-10-17 07:31:35 +08:00
Claes Redestad
a4e6e67553 8232207: Linux os::available_memory re-reads cgroup configuration on every invocation
Reviewed-by: bobv, sgehwolf
2019-10-17 00:19:02 +02:00
Claes Redestad
638fe2b833 8232211: Remove dead code from os.hpp|cpp
Reviewed-by: dholmes, dcubed, rehn
2019-10-17 00:00:13 +02:00
Ivan Gerasimov
31afddccae 8230407: SocketPermission and FilePermission action list allows leading comma
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: chegar
2019-10-16 14:32:17 -07:00
Man Cao
7e6ebde13c 8232232: G1RemSetSummary::_rs_threads_vtimes is not initialized to zero
Fix error in "Concurrent refinement threads times" in GC log and cleanup.

Reviewed-by: tschatzl, kbarrett
2019-10-14 18:48:10 -07:00
Yudi Zheng
db097ae201 8231754: [JVMCI] Make r27 unconditionally reserved in JVMCI
Reserve r27 (heap base register) on AArch64 unconditionally

Reviewed-by: adinn, dlong
2019-10-16 16:54:56 +02:00
Daniel Fuchs
ecde34ee35 8231449: HttpClient’s client ssl certificate authentication seems to be broken
SSLFlowDelegate.Reader and SubscriberWrapper are changed to better cooperate on when more demand should be requested from upstream. The issue encountered in this scenario was triggered by a large certificate which caused the SSLFlowDelegate to stop requesting data from upstream during the handshake although the engine handshake status was NEED_UNWRAP.

Reviewed-by: chegar
2019-10-16 14:50:53 +01:00
Thomas Schatzl
1c9dd15716 8232260: Remove g1 prefix in G1CollectedHeap::g1_hot_card_cache() getter
Reviewed-by: kbarrett, sjohanss
2019-10-16 12:36:44 +02:00
Martin Doerr
79c1634258 8232106: [x86] C2: SIGILL due to usage of SSSE3 instructions on processors which don't support it
Reviewed-by: kvn, thartmann
2019-10-16 11:52:56 +02:00
Zhengyu Gu
0046f1ea4f 8229919: Support JNI Critical functions in object pinning API on x86_32 platforms
Reviewed-by: rkennke, adinn
2019-10-15 22:22:23 -04:00
Henry Jen
9dd506f713 Merge 2019-10-15 21:33:54 +00:00
Joe Darcy
b5d427b0bc 8232234: Suppress warnings on non-serializable non-transient instance fields in java.rmi
Reviewed-by: rriggs
2019-10-15 13:25:57 -07:00
Aleksey Shipilev
6b11446797 8232051: Epsilon should warn about Xms/Xmx/AlwaysPreTouch configuration
Reviewed-by: zgu
2019-10-15 19:45:09 +02:00
Aleksey Shipilev
c1972ecd19 8232205: Shenandoah: missing "Update References" -> "Update Roots" tracing
Reviewed-by: rkennke, zgu
2019-10-15 19:38:59 +02:00
Naoto Sato
406c2a9b00 8212749: DecimalFormat.setGroupingSize(int) allows setting negative grouping size
8231984: Clarify semantics of DecimalFormat.getGroupingSize(0)

Reviewed-by: rriggs
2019-10-15 09:25:59 -07:00
Henry Jen
8d141f1048 Merge 2019-10-14 21:01:25 +00:00
Kim Barrett
b8c7a95859 8232147: Remove notproduct option IgnoreLockingAssertions
Removed option.

Reviewed-by: coleenp, dholmes
2019-10-12 00:22:53 -04:00
Prasanta Sadhukhan
b2b054bea6 8223158: Docked MacBook cannot start any Java Swing applications
Reviewed-by: prr, serb
2019-10-12 08:49:59 +05:30
Anton Kozlov
4b7bbaf5b0 8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call
Reviewed-by: mchung
2019-10-11 14:49:05 -07:00
Prasanta Sadhukhan
b871c1ff3a Merge 2019-10-11 12:08:01 +05:30
Claes Redestad
94365d3210 8232150: aarch64 build broken after JDK-8232050
Reviewed-by: dholmes
2019-10-11 01:11:28 +02:00
Tom Rodriguez
81da915128 8231659: [JVMCI] Could not work PrintAssembly for JVMCI installed code
Reviewed-by: ysuenaga
2019-10-10 11:40:59 -07:00
Coleen Phillimore
a95a39a04e 8232120: com/sun/jdi/InvokeTest fails with -Xcheck:jni: assert(k->is_instance_klass()) failed: cast to InstanceKlass
Should have allowed recv klass to be an array.

Reviewed-by: hseigel, dcubed
2019-10-11 11:50:04 -04:00
Weijun Wang
7853270bc7 8231507: Update Apache Santuario (XML Signature) to version 2.1.4
Co-authored-by: Fedor Burdun <fedor.burdun@azulsystems.com>
Reviewed-by: weijun
2019-10-10 17:36:38 +03:00
Erik Gahlin
0cdb4d19f3 8226897: Provide object age with JFR OldObjectSample event
Reviewed-by: mgronlun, mseledtsov
2019-11-24 01:03:33 +01:00
Dean Long
edf902a3c9 8234432: AOT tests failing with 'used 'epsilon gc' is different from current 'g1 gc'' after CMS removal
Reviewed-by: kvn
2019-11-22 19:23:30 -08:00
Ioi Lam
2429c8a484 8233446: Improve error handling when specified dynamic archive doesn't exist
Reviewed-by: lfoltan, ccheung
2019-11-22 15:31:52 -08:00
Ioi Lam
af586a9cf2 8234429: appcds/dynamicArchive tests crashing with Graal
Reviewed-by: ccheung
2019-11-22 14:48:40 -08:00
Man Cao
5f2ac35cd0 8087198: G1 card refinement: batching, sorting
Reviewed-by: tschatzl, kbarrett
2019-11-22 17:03:55 -08:00
Jonathan Gibbons
6025207be8 8234687: change javap reporting on unknown attributes
Reviewed-by: mchung
2019-11-22 16:26:35 -08:00
Mandy Chung
34c43f791e 8233956: MethodHandles.dropArguments javadoc lists parameters in wrong order
Reviewed-by: jjg
2019-11-22 11:34:22 -08:00
Jaikiran Pai
0435ec1aaa 8232170: FSInfo#getJarClassPath throws an exception not declared in its throws clause
Reviewed-by: jjg
2019-11-22 10:38:35 -08:00
Brian Burkhalter
adf0d4eae8 8164993: (ch) ReadableByteChannel should note a possible IllegalArgumentException
Reviewed-by: alanb, darcy
2019-11-22 09:00:16 -08:00
Erik Gahlin
8a5e087ed8 8233700: EventStream not closed
Reviewed-by: mgronlun, mseledtsov
2019-11-22 17:20:43 +01:00
Daniel D. Daugherty
008bdefad4 8234544: ObjectSynchronizer::FastHashCode() cleanups from Async Monitor Deflation project
Reviewed-by: dholmes
2019-11-22 09:06:35 -05:00
Daniel Fuchs
8333ea85fa 8233296: MulticastSocket getOption/setOption inverts the value of IP_MULTICAST_LOOP
MulticastSocket.getOption(StandardSocketOption.IP_MULTICAST_LOOP) now returns true if loopback mode is enabled, and MulticastSocket.setOption(StandardSocketOption.IP_MULTICAST_LOOP, true) enables loopback mode. No other behavioral changes.

Reviewed-by: alanb, chegar
2019-11-22 11:52:48 +00:00
Serguei Spitsyn
0a1737ca97 8169467: GetLocalInstance returns JVMTI_ERROR_TYPE_MISMATCH (rather than JVMTI_ERROR_INVALID_SLOT) on static method
Add necessary check to GetLocalInstance implementation

Reviewed-by: amenkov, cjplummer
2019-11-22 10:07:21 +00:00
Thomas Schatzl
7d160282f2 8233597: Clean up code in G1Analytics::compute_pause_time_ratio
Reviewed-by: kbarrett, sjohanss
2019-11-22 10:03:38 +01:00
Thomas Schatzl
9915f88688 8233702: Introduce helper function to clamp value to range
Reviewed-by: sjohanss, kbarrett
2019-11-22 10:03:38 +01:00
Thomas Schatzl
79cfb94d36 8234000: Make HeapRegion::bottom/end/hrm_index const
Reviewed-by: kbarrett, sjohanss
2019-11-22 10:03:38 +01:00
Thomas Schatzl
3e492436fd 8233997: Some members of HeapRegion are not cleared in HeapRegion::hr_clear()
Reviewed-by: sjohanss, sangheki
2019-11-22 10:03:38 +01:00
Thomas Schatzl
d29dcafa50 8233306: Sort members in G1's HeapRegion after removal of Space dependency
Reviewed-by: sangheki, sjohanss
2019-11-22 10:03:38 +01:00
Matthias Baesken
70c5d41f28 8234339: replace JLI_StrTok in java_md_solinux.c
Reviewed-by: clanger, rriggs
2019-11-18 16:49:39 +01:00
Christoph Langer
b240008ba2 8234089: (zipfs) Remove classes JarFileSystemProvider and JarFileSystem
Reviewed-by: lancea, alanb
2019-11-22 09:25:09 +01:00
David Buck
3600213f1d 8230611: infinite loop in LogOutputList::wait_until_no_readers()
Add copy constructor and copy assignment operator to ensure reader count remains accurate

Reviewed-by: kbarrett, dholmes
2019-11-21 23:32:11 -05:00
Xue-Lei Andrew Fan
5161ab9493 8233954: UnsatisfiedLinkError or NoSuchAlgorithmException after removing sunec.dll
Reviewed-by: ascarpino
2019-11-21 18:42:33 -08:00