1402 Commits

Author SHA1 Message Date
Igor Ignatyev
0c061174b6 8177711: Convert TestVirtualSpaceNode_test to GTest
Reviewed-by: jwilhelm
2018-10-31 19:56:51 -07:00
Calvin Cheung
fc19077b52 8213000: Obsolete the IgnoreUnverifiableClassesDuringDump vm option
Remove code referencing the IgnoreUnverifiableClassesDuringDump

Reviewed-by: dholmes, jiangli
2018-10-31 14:00:51 -07:00
Coleen Phillimore
d302072f50 8213211: [BACKOUT] Allow Klass::_subklass and _next_sibling to have unloaded classes
Reviewed-by: jiangli, jwilhelm
2018-10-31 14:38:14 -04:00
Aleksey Shipilev
307ba484e1 8213182: Minimal VM build failure after JDK-8212200 (assert when shared java.lang.Object is redefined by JVMTI agent)
Reviewed-by: dholmes, iklam
2018-10-31 19:00:59 +01:00
Bob Vandette
f161afb806 Merge 2018-10-31 10:48:13 -04:00
Martin Doerr
a241cf4367 8213086: Compiler thread creation should be bounded by available space in memory and Code Cache
Reviewed-by: kvn, thartmann
2018-10-31 14:48:36 +01:00
Thomas Schatzl
4da555c7a8 8213142: Use RAII to set the scanning source in G1ScanEvacuatedObjClosure
Reviewed-by: sangheki, kbarrett
2018-10-31 13:43:57 +01:00
Thomas Schatzl
28c9f22ebb 8212911: Unify and micro-optimize handling of non-in-collection set references in oop closures
Reviewed-by: kbarrett, sjohanss
2018-10-31 13:43:57 +01:00
Thomas Schatzl
0e622f29a2 8211388: Make OtherRegionsTable independent of the region it is for
Reviewed-by: sjohanss, sangheki
2018-10-31 13:43:57 +01:00
Thomas Schatzl
0d19f0bb51 6490394: G1: Allow heap shrinking / memory unmapping after reclaiming regions during Remark
Reviewed-by: sjohanss, sangheki
2018-10-31 13:43:57 +01:00
Thomas Schatzl
3a343a5681 8071913: Filter out entries to free/uncommitted regions during iteration
Reviewed-by: sjohanss, kbarrett
2018-10-31 13:43:57 +01:00
Coleen Phillimore
adb1dcdcc2 8213107: Make ClassLoaderDataGraph iterator skip unloaded CLDs
With concurrent class unloading, the CLDG could contain unloaded CLDs while iterating in a safepoint

Reviewed-by: lfoltan, eosterlund
2018-10-31 07:06:54 -04:00
Robbin Ehn
80aa38305d 8212933: Thread-SMR: requesting a VM operation whilst holding a ThreadsListHandle can cause deadlocks
Reviewed-by: eosterlund, dcubed, sspitsyn, dholmes
2018-10-31 08:09:45 +01:00
Markus Grönlund
e4f5ffc403 8213172: CDS and JFR tests fail with assert(JdkJfrEvent::is(klass)) failed: invariant
Reviewed-by: egahlin, dholmes
2018-10-31 09:09:23 +01:00
Daniil Titov
93021808e6 8195627: [Graal] nsk/jdi/VirtualMachine/redefineClasses/redefineclasses026 hangs with Graal in Xcomp mode
Reviewed-by: sspitsyn, kvn
2018-10-30 19:29:21 -07:00
Jiangli Zhou
b9f22907d3 8203953: Rename SystemDictionary::load_shared_class(Symbol*, Handle, TRAPS) to load_shared_boot_class()
Rename SystemDictionary::load_shared_class.

Reviewed-by: coleenp
2018-10-30 22:24:04 -04:00
Erik Gahlin
ba18b569ef 8203629: Produce events in the JDK without a dependency on jdk.jfr
Reviewed-by: mgronlun
2018-10-31 02:10:21 +01:00
Dean Long
7d2ac4cc31 8211743: [AOT] crash in ScopeDesc::decode_body() when JVMTI walks AOT frames
Reviewed-by: kvn
2018-10-30 15:17:58 -07:00
Kim Barrett
3185dcf0f2 8212827: GlobalCounter should support nested critical sections
Support nested critical sections.

Reviewed-by: eosterlund, rehn, tschatzl
2018-10-30 18:06:35 -04:00
Kuai Wei
dcb6e1dda8 8210853: JIT: C2 doesn't skip post barrier for new allocated objects
Skip copy Region node when look for last allocation

Reviewed-by: thartmann, kvn
2018-10-30 14:38:59 -07:00
Bob Vandette
05027c124c 8209093: JEP 340: One AArch64 Port, Not Two
Reviewed-by: dholmes, erikj, mikael, shade, avoitylov, bulasevich
2018-10-30 10:39:19 -04:00
Jiangli Zhou
0c554411b0 8205327: Clean up #if INCLUDE_CDS in classLoaderExt.cpp and classLoaderExt.hpp
Clean up #if INCLUDE_CDS in classLoaderExt.* files.

Reviewed-by: dholmes
2018-10-29 14:00:48 -04:00
Tobias Hartmann
4b27547977 8177899: Tests fail due to code cache exhaustion on machines with many cores
Implemented upper limit on CICompilerCount based on code cache size.

