280 Commits

Author SHA1 Message Date
Per Lidén
b7bca76f51 8235748: ZGC: Remove ZAddress::address()
Reviewed-by: eosterlund, stefank
2019-12-12 10:10:37 +01:00
Per Lidén
056b70c4b7 8235696: ZGC: assert(ZNMethod::is_armed(nm) == _should_disarm_nmethods) failed: Invalid state
Reviewed-by: eosterlund, stefank
2019-12-12 10:10:28 +01:00
Robbin Ehn
0df5be808d 8220049: Obsolete ThreadLocalHandshakes
Reviewed-by: dholmes, dcubed, mdoerr
2019-12-11 15:30:07 +01:00
Per Lidén
6ad37680dd 8234654: ZGC: Only disarm NMethods when marking/relocating code roots
Reviewed-by: eosterlund, stefank
2019-12-10 13:39:38 +01:00
Per Lidén
c04194036b 8235366: ZGC: Kitchensink.java fails in ZBarrier::should_mark_through
Reviewed-by: eosterlund, stefank
2019-12-10 13:12:25 +01:00
Stefan Karlsson
5b155f05e7 8235324: Dying objects are published from users of CollectedHeap::object_iterate
Reviewed-by: pliden, eosterlund, sjohanss, rkennke
2019-12-04 11:30:32 +01:00
Claes Redestad
06cb195865 8234331: Add robust and optimized utility for rounding up to next power of two
Reviewed-by: eosterlund, stuefe, jrose
2019-12-06 18:05:36 +01:00
Kim Barrett
577e87e5b2 8234779: Provide idiom for declaring classes noncopyable
Add NONCOPYABLE macro and uses.

