240 Commits

Author SHA1 Message Date
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
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