267 Commits

Author SHA1 Message Date
Stefan Karlsson
2f67784a45 8230759: ZGC: Fix integer types
Reviewed-by: pliden
2019-09-11 09:47:42 +02:00
Stefan Karlsson
557f13e994 8230758: ZGC: Add missing precompiled include and fix friend declaration
Reviewed-by: tschatzl, pliden
2019-09-10 17:07:02 +02:00
Stefan Karlsson
3c93f5cf18 8230756: ZGC: Remove redundant memset in ZStatValue
Reviewed-by: tschatzl, pliden
2019-09-10 17:07:02 +02:00
Per Lidén
b053f09769 8231113: Remove CollectedHeap::check_oop_location()
Reviewed-by: stefank, eosterlund, tschatzl
2019-09-19 16:05:47 +02:00
Robbin Ehn
35a9f6864a 8226705: [REDO] Deoptimize with handshakes
Reviewed-by: eosterlund, dcubed, dlong, pchilanomate
2019-09-19 10:52:22 +02:00
Per Lidén
89b0250e4a 8231051: Remove check_obj_alignment() and replace with is_object_aligned()
Reviewed-by: tschatzl, shade
2019-09-17 09:51:02 +02:00
Per Lidén
17abb078fc 8230878: ZGC: Use THREAD_LOCAL instead of __thread
Reviewed-by: kbarrett
2019-09-13 08:40:09 +02:00
Per Lidén
39fd81e4a7 8230846: ZGC: Make ZUtils::alloc_aligned() posix-specific
Reviewed-by: stefank
2019-09-13 08:40:09 +02:00
Per Lidén
334c609caf 8230845: ZGC: Implement ZLock using os::PlatformMutex
Reviewed-by: stefank
2019-09-13 08:40:09 +02:00
Leo Korinth
4b6f9ed07f 8230398: Remove NULL checks before FREE_C_HEAP_ARRAY
Reviewed-by: dholmes, kbarrett, tschatzl
2019-09-11 14:16:30 +02:00
Per Lidén
24ed3d4eef 8230566: ZGC: Don't substitute klass pointer during array clearing
Reviewed-by: stefank, eosterlund
2019-09-10 11:11:31 +02:00
Erik Österlund
f869706f5f 8224815: Remove non-GC uses of CollectedHeap::is_in_reserved()
Reviewed-by: stefank, coleenp
2019-09-05 08:26:49 +02:00
Erik Österlund
277ef756c4 8230307: ZGC: Make zGlobals and zArguments OS agnostic
Reviewed-by: pliden, smonteith
2019-08-30 10:44:06 +02:00
Nils Eliasson
336b64a259 8230091: Add verification of clean_catch_blocks
Reviewed-by: rbackman, kvn
2019-08-26 11:36:45 +02:00
Erik Österlund
855f16ef50 8229278: Improve hs_err location printing to assume less about GC internals
Reviewed-by: stefank, kbarrett
2019-08-28 11:19:09 +02:00
Per Lidén
2750569c00 8230096: ZGC: Remove unused ZObjectAllocator::_nworkers
Reviewed-by: stefank
2019-08-28 09:50:23 +02:00
Per Lidén
536122fed6 8230092: ZGC: Consolidate ZBackingFile, ZBackingPath and ZPhysicalMemoryBacking on Linux
Reviewed-by: stefank
2019-08-28 09:50:21 +02:00
Stefan Karlsson
e1aca70a1c 8229836: Remove include of globals.hpp from allocation.hpp
Reviewed-by: coleenp, kbarrett
2019-08-26 09:13:38 +02:00
Nils Eliasson
6e3a246c9a 8229970: ZGC: C2: fixup_uses_in_catch may fail when expanding many uses
Reviewed-by: kvn, thartmann
2019-08-23 10:11:18 +02:00
Nils Eliasson
67738a72bd 8228839: Non-CFG nodes have control edges to calls, instead of the call's control projection
Reviewed-by: kvn, thartmann
2019-08-23 10:11:00 +02:00
Per Lidén
3460bce1c2 8229451: ZGC: Make some roots invisible to the heap iterator
Reviewed-by: eosterlund
2019-08-23 08:48:23 +02:00
Per Lidén
403475d019 8227226: ZGC: Segmented array clearing
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Ryan Sciampacone <sci@amazon.com>
Reviewed-by: eosterlund
2019-08-23 08:48:18 +02:00
Kim Barrett
1acad37ee6 8227054: ServiceThread needs to know about all OopStorage objects
8227053: ServiceThread cleanup of OopStorage is missing some

OopStorages provides named access and iteration.

