543 Commits

Author SHA1 Message Date
Ziyi Luo
9a88048a05 8246274: G1 old gen allocation tracking is not in a separate class
Add G1OldGenAllocationTracker

Reviewed-by: tschatzl, phh
2020-06-04 13:25:33 -07:00
Stefan Karlsson
b5678a43cc 8246258: Enable hs_err heap printing earlier during initialization
Reviewed-by: stuefe, sjohanss
2020-06-02 09:57:35 +02:00
Tobias Hartmann
f822eed55c 8245957: Remove unused LIR_OpBranch::type after SPARC port removal
Removed LIR_OpBranch::type after the only remaining usage was removed with the SPARC port removal.

Reviewed-by: kvn, mdoerr
2020-06-02 09:57:57 +02:00
Coleen Phillimore
5314d28f84 8245289: Clean up offset code in JavaClasses
Make offset member names consistent and private, move static initializations near owning classes

Reviewed-by: fparain, lfoltan
2020-05-29 15:00:19 -04:00
Stefan Johansson
6e1403480a 8245724: Move g1 periodic gc logging to G1InitLogger
Reviewed-by: kbarrett, tschatzl
2020-05-27 11:48:33 +02:00
Thomas Schatzl
035d5dffb1 8245088: Always provide logs for G1 heap expansion calculations
Reviewed-by: sjohanss, kbarrett
2020-05-26 09:25:23 +02:00
Thomas Schatzl
bf1f78b9f0 8245087: Use ratios instead of percentages in G1HeapSizingPolicy::expansion_amount
Reviewed-by: kbarrett, sjohanss
2020-05-26 09:25:23 +02:00
Thomas Schatzl
47be3b098e 8245086: G1: Rename measured pause time ratios
Reviewed-by: sjohanss, kbarrett
2020-05-26 09:25:21 +02:00
Stefan Johansson
371a663180 8244817: Add configuration logging similar to ZGCs to other GCs
Reviewed-by: kbarrett, pliden, shade
2020-05-26 09:18:13 +02:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Kim Barrett
5b3c33ac67 8245022: ParallelGC abuses StarTask to also include partial objarray scan tasks
Change ParallelGC young collections to use ScannerTasks.

Reviewed-by: tschatzl, sjohanss
2020-05-20 17:21:16 -04:00
Kim Barrett
e9b8463d3d 8245236: Remove MO_VOLATILE Access decorator
Use MO_RELAXED instead of MO_VOLATILE and removed MO_VOLATILE.

Reviewed-by: stefank, tschatzl
2020-05-20 02:02:48 -04:00
Kim Barrett
1856ff8913 8244684: G1 abuses StarTask to also include partial objarray scan tasks
New ScannerTask and PartialArrayScanTask, initially used by G1

Reviewed-by: tschatzl, sjohanss
2020-05-14 08:24:36 -04:00
Ioi Lam
92d1c4a61a 8244775: Remove unnecessary dependency to jfrEvents.hpp
Reviewed-by: kbarrett, kvn
2020-05-13 10:56:51 -07:00
Thomas Schatzl
9651edd247 8244815: Always log MMU information in G1
Reviewed-by: sjohanss, kbarrett
2020-05-13 12:47:49 +02:00
Thomas Schatzl
0dab181993 8244714: G1 young gen sizer allows zero young gen with huge -XX:NewRatio
Reviewed-by: sjohanss
2020-05-13 12:47:07 +02:00
Stefan Johansson
cbfcae7746 8233439: G1 zero_filled optimization when committing CardCountsTable does not work
Reviewed-by: tschatzl, kbarrett
2020-05-04 15:05:38 +02:00
Kim Barrett
478773c102 8243326: Cleanup use of volatile in taskqueue code
Removed volatile on queue elements, cleaned up other uses, made atomics explicit.

Reviewed-by: tschatzl, iwalulya
2020-04-14 02:25:19 -04:00
Kim Barrett
538e005813 8242459: ForceNUMA and only one available NUMA node hits a guarantee
Fix some asserts to handle the single-NUMA node + ForceNUMA case.

Reviewed-by: sjohanss, tschatzl
2020-04-28 03:02:21 -04:00
Stefan Johansson
04c6d13322 8241153: Refactor HeapRegionManager::find_unavailable_from_idx to simplify expand_at
Reviewed-by: tschatzl, sangheki
2020-04-24 14:39:20 +02:00
Kim Barrett
4694da31f8 8242078: G1: Improve concurrent refinement analytics and logging
Unify data collection and reporting.

