3723 Commits

Author SHA1 Message Date
Zhengyu Gu
04ae3fd603 8243848: Shenandoah: Windows build fails after JDK-8239786
Reviewed-by: rkennke, stuefe
2020-04-28 12:20:15 -04:00
Coleen Phillimore
3ed0849504 8243393: Improve ReservedSpace constructor resolution
Remove possibly ambiguous constructor and use directly in ReservedCodeHeap

Reviewed-by: stuefe
2020-04-28 07:35:28 -04:00
Kim Barrett
538e005813 8242459: ForceNUMA and only one available NUMA node hits a guarantee
Fix some asserts to handle the single-NUMA node + ForceNUMA case.

Reviewed-by: sjohanss, tschatzl
2020-04-28 03:02:21 -04:00
Calvin Cheung
18c43241fb 8241815: Unnecessary calls to SystemDictionaryShared::define_shared_package
Avoid calling ClassLoaders.definePackage during loading of shared classes originated from the module image since java.lang.Package for named modules are automatically defined.

Reviewed-by: mchung, lfoltan
2020-04-28 00:09:53 +00:00
Dean Long
03f8e6ccd8 8219607: Add support in Graal and AOT for hidden class
Reviewed-by: kvn
2020-04-27 14:23:15 -07:00
Erik Gahlin
c55e7d5a4a 8242034: Remove JRE_HOME references
Reviewed-by: mbaesken
2020-04-27 15:01:22 +02:00
Coleen Phillimore
f8ab03fa04 8243503: InstanceKlass::_array_name is not needed and leaks
Decrement the refcount for all Klass in class unloading.

Reviewed-by: lfoltan, hseigel
2020-04-24 16:54:28 -04:00
Zhengyu Gu
05bf8dced5 8243578: Shenandoah: Cleanup ShenandoahStringDedup::parallel_oops_do()
Reviewed-by: shade
2020-04-24 16:37:09 -04:00
Stefan Johansson
04c6d13322 8241153: Refactor HeapRegionManager::find_unavailable_from_idx to simplify expand_at
Reviewed-by: tschatzl, sangheki
2020-04-24 14:39:20 +02:00
Aleksey Shipilev
53e4de6cf7 8239786: Shenandoah: print per-cycle statistics
Reviewed-by: rkennke
2020-04-24 11:45:24 +02:00
Coleen Phillimore
90ada6a314 8238048: Close alignment gaps in InstanceKlass
Moved fields around and some constant fields into ConstantPool

Reviewed-by: cjplummer, dlong, iklam
2020-04-23 16:29:22 -04:00
Aleksey Shipilev
37e5aec119 8243494: Shenandoah: set counters once per cycle
Reviewed-by: zgu
2020-04-23 21:24:01 +02:00
Per Lidén
2bf4c06182 8243486: ZGC: Adjust "Allocated" statistics to take undone page allocations into account
Reviewed-by: eosterlund, stefank
2020-04-23 19:23:15 +02:00
Kim Barrett
e1f07cd05b 8239357: Revert gcc implementation of offset_of
Revert definition of offset_of and reenable -Winvalid-offsetof.