Reviewed-by: kvn, mdoerr
2018-10-30 09:06:08 +01:00
Igor Ignatyev
93c891c51b 8177710: Convert TestMetaspaceUtils_test to GTest
Reviewed-by: tschatzl
2018-10-29 14:04:44 -07:00
Kirill Zhaldybin
810ba0eb12 8157728: Convert GCTimer_test to GTest
Reviewed-by: tschatzl, jcbeyler, iignatyev
2018-10-29 14:04:42 -07:00
Ioi Lam
9a06fc3ea7 8212205: VM asserts after CDS archive has been unmapped
Reviewed-by: dholmes, jiangli, hseigel, stuefe
2018-10-25 11:23:43 -07:00
Coleen Phillimore
6a045adbed 8212958: Allow Klass::_subklass and _next_sibling to have unloaded classes
Don't return unloaded klasses. Make sure access is protected by Compile_lock.

Reviewed-by: eosterlund, dlong
2018-10-29 10:21:34 -04:00
Thomas Schatzl
f69c1407ae 8212766: TestPromotionEventWithG1.java failed due to "RuntimeException: PLAB size is smaller than object size."
Also send PLAB size in bytes, not in heap words.

Reviewed-by: shade, sjohanss
2018-10-29 08:55:03 +01:00
Thomas Schatzl
931c9cf86d 8212974: Update RS Skipped cards uses wrong enum to register to phase
Reviewed-by: kbarrett
2018-10-29 08:52:04 +01:00
Gerard Ziemski
0108d754d7 8017061: os_bsd.cpp contains code for UseSHM and UseHugeTLBFS
Removed the code using unused flags.

Reviewed-by: dholmes, coleenp
2018-10-26 10:47:05 -05:00
Thomas Stuefe
e4f51809e4 8212173: Thread._stack_base/_stack_size initialized too late for new threads
Reviewed-by: dholmes, simonis
2018-10-19 09:39:29 +02:00
Calvin Cheung
7c81535d46 8209598: Clean up how messages are printed when CDS aborts start-up
Added a new function vm_exit_during_cds_dumping() to java.cpp so that it can be used when an error condition is encountered during CDS dumping.

Reviewed-by: iklam, dholmes, jiangli
2018-10-25 21:40:17 -07:00
Dean Long
c24f6506e7 8021335: Missing synchronization when reading counters for live threads and peak thread count
Reviewed-by: dholmes, mchung
2018-10-25 18:41:26 -07:00
Pavel Punegov
a7aa770b9a 8164546: Convert DirectivesParser_test to GTest
Reviewed-by: kvn, iignatyev, neliasso
2018-10-25 11:18:24 -07:00
Ioi Lam
93395f6a9e 8212200: assert when shared java.lang.Object is redefined by JVMTI agent
Reviewed-by: dholmes, jiangli, hseigel, lfoltan, sspitsyn
2018-10-17 15:57:10 -07:00
Serguei Spitsyn
4904980886 8024368: private methods are allocated vtable slots
Stop allocating vtable slots for  private methods

Reviewed-by: dholmes, acorn, lfoltan
2018-10-24 13:11:54 -07:00
Eric Caspole
5d9ffc2d03 8212706: nmethod jvmci_installed_code_name need to be XML escaped
Call text instead of print to escape chars properly

Reviewed-by: thartmann
2018-10-24 11:02:55 -04:00
Thomas Schatzl
3a48e68b1a 8212753: Improve oopDesc::forward_to_atomic
Avoid multiple unnecessary reloads of the mark oop in oopDesc::forward_to_atomic

Reviewed-by: kbarrett, mdoerr
2018-10-24 16:22:34 +02:00
Tobias Hartmann
18d4a423f9 8150552: Remove -XX:+AggressiveOpts
Removed the -XX:+AggressiveOpts flags and its usages.

Reviewed-by: ecaspole, sjohanss
2018-10-24 12:39:37 +02:00
Thomas Stuefe
2c208aa563 8212896: AIX build breaks after 8212611
Reviewed-by: simonis, dholmes
2018-10-24 10:42:12 +02:00
David Holmes
c145bd0bd0 8199567: [Nestmates] Cleanup instanceKlass.cpp
Reviewed-by: lfoltan, coleenp
2018-10-23 17:01:48 -04:00
Robbin Ehn
77ad5f6fa3 8212707: GlobalCounter padding is too optimistic
Reviewed-by: shade, redestad, mdoerr
2018-10-23 13:24:36 +02:00
Aleksey Shipilev
a633b90085 8212754: Build failure: undefined JvmtiSampledObjectAllocEventCollector::object_alloc_is_safe_to_sample
Reviewed-by: jcbeyler, zgu, coleenp
2018-10-23 10:55:59 +02:00
Roland Westrelin
b4c401fa37 8212611: Small collection of simple changes from shenandoah
Reviewed-by: thartmann, kvn, eosterlund
2018-10-17 10:19:13 +02:00
Mandy Chung
5e6d6b8642 8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
Coleen Phillimore
932d2c6ba6 8212774: Remove dead code touching Klass::_lower_dimension
Found dead code removal while looking at usage of Compile_lock. This dead code doesn't have Compile_lock but other code touching Klass::_{upper,lower}_dimension do.

Reviewed-by: shade
2018-10-22 15:32:50 -04:00
Erik Österlund
b3c1e4f663 8212663: Remove conservative at_safepoint assert when JFR writes type sets during class unloading
Reviewed-by: coleenp, dholmes, mgronlun
2018-10-22 12:13:29 +02:00
Thomas Schatzl
5b925d80f5 8211853: Avoid additional duplicate work when a reference in the task queue has already been evacuated
Reviewed-by: kbarrett, sjohanss
2018-10-22 11:51:17 +02:00
Igor Ignatyev
f1e1e1fe6f 8177709: Convert TestVirtualSpace_test to GTest
Reviewed-by: stuefe, jcbeyler
2018-10-19 16:29:45 -07:00
Kirill Zhaldybin
4c8b5f840c 8171097: Convert TestReservedSpace_test to Gtest
Reviewed-by: stuefe, jcbeyler, iignatyev
2018-10-19 16:29:43 -07:00