Reviewed-by: tschatzl, sjohanss
2020-04-14 17:31:53 -04:00
Stefan Johansson
b18e006b55 8242448: Change HeapRegionManager::guarantee_contiguous_range to be assert_contiguous_range
Reviewed-by: tschatzl, kbarrett
2020-04-14 15:18:22 +02:00
Claes Redestad
36f22938ed 8241920: G1: Lazily initialize OtherRegionsTable::_coarse_map
Reviewed-by: tschatzl, eosterlund
2020-04-09 14:59:11 +02:00
Claes Redestad
cdfe841d3d 8242038: G1: Lazily initialize RSHashTables
Reviewed-by: kbarrett, sjohanss, tschatzl
2020-04-09 13:04:10 +02:00
Stefan Johansson
52ea4802f1 8241141: Restructure humongous object allocation in G1
Reviewed-by: tschatzl, kbarrett
2020-04-08 18:38:31 +02:00
Stefan Johansson
80b8644499 8241670: Enhance heap region size ergonomics to improve OOTB performance
Reviewed-by: redestad, tschatzl
2020-04-02 21:33:57 +02:00
Claes Redestad
b31bea8a99 8241830: Simplify commit error messages in G1PageBasedVirtualSpace
Reviewed-by: sjohanss, lkorinth, kbarrett
2020-03-31 16:09:26 +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
Claes Redestad
253ccad50a 8241771: Remove dead code in SparsePRT
Reviewed-by: sjohanss, tschatzl
2020-03-28 21:08:32 +01:00
Thomas Schatzl
7048684ca7 8238855: Move G1ConcurrentMark flag sanity checks to g1Arguments
Reviewed-by: sjohanss, kbarrett
2020-03-27 09:44:53 +01:00
Thomas Schatzl
cc83c45595 8240590: Add MemRegion::destroy_array to complement introduced create_array
Reviewed-by: lkorinth, sjohanss
2020-03-20 11:17:45 +01:00
Kim Barrett
b8a2b201b5 8139652: Mutator refinement processing should take the oldest dirty card buffer
Changed mutator refinement to take from queue rather than in-place and reuse.

Reviewed-by: tschatzl, sjohanss
2020-03-19 18:11:52 -04:00
Kim Barrett
6ead90568f 8239825: G1: Simplify threshold test for mutator refinement
Compute refinement threshold when values change, not on each use.

Reviewed-by: tschatzl, sangheki
2020-03-13 15:36:50 -04:00
Aditya Mandaleeka
5ed80778bc 8231668: Remove ForceDynamicNumberOfGCThreads
Reviewed-by: shade, tschatzl
2020-03-13 13:22:39 +01:00
Ivan Walulya
5a68ba1339 8240591: G1HeapSizingPolicy attempts to compute expansion_amount even when at full capacity
Reviewed-by: sjohanss, tschatzl
2020-03-13 11:54:47 +01:00
Ivan Walulya
d49eb0d9a7 8240668: G1 list of all PerRegionTable does not have to be a double linkedlist any more
Reviewed-by: kbarrett, tschatzl
2020-03-10 10:19:34 +01:00
Kim Barrett
1c1fb44ac1 8240722: [BACKOUT] G1DirtyCardQueue destructor has useless flush
Backout JDK-8240133

Reviewed-by: sjohanss
2020-03-09 04:06:37 -04:00
Kim Barrett
7806ca1477 8240133: G1DirtyCardQueue destructor has useless flush
Removed useless call to flush.

Reviewed-by: tschatzl, sjohanss
2020-03-08 17:33:48 -04:00
Kim Barrett
9f334a1640 8240239: Replace ConcurrentGCPhaseManager
Replace ConcurrentGCPhaseManager with ConcurrentGCBreakpoints

Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: kbarrett, pliden, sangheki
2020-03-06 18:42:13 -05:00
Ivan Walulya
f0cd9dd5c4 8240592: HeapRegionManager::rebuild_free_list logs 0s for the estimated free regions before
Reviewed-by: sjohanss, kbarrett
2020-03-06 14:10:41 +01:00
Ivan Walulya
25d2db06c4 8240589: OtherRegionsTable::_num_occupied not updated correctly
Reviewed-by: tschatzl, sjohanss
2020-03-06 11:40:03 +01:00
Kim Barrett
257de28b2c 8238979: Improve G1DirtyCardQueueSet handling of previously paused buffers
Move enqueuing of previously paused buffers.

Reviewed-by: sangheki, sjohanss
2020-02-26 14:36:01 -05:00
Thomas Schatzl
28c630046e 8238999: Remove MemRegion custom new/delete operator overloads
Reviewed-by: kbarrett, jiangli, iklam
2020-02-18 10:59:38 +01:00
Stefan Karlsson
e4b27a48a0 8183574: Unify the is_power_of_2 functions
Reviewed-by: kbarrett, redestad
2020-02-17 10:03:17 +01:00
Kim Barrett
087074334d 8238867: Improve G1DirtyCardQueueSet::Queue::pop
Allow one of competing pops for last element to succeed.

Reviewed-by: iwalulya, sjohanss
2020-02-13 15:16:50 -05:00
Thomas Schatzl
78f58c3e39 8238854: Remove superfluous C heap allocation failure checks
Reviewed-by: kbarrett, sjohanss
2020-02-13 11:00:40 +01:00
Kim Barrett
ccbd819a01 8237143: Eliminate DirtyCardQ_cbl_mon
Replace locked data structures with lock-free data structures.

Reviewed-by: tschatzl, sangheki
2020-02-06 19:09:07 -05:00
Thomas Schatzl
358c56bb8b 8238229: Remove TRACESPINNING debug code
Reviewed-by: kbarrett, sjohanss
2020-02-03 10:45:46 +01:00
Thomas Schatzl
77ad678fce 8238220: Rename OWSTTaskTerminator to TaskTerminator
Reviewed-by: sjohanss, sangheki
2020-02-03 10:45:44 +01:00
Thomas Schatzl
76675e93cf 8215297: Remove ParallelTaskTerminator
Remove ParallelTaskTerminator as the alternate OWSTTaskTerminator algorithm has worked well for more than a year now.

Reviewed-by: zgu, sjohanss
2020-02-03 10:45:43 +01:00