Reviewed-by: dholmes, pliden, coleenp
2019-12-03 19:09:30 -05:00
Robbin Ehn
21e03e71aa 8234796: Refactor Handshake::execute to take a more complex type than ThreadClosure
Reviewed-by: dholmes, pliden, coleenp
2019-12-03 15:32:41 +01:00
Per Lidén
5e758d2368 8234543: ZGC: Parallel pre-touch
Reviewed-by: eosterlund, stefank
2019-12-03 13:51:29 +01:00
Nils Eliasson
6230791e9e 8234520: ZGC: C2: Oop instance cloning causing skipped compiles
Reviewed-by: pliden, vlivanov
2019-11-29 11:26:25 +01:00
Stefan Karlsson
53263049c9 8234897: 8234748: Clean up atomic and orderAccess includes - part 2
Reviewed-by: tschatzl, dholmes
2019-11-27 11:31:46 +01:00
Stefan Karlsson
161333eeba 8234748: Clean up atomic and orderAccess includes
Reviewed-by: dholmes
2019-11-26 10:47:46 +01:00
Zhengyu Gu
7f3ef14d5b 8230765: Implement nmethod barrier for x86_32 platforms
Reviewed-by: rkennke, eosterlund
2019-09-09 11:43:16 -04:00
Stefan Karlsson
b468726bdc 8234602: ZGC: Windows compile error in ZHeuristic
Reviewed-by: pliden, eosterlund
2019-11-25 15:00:32 +01:00
Stefan Karlsson
e36fa7783f 8234009: ZGC: Move resurrection unblock to before the _unload.purge() call
Reviewed-by: pliden, eosterlund
2019-11-25 14:57:03 +01:00
Stefan Karlsson
265e2f13aa 8234010: ZGC: Change ZResurrection to use Atomic::load/store
Reviewed-by: pliden, eosterlund
2019-11-25 14:56:15 +01:00
Stefan Karlsson
0ad50c2b5c 8234740: Harmonize parameter order in Atomic - cmpxchg
Reviewed-by: rehn, dholmes
2019-11-25 12:33:15 +01:00
Stefan Karlsson
3d426623bf 8234739: Harmonize parameter order in Atomic - xchg
Reviewed-by: rehn, dholmes
2019-11-25 12:32:40 +01:00
Stefan Karlsson
213af1161a 8234738: Harmonize parameter order in Atomic - sub
Reviewed-by: rehn, dholmes
2019-11-25 12:32:07 +01:00
Stefan Karlsson
d45ec50076 8234737: Harmonize parameter order in Atomic - add
Reviewed-by: rehn, dholmes
2019-11-25 12:31:39 +01:00
Stefan Karlsson
8db2c1158e 8234736: Harmonize parameter order in Atomic - store
Reviewed-by: rehn, dholmes
2019-11-25 12:30:24 +01:00
Stefan Karlsson
e527ce4b57 8234562: Move OrderAccess::release_store*/load_acquire to Atomic
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
Per Lidén
1d2c12c5a6 8234573: ZGC: Enable ZVerifyMarking by default in debug builds
Reviewed-by: stefank, tschatzl
2019-11-25 12:34:43 +01:00
Per Lidén
08822b4e05 8234437: Remove CollectedHeap::safe_object_iterate()
Reviewed-by: kbarrett, sjohanss
2019-11-20 10:37:46 +01:00
Per Lidén
80ef9d579c 8234361: ZGC: Move heuristics code in ZWorker to ZHeuristics
Reviewed-by: eosterlund, stefank
2019-11-20 10:37:46 +01:00
Per Lidén
544ce96a54 8234338: ZGC: Improve small heap usage
Reviewed-by: eosterlund, stefank
2019-11-20 10:37:46 +01:00
Per Lidén
3cb52969a2 8234312: ZGC: Adjust warmup criteria
Reviewed-by: eosterlund, stefank
2019-11-20 10:37:46 +01:00
Per Lidén
6744eb2b54 8234379: ZGC: Do not resize TALBs unless -XX:ResizeTLAB is enabled
Reviewed-by: eosterlund, tschatzl
2019-11-20 10:37:45 +01: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
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
Per Lidén
b7dcab5af0 8233793: ZGC: Incorrect type used in ZBarrierSetC2 clone_type()
Reviewed-by: eosterlund
2019-11-07 15:48:43 +01:00
Nils Eliasson
3b5b596f4b 8233783: Make 8232896 patch complete
Reviewed-by: pliden, kvn
2019-11-07 09:23:55 +01:00
Nils Eliasson
3ca7e3f6ff 8232896: ZGC: Enable C2 clone intrinsic
Reviewed-by: pliden, kvn
2019-10-31 17:16:36 +01: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
Stefan Karlsson
5e549ca805 8232604: ZGC: Make ZVerifyViews mapping and unmapping precise
Reviewed-by: pliden, eosterlund
2019-10-28 11:27:27 +01:00
Stefan Karlsson
ecb66d2c55 8232650: ZGC: Add initialization hooks for OS specific code
Reviewed-by: pliden, eosterlund
2019-10-28 11:26:53 +01:00
Stefan Karlsson
17a041119f 8232649: ZGC: Add callbacks to ZMemoryManager
Reviewed-by: pliden, eosterlund
2019-10-28 11:24:11 +01:00
Stefan Karlsson
8df718fa82 8232648: ZGC: Move ATTRIBUTE_ALIGNED to the front of declarations
Reviewed-by: pliden, eosterlund
2019-10-28 11:23:48 +01:00
Stefan Karlsson
06a479f965 8232602: ZGC: Make ZGranuleMap ZAddress agnostic
Reviewed-by: pliden, eosterlund
2019-10-28 11:23:28 +01:00
Stefan Karlsson
acf447e49e 8232601: ZGC: Parameterize the ZGranuleMap table size
Reviewed-by: pliden, eosterlund
2019-10-28 11:21:23 +01:00
Per Lidén
a8c4e6786d 8231552: ZGC: Refine address space reservation
Reviewed-by: eosterlund, stefank
2019-10-24 17:24:58 +02:00
Thomas Schatzl
5a21a8c4dd 8230706: Waiting on completion of strong nmethod processing causes long pause times with G1
Instead of globally waiting for completion of strong nmethod processing during evacuation, synchronize the nmethods processing on a per-nmethod basis so that only one thread processes one nmethod at once using a state. This state indicates what work (strong/weak processing) needs to be done and what has already been done.

Reviewed-by: sjohanss, kbarrett
2019-10-24 11:08:16 +02:00
Per Lidén
ee4c8f5f19 8232239: ZGC: Inline ZCPU::count() and ZCPU:id()
Reviewed-by: tschatzl
2019-10-21 09:58:32 +02:00
Per Lidén
cb5e226306 8232238: ZGC: Move ZList inline funtions to zList.inline.hpp
Reviewed-by: eosterlund
2019-10-21 09:58:07 +02:00
Per Lidén
b2ac9a5937 8232237: ZGC: Move ZArray inline funtions to zArray.inline.hpp
Reviewed-by: tschatzl
2019-10-21 09:57:26 +02:00
Per Lidén
6ca7febb54 8232236: ZGC: Move ZThread inline funtions to zThread.inline.hpp
Reviewed-by: tschatzl
2019-10-21 09:56:58 +02:00
Per Lidén
11d949f202 8232235: ZGC: Move ZValue inline funtions to zValue.inline.hpp
Reviewed-by: tschatzl
2019-10-21 09:56:43 +02:00