3105 Commits

Author SHA1 Message Date
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
Aleksey Shipilev
05307243c0 8233520: Shenandoah: do not sleep when thread is attaching
Reviewed-by: rkennke
2019-11-04 19:40:58 +01:00
David Holmes
1d50b2761c 8229516: Thread.isInterrupted() always returns false after thread termination
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
2019-11-03 18:02:29 -05:00
Kim Barrett
5dafc279a7 8233359: Add global sized operator delete definitions
Added new definitions.

Reviewed-by: dholmes
2019-11-01 16:21:17 -04:00
Calvin Cheung
9c7e4bcf59 8233363: Clarify the DumpSharedSpaces condition in InstanceKlass::verify_on
Change DumpSharedSpaces to Arguments::is_dumping_archive().

Reviewed-by: iklam, coleenp
2019-11-01 11:31:37 -07:00
Igor Veresov
83dda95d7f 8227003: Add high-level JIT compilation mode control mechanism
Add tiered mode to emulate non-tiered with special mode for JVMCI compiler. Add -XX:CompilationMode option.

Reviewed-by: never, redestad
2019-11-01 09:39:13 -07:00
Aleksey Shipilev
b56749537d 8233387: Shenandoah: passive mode should disable pacing ergonomically
Reviewed-by: zgu
2019-11-01 16:16:05 +01:00
Coleen Phillimore
026e83632d 8233386: Initialize NULL fields for unused decorations
Reviewed-by: shade, hseigel, dcubed
2019-11-01 10:04:49 -04:00
Christoph Langer
dae8d44447 8232980: Cleanup initialization of function pointers into java.base from classloader.cpp
Reviewed-by: iklam, ccheung
2019-11-01 07:58:05 +01:00
Goetz Lindenmaier
a3ee39cb81 8232921: assert(is_object_aligned(result)) failed: address not aligned
Reviewed-by: coleenp, rschmelter
2019-10-29 15:08:19 +01:00
Alan Bateman
6d98a3bdd8 8205132: Degrade Thread.countStackFrames() to throw UOE
Reviewed-by: mchung, dholmes, dcubed
2019-10-31 16:45:58 +00:00
Aleksey Shipilev
4fcd28bf54 8233303: Shenandoah: verifier assert erroneously uses byte_size_in_exact_unit
Reviewed-by: rkennke
2019-10-31 10:37:03 +01:00
Coleen Phillimore
2c77ae1ca5 8233266: Remove unnecessary fence in restore_unshareable_info
Reviewed-by: jiangli, dholmes
2019-10-30 22:32:00 -04:00
Markus Grönlund
8addc1418a 8226511: Implement JFR Event Streaming
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Reviewed-by: egahlin, mseledtsov, mgronlun
2019-10-30 19:43:52 +01:00
Claes Redestad
061b0a6637 8233159: Method::result_type should use calculated value in constMethod
Reviewed-by: lfoltan, iklam, coleenp
2019-10-30 16:14:56 +01:00
Christian Hagedorn
6df28153fd 8230019: [REDO] compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
Explicitly set the receiver klass in the ci MDO to NULL if it is NULL in the MDO while translating.

Reviewed-by: kvn, thartmann
2019-10-29 14:29:40 +01:00
Alexey Ivanov
c7acea028c 8232724: Remove indirection with calling JNU_NewStringPlatform
Reviewed-by: dholmes, clanger
2019-10-30 14:08:07 +00:00
Vladimir Kozlov
5c506779b2 8233035: Update JVMCI
Reviewed-by: dlong
2019-10-29 15:35:06 -07:00
Mark Reinhold
f9f141b6ab 8233137: runtime/ErrorHandling/VeryEarlyAssertTest.java fails after 8232080
Reviewed-by: stuefe, iignatyev, mchung
2019-10-29 13:52:04 -07:00
Eric Caspole
dbbd17b497 8233075: JFR - nmetods - misspelled in several places
Reviewed-by: hseigel, mseledtsov
2019-10-29 13:51:14 -04:00
Mark Reinhold
d83df45396 8232080: jlink plugins for vendor information and run-time options
Reviewed-by: ihse, alanb, kvn, bobv, mchung
2019-10-29 08:26:55 -07:00
Markus Grönlund
72b3f81dd4 8230400: Missing constant pool entry for a method in stacktrace
Reviewed-by: egahlin
2019-10-29 11:33:25 +01:00
Bob Vandette
25d6a33eb5 8232118: Add JVM option to enable JVMCI compilers in product mode
Reviewed-by: kvn, dholmes
2019-10-28 16:06:08 +00:00