267 Commits

Author SHA1 Message Date
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
Per Lidén
cf86d3519c 8231996: ZGC: Replace ZStatisticsForceTrace with check if JFR event is enabled
Reviewed-by: eosterlund
2019-10-21 09:55:58 +02:00
Per Lidén
2e1040e4c6 8231940: ZGC: Print correct low/high capacity
Reviewed-by: eosterlund
2019-10-21 09:55:48 +02:00
Per Lidén
f751808df9 8232001: ZGC: Ignore metaspace GC threshold until GC is warm
Reviewed-by: eosterlund
2019-10-21 09:51:24 +02:00
Erik Österlund
1a0e073932 8232116: ZGC: Remove redundant ZLock in ZNMethodTable
Reviewed-by: stefank, pliden
2019-10-11 13:07:21 +00:00
Per Lidén
e598c94852 8232070: ZGC: Remove unused ZVerifyLoadBarriers
Reviewed-by: tschatzl
2019-10-11 10:16:35 +02:00
Erik Österlund
42885307f6 8230565: ZGC: Redesign C2 load barrier to expand on the MachNode level
Co-authored-by: Per Liden <per.liden@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Reviewed-by: pliden, stefank, neliasso
2019-10-09 12:30:06 +00:00
Per Lidén
0009f8a51f 8231825: ZGC: Remove ZMaxHeapSize and ZMaxHeapSizeShift
Reviewed-by: tschatzl, eosterlund
2019-10-07 07:53:38 +02:00
Erik Österlund
c1865c4ad3 8219724: ZGC: Make inline cache cleaning more robust
Reviewed-by: pliden
2019-09-26 10:00:07 +00:00
Per Lidén
f740058c3d 8231270: ZGC: Remove ZAddressSpace* and ZAddressReserved*
Reviewed-by: stefank, eosterlund
2019-09-24 17:08:19 +02:00
Per Lidén
68f811cd61 8231266: ZGC: Minor cleanups in ZCollectedHeap and ZHeap
Reviewed-by: stefank, eosterlund
2019-09-24 17:08:18 +02:00
Per Lidén
07144b3299 8231251: ZGC: Fix ZHeap includes
Reviewed-by: stefank, eosterlund
2019-09-24 17:08:18 +02:00
Erik Österlund
13d0bac294 8224820: ZGC: Support discontiguous heap reservations
Reviewed-by: pliden, stefank
2019-09-24 10:04:13 +00:00
Lois Foltan
0c507f3180 8230505: Replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type
Consistently use is_reference_type when comparing type for T_OBJECT or T_ARRAY.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dlong, coleenp, hseigel
2019-09-23 14:49:04 -04:00