1863 Commits

Author SHA1 Message Date
Thomas Schatzl
cd9bd4ecc7 8196485: FromCardCache default card index can cause crashes
The default value of -1 for 32 bit card indices is a regular card value at the border of 2TB heap addresses in the from card cache, so G1 may loose remembered set entries. Extend from card cache entries to 64 bits.

Co-authored-by: Jarkko Miettinen <jarkko.miettinen@relex.fi>
Reviewed-by: shade, sjohanss
2018-03-26 16:51:43 +02:00
Thomas Schatzl
c30aef79df 8180415: Rebuild remembered sets during the concurrent cycle
In general maintain remembered sets of old regions only from the start of the concurrent cycle to the mixed gc they are used, at most until the end of the mixed phase.

Reviewed-by: sjohanss, sangheki
2018-03-26 16:51:43 +02:00
Thomas Schatzl
28fb5548de 8197850: Calculate liveness in regions during marking
Reviewed-by: sjohanss, sangheki
2018-03-26 16:51:43 +02:00
Thomas Schatzl
2d8f351636 8197570: Make rules for choosing collection set candidates more explicit
Reviewed-by: sangheki, sjohanss
2018-03-26 16:51:43 +02:00
Thomas Schatzl
af7d8f0d69 8197569: Refactor eager reclaim for concurrent remembered set rebuilding
Expose information about eager reclaim region selection.

Reviewed-by: sjohanss, sangheki
2018-03-26 16:51:41 +02:00
Coleen Phillimore
f8ee0063b1 8199007: ClassLoaderDataGraph::unload_list_contains() is wrong
The function isn't needed any longer.

Reviewed-by: stuefe, stefank
2018-03-26 10:19:31 -04:00
Per Lidén
7b568da79b 8199850: Move parsing of VerifyGCType to G1
Reviewed-by: sjohanss, tschatzl
2018-03-26 12:44:39 +02:00
Leo Korinth
9ccbbb67b3 8196865: G1 log for active workers is wrong
Reviewed-by: tschatzl, sjohanss
2018-03-23 16:25:47 +01:00
Stefan Karlsson
1a1aecd166 8200106: Move NoSafepointVerifier out from gcLocker.hpp
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Stefan Karlsson
7595845e9a 8200105: Remove cyclic dependency between oop.inline.hpp and collectedHeap.inline.hpp
Reviewed-by: coleenp, kbarrett
2018-03-15 21:29:36 +01:00
Stefan Karlsson
f89abe4589 8199946: Move load/store and encode/decode out of oopDesc
Reviewed-by: eosterlund, coleenp, tschatzl
2018-03-15 21:24:10 +01:00
Erik Österlund
b7aa9d3975 8198949: Modularize arraycopy stub routine GC barriers
Reviewed-by: rkennke, pliden
2018-03-21 14:38:32 +01:00
Erik Helin
383a921aac 8199027: Make protected members private in G1Policy
Reviewed-by: sjohanss, tschatzl
2018-03-21 12:47:46 +01:00
Per Lidén
68345b93ad 8199886: gc/cslocker/TestCSLocker.java crashes
Reviewed-by: rkennke, kbarrett
2018-03-20 22:22:02 +01:00
Roman Kennke
0df6b5baee 8199620: Support for JNI object pinning
Reviewed-by: pliden, tschatzl, eosterlund
2018-03-20 15:59:36 +01:00
Jini George
9d036d6dd2 8175312: SA: clhsdb: Provide an improved heap summary for 'universe' for G1GC
Provide an improved heap summary for G1GC with parameters like 'capacity', 'used', 'free', etc with the 'universe' command, and introduce a new command 'g1regiondetails' to display the individual region details.

