Commit Graph

76 Commits

Author SHA1 Message Date
Coleen Phillimore
c1281e6b45 8324678: Replace NULL with nullptr in HotSpot gtests
Reviewed-by: kbarrett, dholmes, jwaters
2024-01-29 17:12:13 +00:00
Aleksey Shipilev
dd517c6404 8237842: Separate definitions for default cache line and padding sizes
Reviewed-by: stefank, kvn, stuefe, tschatzl
2024-01-04 08:39:50 +00:00
Thomas Stuefe
abf2e49097 8320859: gtest high malloc footprint caused by BufferNodeAllocator stress test
Reviewed-by: ayang, kbarrett
2023-11-29 13:18:31 +00:00
Kim Barrett
1e76ba0cd0 8319439: Move BufferNode from PtrQueue files to new files
Reviewed-by: tschatzl, iwalulya
2023-11-15 01:09:09 +00:00
Xin Liu
febc34dd28 8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Reviewed-by: jiefu, stuefe
2023-08-19 17:42:30 +00:00
Thomas Schatzl
c23794f882 8308633: Increase precision of timestamps in g1 log
Reviewed-by: ayang, kbarrett
2023-06-26 07:51:22 +00:00
Kim Barrett
181845ae46 8309899: Rename PtrQueueSet::buffer_size()
Reviewed-by: tschatzl, ayang
2023-06-14 22:01:44 +00:00
Justin King
4c1e66e0ab 8299971: Remove metaprogramming/conditional.hpp
Reviewed-by: tschatzl, kbarrett
2023-01-16 19:28:25 +00:00
Kim Barrett
3e2314d082 8299254: Support dealing with standard assert macro
Reviewed-by: erikj, xuelei, dholmes, mikael
2023-01-05 19:49:01 +00:00
Stefan Karlsson
df6cf1e41d 8296886: Fix various include sort order issues
Reviewed-by: kbarrett, dholmes, stuefe
2022-11-24 15:06:19 +00:00
Kim Barrett
94a9b048af 8295013: OopStorage should derive from CHeapObjBase
Reviewed-by: stefank, tschatzl
2022-10-11 23:17:31 +00:00
Albert Mingkun Yang
8daf08dbc4 8286628: Remove unused BufferNode::Allocator::flush_free_list
Reviewed-by: kbarrett, tschatzl
2022-05-13 11:59:23 +00:00
Albert Mingkun Yang
89de756ffb 8286387: Remove unused FreeListAllocator::reduce_free_list
Reviewed-by: kbarrett, tschatzl
2022-05-11 15:06:14 +00:00
Ivan Walulya
341c8bd7f2 8267834: Refactor G1CardSetAllocator and BufferNode::Allocator to use a common base class
Reviewed-by: kbarrett, tschatzl
2022-03-01 14:14:47 +00:00
Albert Mingkun Yang
3f41fdecdb 8279063: Consolidate push and push_if_necessary in PreservedMarks
Reviewed-by: rkennke, mli, tschatzl
2021-12-22 13:44:20 +00:00
Per Liden
54b8870766 8275035: Clean up worker thread infrastructure
Reviewed-by: stefank, ayang
2021-10-14 14:05:36 +00:00
Kim Barrett
c80a612709 8273381: Assert in PtrQueueBufferAllocatorTest.stress_free_list_allocator_vm
Reviewed-by: sjohanss, tschatzl
2021-10-06 11:14:26 +00:00
Per Liden
3884580591 8273597: Rectify Thread::is_ConcurrentGC_thread()
Reviewed-by: stefank, coleenp
2021-09-14 10:28:31 +00:00
Per Liden
185eacacdd 8273545: Remove Thread::is_GC_task_thread()
Reviewed-by: stefank, coleenp, shade
2021-09-09 19:19:39 +00:00
Patricio Chilano Mateo
2fd7943ec1 8256425: Obsolete Biased Locking in JDK 18
Reviewed-by: kvn, dholmes, dcubed, rrich
2021-06-24 18:54:41 +00:00
Thomas Stuefe
da7c846a8c 8264408: test_oopStorage no longer needs to disable some tests on WIN32
Reviewed-by: shade, tschatzl
2021-05-18 08:52:39 +00:00
Thomas Schatzl
14f0afe811 8214237: Join parallel phases post evacuation
Reviewed-by: iwalulya, sjohanss
2021-05-07 11:38:29 +00:00
Kim Barrett
22b20f8e92 8264424: Support OopStorage bulk allocation
Reviewed-by: ayang, tschatzl
2021-04-07 19:43:19 +00:00
Kim Barrett
bb354b9d1c 8264166: OopStorage should support specifying MEMFLAGS for allocations
Reviewed-by: tschatzl, stefank
2021-03-26 07:44:22 +00:00
Ioi Lam
82028e70d1 8260012: Reduce inclusion of collectedHeap.hpp and heapInspection.hpp
Reviewed-by: stefank, tschatzl
2021-02-04 04:05:33 +00:00
Kim Barrett
7ed8ba1ca0 8256814: WeakProcessorPhases may be redundant
Remove WeakProcessorPhase, adding scoped enum categories to OopStorageSet.

