5782 Commits

Author SHA1 Message Date
Jie Fu
216c2ec077 8258703: Incorrect 512-bit vector registers restore on x86_32
Reviewed-by: kvn, sviswanathan
2021-01-04 23:41:51 +00:00
Daniel D. Daugherty
9cd8e38ab8 8257521: runtime/logging/MonitorInflationTest.java crashed in MonitorList::unlink_deflated
Reviewed-by: kbarrett
2020-12-23 14:36:47 +00:00
Vladimir Ivanov
772addfd24 8258790: C2: Crash on empty macro node list
Reviewed-by: kvn, chagedorn
2020-12-22 12:12:21 +00:00
Roberto Castañeda Lozano
4e8338eb13 8255763: C2: OSR miscompilation caused by invalid memory instruction placement
Disable GCM hoisting of memory-writing nodes for irreducible CFGs. This prevents
GCM from wrongly "hoisting" stores into descendants of their original loop. Such
an "inverted hoisting" can happen due to CFGLoop::compute_freq()'s inaccurate
estimation of frequencies for irreducible CFGs.

Extend CFG verification code by checking that memory-writing nodes are placed in
either their original loop or an ancestor.

Add tests for the reducible and irreducible cases. The former was already
handled correctly before the change (the frequency estimation model prevents
"inverted hoisting" for reducible CFGs), and is just added for coverage.

This change addresses the specific miscompilation issue in a conservative way,
for simplicity and safety. Future work includes investigating if only the
illegal blocks can be discarded as candidates for GCM hoisting, and refining
frequency estimation for irreducible CFGs.