Reviewed-by: sjohanss, minqi
2018-03-20 11:24:32 +05:30
Erik Österlund
0f92948d6f 8199604: Rename CardTableModRefBS to CardTableBarrierSet
Reviewed-by: stefank, pliden
2018-03-19 07:38:18 +01:00
Coleen Phillimore
fde89a34d0 8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files

Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Coleen Phillimore
ec14629449 8199716: Unused AdjustKlassClosure in psParallelCompact.hpp
Reviewed-by: stefank
2018-03-16 08:26:53 -04:00
Stefan Johansson
337673528e 8199674: Improve G1 Full GC array marking
Reviewed-by: tschatzl, shade
2018-03-15 11:58:58 +01:00
Thomas Schatzl
697538d0a9 8199516: Remove dead code overlooked during Full GC work
Reviewed-by: sangheki, sjohanss
2018-03-14 14:09:33 +01:00
Coleen Phillimore
394e34d821 8199282: Remove ValueObj class for allocation subclassing for gc code
Reviewed-by: stefank, kbarrett
2018-03-14 07:27:19 -04:00
David Holmes
6c9998844b Merge 2018-03-14 07:07:18 -04:00
Ed Nevill
828e824a0f 8199220: Zero build broken after 8195103, 8191102 and 8189871
Reviewed-by: dholmes, stuefe, eosterlund, glaubitz, coleenp
2018-03-13 18:22:53 +00:00
Roman Kennke
147488cbce 8198445: Access API for primitive/native arraycopy
Reviewed-by: pliden, eosterlund, dholmes
2018-03-13 17:13:35 +01:00
Thomas Stuefe
da674f0d0d 8199430: Rename MetaspaceAux to something more meaningful
Reviewed-by: zgu, coleenp
2018-03-11 07:11:03 +01:00
Yasumasa Suenaga
fcb1520305 8153333: [REDO] STW phases at Concurrent GC should count in PerfCounte
Reviewed-by: sjohanss, tschatzl
2018-03-09 23:13:37 +09:00
Erik Helin
f82bcaba53 8197852: Move G1DefaultPolicy into G1Policy
Reviewed-by: sjohanss, tschatzl
2018-03-12 09:46:12 +01:00
Erik Helin
779fef0b10 8199024: Remove unneccessary protected and virtual modifiers from G1CollectedHeap
Reviewed-by: kbarrett, stuefe
2018-03-12 08:16:48 +01:00
Stefan Karlsson
d42acfd37b 8199319: Remove handles.inline.hpp include from reflectionUtils.hpp
Reviewed-by: hseigel, dholmes
2018-03-08 19:10:25 +01:00
Stefan Karlsson
b9f2f3e199 8199275: Fix inclusions of allocation.inline.hpp
Reviewed-by: coleenp, kbarrett, dholmes
2018-03-08 09:56:29 +01:00
Stefan Karlsson
133faf856d 8199264: Remove universe.inline.hpp to simplify include dependencies
Reviewed-by: coleenp, hseigel
2018-03-07 21:57:36 +01:00
Erik Österlund
a06129a432 8195148: Collapse G1SATBCardTableModRefBS and G1SATBCardTableLoggingModRefBS into a single G1BarrierSet
Reviewed-by: ehelin, kbarrett
2018-03-06 08:36:44 +01:00
Thomas Schatzl
963ee1591a 8198546: [Redo] JDK-8196883 G1RemSet::refine_card_concurrently doesn't need to check for cards in collection set
Remove code related to collection set checking in that method.

Reviewed-by: eosterlund, ehelin, kbarrett
2018-03-06 13:08:59 +01:00
Erik Helin
7b64b02949 8197845: Remove unnecessary method G1CollectedHeap::create_g1_policy
Reviewed-by: tschatzl, sjohanss
2018-03-05 13:07:04 +01:00
Erik Helin
6fb24f87da 8197847: Remove unused file g1ParScanThreadState_ext.cpp
Reviewed-by: sjohanss, eosterlund
2018-03-05 11:32:17 +01:00
Erik Helin
4bb76c1b78 8197843: Remove unused method G1EvacuationRootClosures::create_root_closures_ext
Reviewed-by: sjohanss, eosterlund
2018-03-05 11:16:23 +01:00
Kim Barrett
d1bd39385f 8196876: OopStorage::assert_at_safepoint clashes with assert_at_safepoint macros in g1CollectedHeap.hpp
Add shared safepoint state assertion macros.

Reviewed-by: coleenp, eosterlund
2018-03-03 23:56:08 -05:00
Jesper Wilhelmsson
8f1e5bc574 Merge 2018-03-02 21:00:12 +01:00
Erik Helin
a25238147d 8198948: Remove unused parameter evacuation_info from G1CollectedHeap::evacuate_collection_set
Reviewed-by: sjohanss, eosterlund
2018-03-02 14:47:52 +01:00
Erik Österlund
fc389b5284 8198896: Remove dead code: cardTableModRefBSForCTRS.hpp
Reviewed-by: pliden, kbarrett
2018-03-02 10:51:53 +01:00
Stefan Johansson
bacf4db5bd 8198424: Remove G1AllocationContext
Reviewed-by: ehelin, tschatzl
2018-03-02 10:09:08 +01:00
Stefan Johansson
dbbba4c4bc 8198431: Remove G1FullCollector extension point
Reviewed-by: ehelin, tschatzl
2018-03-02 10:09:02 +01:00
Stefan Johansson
f5891500fd 8198430: Remove G1Allocator extension point
Reviewed-by: ehelin, tschatzl
2018-03-02 10:09:01 +01:00
Lana Steuck
3e7c7c6cdf Merge 2018-02-28 21:21:11 +00:00
Stefan Johansson
38dcf9fdf1 8198420: Remove unused extension point AllocationContextStats
Reviewed-by: ehelin, tschatzl
2018-02-23 09:38:33 +01:00
Stefan Karlsson
3ad60c1bd2 8198530: Move _gc_policy_counters from GenCollectorPolicy to GenCollectedHeap
Reviewed-by: kbarrett, sjohanss
2018-02-22 18:37:48 +01:00
Stefan Karlsson
5671589a10 8198528: Move GenerationSpecs from GenCollectorPolicy to GenCollectedHeap
Reviewed-by: pliden, sjohanss, kbarrett
2018-02-22 18:37:23 +01:00
Stefan Karlsson
5f4f3883d8 8198525: Move _size_policy out of GenCollectorPolicy into GenCollectedHeap
Reviewed-by: pliden, sjohanss
2018-02-22 18:36:32 +01:00
Stefan Karlsson
f408526f30 8198515: Extract SoftReferencePolicy code out of CollectorPolicy
Reviewed-by: pliden, sjohanss
2018-02-22 18:36:07 +01:00