Reviewed-by: eosterlund, pliden, coleenp
2019-08-21 18:42:30 -04:00
Hao Tang
681475de5b 8229406: ZGC: Fix incorrect statistics
Reviewed-by: pliden, eosterlund
2019-08-12 10:49:40 +02:00
Per Lidén
1747e9763d 8229129: ZGC: Fix incorrect format string for doubles
Reviewed-by: stefank, eosterlund
2019-08-06 15:50:30 +02:00
Per Lidén
1f33105379 8229128: ZGC: Remove unused ZThreadRootsIterator
Reviewed-by: eosterlund, stefank
2019-08-06 15:50:25 +02:00
Per Lidén
a862b9341f 8229017: ZGC: Various cleanups of ZVerify
Reviewed-by: stefank, eosterlund
2019-08-06 15:50:12 +02:00
Per Lidén
285193d13c 8228657: ZGC: ZObjectAllocator::used() should take undone allocations into account
Reviewed-by: eosterlund
2019-08-06 15:50:00 +02:00
Per Lidén
a31fd3fc6d 8229135: ZGC: Adding missing ZStatTimerDisable before call to ZVerify::roots_strong()
Reviewed-by: stefank, eosterlund
2019-08-06 15:49:53 +02:00
Coleen Phillimore
ab9aab646b 8228630: Remove always true parameter to NoSafepointVerifier
Also remove NoGCVerifier since NoSafepointVerifier covers GC checking when not already at a safepoint and is a stronger check.

Reviewed-by: kbarrett, dholmes
2019-07-31 06:54:50 -04:00
Mikael Vidstedt
895db11053 Merge 2019-07-29 09:59:04 -07:00
Erik Österlund
a42636d34b 8227407: ZGC: C2 loads and load barriers can get separated by safepoints
Reviewed-by: neliasso, smonteith, roland
2019-07-29 13:57:54 +02:00
Mikael Vidstedt
f73a94a772 Merge 2019-07-23 11:17:59 -07:00
Kim Barrett
e396e38bb3 8227653: Add VM Global OopStorage
Replaced conditional JVMCI global storage with VM global storage.

Reviewed-by: tschatzl, lfoltan, kvn
2019-07-18 14:57:32 -04:00
Mikael Vidstedt
15bde6d32d Merge 2019-07-05 11:01:31 -07:00
Erik Österlund
03030e473c 8224674: NMethod state machine is not monotonic
Reviewed-by: dlong, coleenp, thartmann
2019-07-18 11:15:20 +02:00
Mikael Vidstedt
c200fc1f34 Merge 2019-07-03 07:56:41 -07:00
Stefan Karlsson
53fefe466c 8227085: ZGC: Add on_weak load barrier verification
Reviewed-by: eosterlund
2019-07-02 12:24:28 +02:00
Stefan Karlsson
e632ccd508 8227083: ZGC: C2: Generates on_weak barrier for WeakCompareAndSwap
Reviewed-by: neliasso, eosterlund
2019-07-02 12:24:26 +02:00
Stefan Karlsson
70b0862972 8225770: ZGC: C2: Generates on_weak instead of on_strong barriers
Reviewed-by: neliasso, eosterlund
2019-07-02 12:10:18 +02:00
Nils Eliasson
37a2e72937 8226287: Make process_users_of_allocation handle gc barriers
Reviewed-by: kvn, roland
2019-07-01 10:49:58 +02:00
Coleen Phillimore
74b8b47283 8225437: JvmtiExport::gc_epilogue is unnecessary
Remove jvmtiExport::gc_epilogue after full GCs

Reviewed-by: dholmes, sspitsyn, dlong
2019-06-27 11:40:18 -04:00
Daniel D. Daugherty
b0933034e0 8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
Reviewed-by: dholmes, rehn, dlong
2019-06-24 22:38:17 -04:00
Erik Österlund
a8842c9f59 8225642: ZGC: Crash due to bad oops being spilled to stack in load barriers
Co-authored-by: Stuart Monteith <stuart.monteith@linaro.org>
Reviewed-by: neliasso, pliden
2019-07-02 11:33:05 +02:00
Stefan Karlsson
02a31bf561 8227175: ZGC: ZHeapIterator visits potentially dead objects
Reviewed-by: zgu, eosterlund
2019-06-10 13:04:12 +02:00
Stefan Karlsson
24f58a0ac0 8227083: ZGC: C2: Generates on_weak barrier for WeakCompareAndSwap
Reviewed-by: neliasso, eosterlund
2019-07-02 12:24:26 +02:00
Stefan Karlsson
1e9f16c448 8225770: ZGC: C2: Generates on_weak instead of on_strong barriers
Reviewed-by: neliasso, eosterlund
2019-07-02 12:10:18 +02:00
Nils Eliasson
5fa2642f15 8225564: Remove wrong assert in clean_catch_blocks
Reviewed-by: thartmann
2019-06-11 12:39:37 +02:00
Nils Eliasson
d216c34a43 8225509: clean_catch_blocks must add preds first
Reviewed-by: kvn
2019-06-11 09:27:51 +02:00
Per Lidén
797a62e938 8225227: ZGC: Be exact in what load barrier to use in ZHeapIterator
Reviewed-by: stefank
2019-06-10 12:52:57 +02:00