Reviewed-by: kvn, chagedorn
2020-12-21 13:04:24 +00:00
Roman Kennke
2525f39d35 8258714: Shenandoah: Process references before evacuation during degen
Reviewed-by: shade
2020-12-21 12:42:34 +00:00
Jie Fu
59ae054873 8258687: Build broken on Windows after fix for JDK-8258134
Reviewed-by: thartmann
2020-12-18 14:13:01 +00:00
Richard Reingruber
1ce2e94f5f 8256843: [PPC64] runtime/logging/RedefineClasses.java fails with assert: registers not saved on stack
Reviewed-by: mdoerr, lucy
2020-12-18 13:16:09 +00:00
Jie Fu
45a150b8dc 8258134: assert(size == calc_size) failed: incorrect size calculation on x86_32 with AVX512 machines
Reviewed-by: kvn, thartmann
2020-12-18 12:50:19 +00:00
Stefan Johansson
38593a4f2a 8257974: Regression 21% in DaCapo-lusearch-large after JDK-8236926
Reviewed-by: ayang, redestad, tschatzl
2020-12-18 08:14:58 +00:00
Markus Grönlund
7aac4dc175 8257621: JFR StringPool misses cached items across consecutive recordings
Reviewed-by: egahlin
2020-12-17 14:34:44 +00:00
Kim Barrett
61390d8e45 8257999: Parallel GC crash in gc/parallel/TestDynShrinkHeap.java: new region is not in covered_region
Reviewed-by: sjohanss, tschatzl
2020-12-17 14:18:00 +00:00
Calvin Cheung
b5a3a5b621 8258236: Segfault in ClassListParser::resolve_indy dumping static AppCDS archive
Reviewed-by: redestad, coleenp
2020-12-16 02:37:29 +00:00
Tom Rodriguez
1f556d22ca 8258380: [JVMCI] don't clear InstalledCode reference when unloading JVMCI nmethods
Reviewed-by: kvn, eosterlund
2020-12-15 21:31:00 +00:00
Christian Hagedorn
ce36aeaac3 8257822: C2 crashes with SIGFPE due to a division that floats above its zero check
Reviewed-by: kvn, thartmann
2020-12-15 15:14:34 +00:00
Markus Grönlund
fa1cbb47aa 8258404: Restore stacktrace reuse after 8258094
Reviewed-by: egahlin
2020-12-15 14:48:57 +00:00
Maurizio Cimadamore
7ff9c85639 8258242: Type profile pollution occurs when memory segments of different kinds are used
Reviewed-by: vlivanov, redestad
2020-12-15 13:50:40 +00:00
Markus Grönlund
afc44414d5 8258094: AIX build fails after 8257602
Reviewed-by: rrich, stuefe, egahlin
2020-12-14 11:36:01 +00:00
Mandy Chung
2001da3dd4 8257596: Clarify trusted final fields for record classes
Reviewed-by: hseigel, chegar, psandoz
2020-12-11 22:44:48 +00:00
Vladimir Ivanov
b1afed7501 8257919: [JVMCI] profiling info didn't change after reprofile
Reviewed-by: kvn, redestad
2020-12-11 21:50:49 +00:00
Thomas Schatzl
bacf22b907 8256641: CDS VM operations do not lock the heap
Reviewed-by: kbarrett, iklam
2020-12-11 18:14:37 +00:00
Yudi Zheng
58dca9253d 8257910: [JVMCI] Set exception_seen accordingly in the runtime.
Reviewed-by: kvn
2020-12-10 22:43:37 +00:00
Doug Simon
fa77008f19 8258015: [JVMCI] JVMCI_lock shouldn't be held while initializing box classes
Reviewed-by: kvn
Backport-of: d163c6fe2ec235a175b62ec821477d33b14841fe
2020-12-10 21:18:35 +00:00
Maurizio Cimadamore
37043b0557 8257837: Performance regression in heap byte buffer views
Reviewed-by: chegar, roland
2020-12-10 15:32:36 +00:00
Markus Grönlund
502a5241e5 8257602: Introduce JFR Event Throttling and new jdk.ObjectAllocationSample event (enabled by default)
Co-authored-by: Jaroslav Bachorik <jbachorik@openjdk.org>
Reviewed-by: egahlin, jbachorik
2020-12-10 12:33:48 +00:00
Dong Bo
026b09cf64 8257483: C2: Split immediate vector rotate from RotateLeftV and RotateRightV nodes
Reviewed-by: vlivanov
2020-12-10 12:26:04 +00:00
Per Liden
0a0691ebcf 8257901: ZGC: Take virtual memory usage into account when sizing heap
Reviewed-by: stefank, eosterlund, ayang, tschatzl
2020-12-10 11:10:38 +00:00
Roland Westrelin
d93293f31b 8256730: Code that uses Object.checkIndex() range checks doesn't optimize well
Reviewed-by: vlivanov, thartmann
2020-12-10 08:09:08 +00:00
Sandhya Viswanathan
869dcb6f50 8257806: Optimize x86 allTrue and anyTrue vector mask operations of Vector API
Reviewed-by: kvn, psandoz
2020-12-10 04:31:27 +00:00
Koichi Sakata
34650f52b5 8257872: UL: -Xlog does not check number of options
Reviewed-by: dholmes, iklam, ysuenaga
2020-12-10 04:05:18 +00:00
Coleen Phillimore
0a3e446ad9 8257993: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine/TestDescription.java crash intermittently
Reviewed-by: sspitsyn, hseigel, dholmes
2020-12-09 23:08:52 +00:00
Doug Simon
baf4c1a4af 8257917: [JVMCI] crash when materializing boxed values under -Xcomp
Reviewed-by: iveresov, kvn
2020-12-09 20:26:55 +00:00
Harold Seigel
d33a689b96 8256867: Classes with empty PermittedSubclasses attribute cannot be extended
Reviewed-by: lfoltan, mchung, jlahoda, chegar
2020-12-09 19:07:11 +00:00
Christian Hagedorn
f148915d54 8245107: Use Unified Logging in trace_method_handle_stub()
Reviewed-by: coleenp, mdoerr
2020-12-09 14:36:13 +00:00
Jie Fu
df55ecd83c 8257794: Zero: assert(istate->_stack_limit == istate->_thread->last_Java_sp() + 1) failed: wrong on Linux/x86_32
Reviewed-by: shade
2020-12-09 09:01:07 +00:00
Igor Veresov
10da767c2f 8257847: Tiered should publish MDO data pointer for interpreter after profile start
Reviewed-by: thartmann, kvn, dlong
2020-12-09 04:28:59 +00:00
Dan Smith
48d8650ae1 8257845: Integrate JEP 390
8254047: [JEP 390] Revise "value-based class" & apply to wrappers
8252181: [JEP 390] Define & apply annotation jdk.internal.ValueBased
8252183: [JEP 390] Add 'lint' warning for @ValueBased classes
8257027: [JEP 390] Diagnose synchronization on @ValueBased classes
8252180: [JEP 390] Deprecate wrapper class constructors for removal

Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Reviewed-by: rriggs, hseigel, mchung, darcy
2020-12-08 23:04:01 +00:00
Mark Reinhold
ed4c4ee73b 8256299: Implement JEP 396: Strongly Encapsulate JDK Internals by Default
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: mchung, alanb
2020-12-08 22:12:24 +00:00
Vladimir Ivanov
044616bd71 8252049: Native memory leak in ciMethodData ctor
Reviewed-by: kbarrett, coleenp
2020-12-08 17:02:09 +00:00
Aleksey Shipilev
35e81536e7 8257848: -XX:CompileCommand=blackhole,* should be diagnostic
Reviewed-by: vlivanov
2020-12-08 10:11:01 +00:00
Christian Hagedorn
1d0adbb812 8253644: C2: assert(skeleton_predicate_has_opaque(iff)) failed: unexpected
Reviewed-by: roland, kvn
2020-12-08 08:48:58 +00:00
Roland Westrelin
0b6b6eb59a 8257813: [redo] C2: Filter type in PhiNode::Value() for induction variables of trip-counted integer loops
Reviewed-by: chagedorn, kvn
2020-12-08 08:30:18 +00:00
Vladimir Ivanov
62c7788b29 8257211: C2: Enable call devirtualization during post-parse phase
Reviewed-by: kvn, neliasso, thartmann
2020-12-07 22:50:38 +00:00
Dean Long
a5297bd0d4 8254939: macOS: unused function 'replicate4_imm'
Reviewed-by: redestad, thartmann
2020-12-07 20:10:07 +00:00
Zhengyu Gu
395b6bdeee 8257817: Shenandoah: Don't race with conc-weak-in-progress flag in weak-LRB
Reviewed-by: rkennke
2020-12-07 19:19:23 +00:00
Magnus Ihse Bursie
d29c78da19 8257679: Improved unix compatibility layer in Windows build (winenv)
Reviewed-by: erikj, jvernee, burban
2020-12-07 15:55:53 +00:00
Martin Doerr
46b35acfcb 8257798: [PPC64] undefined reference to Klass::vtable_start_offset()
Reviewed-by: goetz
2020-12-07 13:45:19 +00:00
Zhengyu Gu
ecd7e476f8 8257793: Shenandoah: SATB barrier should only filter out already strongly marked oops
Reviewed-by: shade, rkennke
2020-12-07 13:18:02 +00:00
Jan Lahoda
637b0c64b0 8246778: Compiler implementation for Sealed Classes (Second Preview)
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Reviewed-by: lfoltan, mchung, alanb, mcimadamore, chegar
2020-12-07 11:11:31 +00:00
Thomas Stuefe
8e8e584552 8257588: Make os::_page_sizes a bitmask
Reviewed-by: tschatzl, stefank
2020-12-07 10:32:05 +00:00
Roland Westrelin
f5a582c287 8257575: C2: "failed: only phis" assert failure in loop strip mining verification
Reviewed-by: thartmann, neliasso
2020-12-07 09:38:22 +00:00