3027 Commits

Author SHA1 Message Date
Sangheon Kim
52116d808c 8220310: Implementation: NUMA-Aware Memory Allocation for G1, Mutator (1/3)
Reviewed-by: kbarrett, sjohanss, tschatzl, pliden
2019-11-13 10:49:12 -08:00
Coleen Phillimore
ed21b56269 8233913: Remove implicit conversion from Method* to methodHandle
Fix call sites to use existing THREAD local or pass down THREAD local for shallower callsites. Make linkResolver methods return Method* for caller to handleize if needed.

Reviewed-by: iklam, thartmann, hseigel
2019-11-13 08:23:23 -05:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Martin Doerr
0a5f074a77 8230459: Test failed to resume JVMCI CompilerThread
Reviewed-by: dholmes, kvn
2019-10-21 19:58:16 +02:00
Alan Hayward
9dd7038c43 8231841: AArch64: debug.cpp help() is missing an AArch64 line for pns
Adds missing line for aarch64 to debug.cpp help() for pns

Reviewed-by: adinn
2019-11-13 17:24:53 +08:00
Tobias Hartmann
7ba4fc4722 8233656: assert(d->is_CFG() && n->is_CFG()) failed: must have CFG nodes
Explicitly handle ProjNodes with TOP input.

Reviewed-by: kvn, vlivanov
2019-11-13 08:43:35 +01:00
Yasumasa Suenaga
a05b6ae866 8233785: Incorrect JDK version is reported in hs_err log
Reviewed-by: dholmes, stuefe
2019-11-13 10:27:06 +09:00
Erik Österlund
857de6c9e8 8230661: ZGC: Stop reloading oops in load barriers
Reviewed-by: pliden, stefank
2019-11-12 20:14:49 +00:00
Erik Österlund
54572d621a 8233797: ZGC: Unify naming convention for functions using atomics
Reviewed-by: pliden, stefank
2019-11-12 20:01:23 +00:00
Erik Österlund
db15bf5174 8233061: ZGC: Enforce memory ordering in segmented bit maps
Reviewed-by: pliden, stefank
2019-11-12 20:01:23 +00:00
Martin Doerr
7c242c709d 8233820: Test crashed with assert(phi->operand_count() != 1 || phi->subst() != phi) failed: missed trivial simplification
Verification code needs to skip illegal phi functions.

Reviewed-by: thartmann, vlivanov
2019-11-12 16:13:16 +01:00
Florian Weimer
e0f7b08376 8233941: adlc should not generate Pipeline_Use_Cycle_Mask::operator=
Removed useless = operator.

Reviewed-by: kvn, thartmann
2019-11-12 12:19:24 +01:00
Jie Fu
b2ce439b85 8233885: Test fails with assert(comp != __null) failed: Ensure we have a compiler
Reviewed-by: thartmann, iveresov
2019-11-11 17:40:28 +08:00
Erik Österlund
8a8b35154b 8233506: ZGC: the load for Reference.get() can be converted to a load for strong refs
Reviewed-by: thartmann, neliasso, pliden
2019-11-12 09:25:39 +00:00
Doug Simon
301e068935 8233900: [JVMCI] improve help text for EnableJVMCIProduct option
Reviewed-by: kvn
2019-11-12 10:19:04 +01:00
Tobias Hartmann
1833584f92 8233529: loopTransform.cpp:2984: Error: assert(p_f->Opcode() == Op_IfFalse) failed
Strengthened asserts in locate_pre_from_main() and added a check for is_main_no_pre_loop().

Reviewed-by: kvn, vlivanov
2019-11-12 10:16:04 +01:00
Coleen Phillimore
b4d28f36fc 8232735: Convert PrintJNIResolving to Unified Logging
Converted the existing output at debug level because it is noisy

Reviewed-by: iklam, dholmes
2019-11-11 12:11:34 -05:00
Stefan Johansson
5e113f37e8 8233065: PSParallelCompact::move_and_update is unused and should be removed
Reviewed-by: lkorinth, tschatzl
2019-11-11 13:20:26 +01:00
Ralf Schmelter
b2a9673829 8233790: Forward output from heap dumper to jcmd/jmap
Reviewed-by: stuefe, sspitsyn, cjplummer
2019-11-11 12:06:22 +01:00
Christian Hagedorn
173dae8bc6 8229694: JVM crash in SWPointer during C2 OSR compilation
Handle the case where there is only 1 pack and no operations left when calling SuperWord::find_align_to_ref() to find the best alignment again.

Reviewed-by: kvn, vlivanov, thartmann
2019-11-11 10:41:03 +01:00
Zhengyu Gu
3b8a1c14e8 8233850: Shenandoah: Shenandoah thread count ergonomics should be container aware
Reviewed-by: rkennke
2019-11-08 11:41:17 -05:00
Zhengyu Gu
3672c05476 8233339: Shenandoah: Centralize load barrier decisions into ShenandoahBarrierSet
Reviewed-by: rkennke
2019-11-08 09:50:07 -05:00
Jorn Vernee
d405f6abb6 8233389: Add PrintIdeal to compiler directives
Add PrintIdeal as a compiler directive in order to enable PrintIdeal for only a single method.

Reviewed-by: roland, neliasso, vlivanov, thartmann
2019-11-08 10:55:14 +01:00
Thomas Schatzl
c4b3dcf8c1 8189737: Make HeapRegion not derive from Space
Reviewed-by: sjohanss, kbarrett
2019-11-08 10:01:13 +01:00
Tobias Hartmann
f225f7cd0b 8233788: Remove useless asserts in PhaseCFG::insert_anti_dependences
Removed useless asserts.