Reviewed-by: erikj, ihse, dholmes
2020-04-23 12:57:18 -04:00
Aleksey Shipilev
079b60c6b9 8243487: Shenandoah: make _num_phases illegal phase type
Reviewed-by: rkennke
2020-04-23 18:37:09 +02:00
Zhengyu Gu
8db994854f 8243478: Shenandoah: avoid implicit worker_id = 0
Reviewed-by: shade
2020-04-23 10:14:42 -04:00
Aleksey Shipilev
4f05f3f885 8243465: Shenandoah: ditch unused pause_other, conc_other counters
Reviewed-by: rkennke
2020-04-23 13:48:32 +02:00
Aleksey Shipilev
fde66512df 8243464: Shenandoah: print statistic counters in time order
Reviewed-by: rkennke
2020-04-23 13:48:23 +02:00
Aleksey Shipilev
cbdb4ba7ca 8243463: Shenandoah: ditch total_pause counters
Reviewed-by: rkennke
2020-04-23 13:48:13 +02:00
Aleksey Shipilev
b28137b093 8243460: Shenandoah: purge init_update_refs_prepare counter
Reviewed-by: rkennke
2020-04-23 13:48:07 +02:00
Zhengyu Gu
58e284c017 8243323: Shenandoah: Recycle immediate garbage before concurrent class unloading
Reviewed-by: shade
2020-04-22 17:59:59 -04:00
Zhengyu Gu
82e43b2527 8243200: Shenandoah: Allow concurrent nmethod iteration
Reviewed-by: rkennke, shade
2020-04-22 17:10:17 -04:00
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
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
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
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
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
Stefan Karlsson
71b06ed298 8243146: Further cleanups after UseAdaptiveGCBoundary removal
Reviewed-by: kbarrett, sjohanss
2020-04-21 10:10:23 +02:00
Aleksey Shipilev
74b3243f8c 8243238: Shenandoah: explicit GC request should wait for a complete GC cycle
Reviewed-by: rkennke
2020-04-21 11:20:54 +02:00
Yang Zhang
5a665c39c9 8242796: Fix client build failure
Reviewed-by: kvn
2020-04-21 04:02:27 +00:00
Ioi Lam
0bc7cc4d28 8241158: SA TestHeapDumpForInvokeDynamic.java fails when CDS archive is relocated
Reviewed-by: ccheung
2020-04-20 17:33:52 -07:00
Yumin Qi
7b8c373494 8240204: Optimize package handling for archived classes
ClassLoader::add_package just sets classpath_index to PackageEntry, moved the code to InstanceKlass. Also avoid calling check_prohibited_package since CDS does not archive prohibited classe in set_package.

Reviewed-by: hseigel, lfoltan, redestad, iklam
2020-04-20 16:36:15 -07:00
Vladimir Kozlov
8da1ee7833 8242357: [JVMCI] Incorrect use of JVMCI_CHECK_ on return statement
Reviewed-by: dholmes, xliu
2020-04-20 13:13:56 -07:00
Yasumasa Suenaga
efcb6bd20e 8242425: JVMTI monitor operations should use Thread-Local Handshakes
Reviewed-by: sspitsyn, dholmes
2020-04-20 13:57:11 +09:00
Claes Redestad
d185fe9953 8242452: During module definition, move conversion of packages from native to VM
8242290: Pointless verification in get_package_entry_by_name

Reviewed-by: lfoltan, iklam, hseigel
2020-04-18 19:45:45 +02:00
Kim Barrett
4d487927ad 8228991: Obsolete -XX:UseAdaptiveGCBoundary
Make option obsolete and removed supporting code.

Reviewed-by: tschatzl, stefank
2020-04-17 23:22:34 -04:00
Tom Rodriguez
12f8b52fb8 8231756: [JVMCI] need support for deoptimizing virtual byte arrays encoding non-byte primitives
Reviewed-by: kvn
2020-04-17 09:31:37 -07:00
Vladimir Ivanov
430f8020fd 8242492: C2: Remove Matcher::vector_shift_count_ideal_reg()
Reviewed-by: kvn
2020-04-17 17:59:15 +03:00
Vladimir Ivanov
078c027441 8242491: C2: assert(v2->bottom_type() == vt) failed: mismatch when creating MacroLogicV
Reviewed-by: kvn, sviswanathan, jbhateja
2020-04-17 17:58:52 +03:00
Coleen Phillimore
9735678c26 8242896: typo #ifdef INCLUDE_JVMTI in codeCache.cpp
Reviewed-by: dholmes, sspitsyn
2020-04-17 07:46:17 -04:00
Jamsheed Mohammed C M
2ec33aa077 8237949: CTW: C1 compilation fails with "too many stack slots used"
Old bailout code is preserved with changes in comments

Reviewed-by: vlivanov
2020-04-16 10:01:14 -07:00
Yudi Zheng
46963fc14f 8241234: Unify monitor enter/exit runtime entries
Reviewed-by: dcubed, coleenp
2020-04-16 10:14:25 +02:00
David Holmes
5f03df7d25 8242913: Bump the SPECIAL_FLAG_VALIDATION_BUILD to 25
Reviewed-by: shade
2020-04-16 03:29:28 -04:00
Athijegannathan Sundararajan
d5cd165965 8241749: Remove the Nashorn JavaScript Engine
Reviewed-by: jlaskey, ihse, mchung
2020-04-16 12:26:20 +05:30
Kim Barrett
474ce89ebc 8242631: Missing but used special functions for some classes
Adjust some special function definitions to avoid deprecation warnings.

Reviewed-by: dholmes
2020-04-15 22:47:58 -04:00