419 Commits

Author SHA1 Message Date
Nils Eliasson
3ca7e3f6ff 8232896: ZGC: Enable C2 clone intrinsic
Reviewed-by: pliden, kvn
2019-10-31 17:16:36 +01: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
Coleen Phillimore
e49e9292d3 8213150: Add verification for locking by VMThread
Extend verification for all locking not just VMOperations, and fix CLDG lock to not be taken by VM thread.

Reviewed-by: rehn, dholmes
2019-09-24 10:12:56 -04: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
Per Lidén
b053f09769 8231113: Remove CollectedHeap::check_oop_location()
Reviewed-by: stefank, eosterlund, tschatzl
2019-09-19 16:05:47 +02:00
Roman Kennke
5eb643144b 8231085: C2/GC: Better GC-interface for expanding clone
Reviewed-by: eosterlund
2019-09-18 20:56:18 +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
2d6874b861 8230841: Remove oopDesc::equals()
Reviewed-by: rkennke, tschatzl
2019-09-17 09:51:02 +02:00
Per Lidén
cb50d3b4f3 8230808: Remove Access::equals()
Reviewed-by: tschatzl, shade
2019-09-17 09:51:02 +02:00
Per Lidén
0848c76a66 8230796: Remove BarrierSet::oop_equals_operator_allowed()
Reviewed-by: tschatzl, shade
2019-09-17 09:51:02 +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
Leo Korinth
eafb888c18 8227168: Cleanup usage of NEW_C_HEAP_ARRAY
Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
2019-09-11 14:16:27 +02:00
Evgeny Mandrikov
51b0eab330 8207800: always_do_update_barrier is unused
Reviewed-by: shade, tschatzl
2019-09-10 07:42:04 +02:00
Kim Barrett
8b67b75f50 8221361: Eliminate two-phase initialization for PtrQueueSet classes
Move allocator and CBL monitor init to constructor.

Reviewed-by: tschatzl, shade
2019-09-09 16:54:48 -04:00
Stefan Karlsson
7384f6cdcf 8224599: Remove globals_ext.hpp
Reviewed-by: coleenp, kvn, gziemski, ehelin
2019-09-04 11:05:20 +02:00
David Holmes
394d6ac55b 8230422: Convert uninterruptible os::sleep calls to os::naked_short_sleep
Reviewed-by: kbarrett, dcubed, shade
2019-09-07 18:48:57 -04: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
Stefan Johansson
bb63558420 8230431: Move G1 trace code from gcTrace* to G1 directory
Reviewed-by: kbarrett, lkorinth
2019-09-04 09:47:51 +02:00
Martin Doerr
e77e5da785 8229422: Taskqueue: Outdated selection of weak memory model platforms
Reviewed-by: tschatzl, dholmes, drwhite
2019-08-12 19:20:12 +02:00
Matthias Baesken
b7821ad399 8224214: [AIX] Remove support for legacy xlc compiler
Reviewed-by: erikj, kbarrett, mdoerr, dholmes
2019-08-30 09:37:41 +02:00
Antonios Printezis
448e003050 8227224: GenCollectedHeap: add subspace transitions for young gen for gc+heap=info log lines
Reviewed-by: kbarrett, tschatzl
2019-08-30 14:58:40 -04: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
Aleksey Shipilev
702199983a 8230118: 32-bit build failures after JDK-8227054
Reviewed-by: zgu, kbarrett
2019-08-27 19:22:58 +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
Per Lidén
1801dd06b0 8229127: Make some methods in the allocation path non-virtual
Reviewed-by: eosterlund
2019-08-23 08:48:27 +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
Stefan Karlsson
ebf98ac78c 8229839: Break circular dependency between oop.inline.hpp and markWord.inline.hpp
Reviewed-by: pliden, tonyp
2019-08-19 12:40:27 +02:00
Stefan Karlsson
a3d6be2b2d 8229838: Rename markOop files to markWord
Reviewed-by: dholmes, rehn
2019-08-19 11:30:03 +02:00
Poonam Bajaj
a073e1261b 8229420: [Redo] jstat reports incorrect values for OU for CMS GC
Reviewed-by: tschatzl, sgehwolf
2019-08-16 18:06:51 +00:00
Stefan Karlsson
ae5615c614 8229258: Rework markOop and markOopDesc into a simpler mark word value carrier
Reviewed-by: rkennke, coleenp, kbarrett, dcubed
2019-08-06 10:48:21 +02:00
Leo Korinth
f075a3278b 8224666: Parallel GC: Use WorkGang (8: obsolete and remove flags)
Reviewed-by: stefank, kbarrett, tschatzl
2019-08-16 09:18:41 +02:00
Coleen Phillimore
d1ca6221a4 5103339: Strengthen NoSafepointVerifier
Add NSV check at possible safepoint transition or places that could take out locks.  Consolidate with clearing unhandled oops.