Reviewed-by: kvn
2019-11-08 09:16:48 +01:00
Kim Barrett
89e3782f21 8233364: Fix undefined behavior in Canonicalizer::do_ShiftOp
Add java_shift_xxx helpers and use them.

Reviewed-by: aph, kvn
2019-11-07 16:22:22 -05:00
Markus Grönlund
24bff84cb3 8232905: JFR fails with assertion: assert(t->unflushed_size() == 0) failed: invariant
Reviewed-by: egahlin
2019-11-07 15:56:56 +01:00
Markus Grönlund
9ec96c1117 8233416: JFR: assert((((((klass)->trace_id()) & (((1 << 1) << 8) | (JfrTraceIdEpoch::in_use_this_epoch_bit()))) != 0))) failed: invariant
Reviewed-by: egahlin
2019-11-07 15:53:25 +01:00
Per Lidén
b7dcab5af0 8233793: ZGC: Incorrect type used in ZBarrierSetC2 clone_type()
Reviewed-by: eosterlund
2019-11-07 15:48:43 +01:00
Zhengyu Gu
4860dad68c 8233796: Shenandoah is broken after 8233708
Reviewed-by: rkennke
2019-11-07 09:41:22 -05:00
Claes Redestad
12adeca887 8233708: VectorSet cleanup
Reviewed-by: neliasso, shade, thartmann
2019-11-07 12:12:39 +01:00
Erik Österlund
f07d377d6f 8233073: Make BitMap accessors more memory ordering friendly
Reviewed-by: kbarrett, pliden
2019-11-07 10:28:29 +00:00
Roland Westrelin
afd91fd320 8232539: SIGSEGV in C2 Node::unique_ctrl_out
Reviewed-by: thartmann, kvn
2019-10-22 11:55:58 +02:00
Nils Eliasson
3b5b596f4b 8233783: Make 8232896 patch complete
Reviewed-by: pliden, kvn
2019-11-07 09:23:55 +01:00
Tobias Hartmann
14475e47b6 8233491: Crash in AdapterHandlerLibrary::get_adapter with CDS due to code cache exhaustion
Added null check.

Reviewed-by: kvn, iklam
2019-11-07 07:02:55 +01:00
David Holmes
4272078d30 8233454: Test fails with assert(!is_init_completed(), "should only happen during init") after JDK-8229516
Reviewed-by: jiefu, dcubed
2019-11-06 21:18:42 -05:00
Aleksey Shipilev
a57683f3e0 8233698: GCC 4.8.5 build failure after JDK-8233530
Reviewed-by: stuefe, dholmes, kbarrett
2019-11-06 19:37:30 +01:00
Zhengyu Gu
476cfd1547 8233401: Shenandoah: Refactor/cleanup Shenandoah load barrier code
Reviewed-by: aph, shade, rkennke
2019-11-06 09:50:53 -05:00
Yasumasa Suenaga
b2e6cba0b4 8233375: JFR emergency dump does not recover thread state
Reviewed-by: dholmes, mgronlun
2019-11-06 21:49:30 +09:00
Ao Qi
87e7ddc8d7 8233608: Minimal build broken after JDK-8233494
Reviewed-by: shade
2019-11-06 01:45:25 +08:00
Jie Fu
1c40d6fdfb 8233590: Compiler thread creation fails with assert(_c2_count > 0 || _c1_count > 0) failed: No compilers?
Handle the case with -XX:-TieredCompilation properly

Reviewed-by: shade, thartmann
2019-11-05 09:59:21 -08:00
Thomas Stuefe
1be39aa9c7 8233530: gcc 5.4 build warning -Wc++14-compat after JDK-8233359
Reviewed-by: dholmes, goetz
2019-11-05 16:57:58 +01:00
Martin Doerr
c15dfbfd60 8233081: C1: PatchingStub for field access copies too much
Reviewed-by: thartmann, dlong
2019-11-05 11:53:46 +01:00
Nils Eliasson
3ca7e3f6ff 8232896: ZGC: Enable C2 clone intrinsic
Reviewed-by: pliden, kvn
2019-10-31 17:16:36 +01:00
Jie Fu
3762eb00f0 8233574: Shenandoah: build is broken without jfr
Reviewed-by: rkennke, shade
2019-11-05 17:02:01 +08:00
Claes Redestad
dd8e82f46e 8233495: Some fieldDescriptor methods can pass existing constantPoolHandle
Reviewed-by: lfoltan, coleenp
2019-11-05 09:58:05 +01:00
Claes Redestad
af729c390c 8233494: Avoid calling MallocTracker::record_malloc and record_free when NMT is off
Reviewed-by: mdoerr, zgu
2019-11-05 09:57:10 +01:00
Jie Fu
9f62f4586d 8233429: Minimal and zero VM build broken after JDK-8227003
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Reviewed-by: iveresov, shade, thartmann
2019-11-05 09:37:20 +08:00
Thomas Stuefe
13cc1154f0 8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit
Reviewed-by: mdoerr, dlong, aph
2019-10-31 07:53:16 +01:00
Brent Christian
3561b4ed50 8233091: Backout JDK-8212117: Class.forName loads a class but not linked if class is not initialized
Reviewed-by: alanb, dholmes, mchung
2019-11-04 11:42:24 -08:00