Reviewed-by: stefank, tschatzl, rkennke
2021-01-22 13:12:39 +00:00
Aditya Mandaleeka
e63b90cc17 8251358: Clean up Access configuration after Shenandoah barrier change
Reviewed-by: eosterlund, rkennke, shade
2020-09-29 07:25:08 +00:00
Kim Barrett
0e98fc1ccd 8253237: [REDO] Improve large object handling during evacuation
8253238: [REDO] Improve object array chunking test in G1's copy_to_survivor_space
8253236: [REDO] Investigate fast-path for scanning only objects with references during gc

Generate multiple partial array tasks for large objArrays.

Reviewed-by: sjohanss, ayang, tschatzl
2020-09-22 05:14:06 +00:00
Kim Barrett
74851c507b 8253169: [BACKOUT] Improve large object handling during evacuation
Revert "8027545: Improve object array chunking test in G1's copy_to_survivor_space"
Revert "8158045: Improve large object handling during evacuation"
Revert "8027761: Investigate fast-path for scanning only objects with references during gc"

Reviewed-by: tschatzl, sjohanss
2020-09-15 14:33:04 +00:00
Kim Barrett
dafcf1056f 8027545: Improve object array chunking test in G1's copy_to_survivor_space
8158045: Improve large object handling during evacuation
8027761: Investigate fast-path for scanning only objects with references during gc

Generate multiple partial array tasks for large objArrays.

Reviewed-by: sjohanss, ayang, tschatzl
2020-09-15 12:18:24 +00:00
Kim Barrett
a8d6a05ce8 8248391: Unify handling of all OopStorage instances in weak root processing
OopStorage instance now owned by subsystems, and generalize dead entry notification

Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: coleenp, tschatzl
2020-07-16 17:41:14 -04:00
Patric Hedlin
195c45a0e1 8245226: Clean-up FlagSetting and remove misuse
Reviewed-by: neliasso, dholmes
2020-02-24 14:06:01 +01:00
Stefan Karlsson
46f86477ad 8248346: Move OopStorage mutex setup out from OopStorageSet
Reviewed-by: kbarrett, eosterlund
2020-06-29 23:17:50 +02:00
Thomas Schatzl
18cddad5a2 8247819: G1: Process strong OopStorage entries in parallel
Implement parallel processing of strong OopStorage entries for G1.

Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: kbarrett, stefank
2020-06-26 14:43:09 +02:00
Stefan Karlsson
16df851efd 8241160: Concurrent class unloading reports GCTraceTime events as JFR pause sub-phase events
Reviewed-by: eosterlund, kbarrett
2020-03-18 17:28:41 +01:00
Mikael Vidstedt
3318314c7c 8237589: Fix copyright header formatting
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Thomas Schatzl
70c62f537c 8235341: Improve WorkerDataArray API to disallow separate instantiation of sub-items
Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:59 +01:00
Thomas Schatzl
02dad379ee 8235346: [Redo] 8235247: WorkerDataArray leaks C heap memory for associated work items
Fix gtest after last iteration to acknowledge correct ownership of sub-WorkerDataArrays.

Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:57 +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
e527ce4b57 8234562: Move OrderAccess::release_store*/load_acquire to Atomic
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
David Holmes
99252bd9d6 8230423: Move os::sleep to JavaThread::sleep
Reviewed-by: rehn, dcubed
2019-09-11 22:09:05 -04: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
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
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
Stefan Karlsson
4914e0ee95 8224203: Remove need to specify type when using FLAG_SET macros
Reviewed-by: rehn, pliden, coleenp
2019-05-22 13:06:31 +02:00
Stefan Karlsson
c90f3ee68b 8223624: Cleanup includes of universe.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Stefan Karlsson
087c03a0c7 8198505: Remove CollectorPolicy and its subclasses
Reviewed-by: pliden, shade
2019-04-15 11:47:46 +02:00
Coleen Phillimore
fbafef11c0 8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.

Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Kim Barrett
5c83330cf8 8212826: Make PtrQueue free list lock-free
Add lock-free stack and use in BufferNode::Allocator.

Reviewed-by: tschatzl, sangheki
2019-01-19 19:50:01 -05:00