Reviewed-by: dholmes, rehn
2019-08-14 10:07:00 -04:00
Jesper Wilhelmsson
c11080efd9 Merge 2019-08-09 03:51:20 +02:00
Tobias Hartmann
976a5c6166 8229219: C2 compilation fails with assert: Bad graph detected in build_loop_late
Backed out JDK-8173196.

Reviewed-by: shade, rbackman
2019-08-08 07:05:17 +02:00
Jie Fu
854eeb238e 8229169: False failure of GenericTaskQueue::pop_local on architectures with weak memory model
Reviewed-by: mdoerr, kbarrett, tschatzl
2019-08-07 17:00:19 +08:00
Antonios Printezis
3f2a661b7e 8227225: ParallelGC: add subspace transitions for young gen for gc+heap=info log lines
Reviewed-by: tschatzl, kbarrett
2019-08-06 15:03:48 -04:00
Jie Fu
e33ff344e8 8229020: Failure on CPUs allowing loads reordering: assert(_tasks[t] == 1) failed: What else?
Reviewed-by: tschatzl, kbarrett
2019-08-03 09:04:04 +08:00
Kim Barrett
6d65b4fd25 8048556: Unnecessary GCLocker-initiated young GCs
Fixed recognition of unnecessary GCLocker collections.

Reviewed-by: pliden, tschatzl
2019-07-31 14:28:51 -04:00
Coleen Phillimore
9ad5641ce5 8228673: Remove develop flag StrictSafepointChecks
Reviewed-by: shade, dholmes
2019-07-31 06:37:13 -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
Kim Barrett
80ebfe9bba 8226796: Reduce debug level logging for oopstorage+blocks
Adjust logging levels based on expected volume of output.

Reviewed-by: tschatzl, pliden
2019-07-26 23:37:51 -04:00
Kim Barrett
b729cda18e 8228631: Fix inconsistent OopStorage::Block owner usage
Only use Block's owner member for address validation.

Reviewed-by: tschatzl, pliden
2019-07-26 20:15:13 -04:00
Zhengyu Gu
f2e1bfa38a 8227927: Move ParallelCleaningTask back to G1
Reviewed-by: tschatzl, kbarrett
2019-07-24 08:34:06 -04:00
Coleen Phillimore
d9c3c6f9bf 8228484: Remove NoAllocVerifier because nothing uses it
Reviewed-by: hseigel, kbarrett
2019-07-23 13:56:41 -04:00
Kim Barrett
4b3c528140 8162929: Enqueuing dirty cards into a single DCQS during GC does not scale
Refactor into G1RedirtyCardsQueue[Set] and G1DirtyCardQueueSet

Reviewed-by: tschatzl, sangheki
2019-07-19 16:47:11 -04: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
Coleen Phillimore
d35c1540e6 8227766: CheckUnhandledOops is broken in MemAllocator
Save oop created in handle more eagerly, so CheckUnhandledOops doesn't bash it.

Reviewed-by: lfoltan, eosterlund
2019-07-18 07:06:33 -04:00