59 Commits

Author SHA1 Message Date
Kim Barrett
4500c7fac8 8139341: Hide ExtendedOopClosure::_ref_processor
Make ExtendedOopClosure::_ref_processor private.

Reviewed-by: mgerdin, sjohanss
2015-10-16 14:55:09 -04:00
David Lindholm
a7d89b56a8 8139434: Unify GenRemSet and CardTableRS
Reviewed-by: jwilhelm, mgerdin
2015-10-14 09:33:45 +02:00
David Lindholm
77021edbd0 8139506: Remove the WaterMark class
Reviewed-by: stefank, mgerdin
2015-10-13 14:07:05 +02:00
Bengt Rutisson
b266f13f2c 8139293: TestGCEventMixedWithG1ConcurrentMark.java fails after JDK-8134953
Reviewed-by: ecaspole, jwilhelm
2015-10-09 20:31:56 +02:00
Bengt Rutisson
dbdf722879 8138717: TestGCEventMixedWithG1ConcurrentMark.java fails
Reviewed-by: jwilhelm, david
2015-10-08 12:44:12 +02:00
Per Lidén
be4747bc4d 8138846: Remove unused enum ConcurrentGCThread::CGC_flag_type
Reviewed-by: jwilhelm, brutisso
2015-10-06 08:05:11 +02:00
Bengt Rutisson
003892f897 8134953: Make the GC ID available in a central place
Reviewed-by: pliden, jmasa
2015-09-30 09:07:21 +02:00
David Lindholm
1e71f67736 8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Bengt Rutisson
d3651ac249 8136991: [REDO] Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: kbarrett, tschatzl
2015-09-28 09:28:53 +02:00
Kim Barrett
b78e96713b 8136627: Backout JDK-8133818 Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: brutisso
2015-09-16 16:25:02 +02:00
Jon Masamitsu
807c69046a 8081629: CMS split_block() does not correctly fix up block-offset-table for large blocks
Reviewed-by: tschatzl, ysr
2015-05-25 19:26:23 -07:00
Mikael Gerdin
2dbd4dd578 8135152: Create a G1ParScanThreadStateSet class for managing G1 GC per thread states
Reviewed-by: tschatzl, ehelin
2015-09-09 10:34:22 +02:00
Kim Barrett
802664728f 8134797: Remove explicit casts in CollectorPolicy hierarchy
Removed the explicit casts.

Reviewed-by: jwilhelm, tschatzl, pliden
2015-09-08 16:00:34 -04:00
Jesper Wilhelmsson
49fb91407d 8134626: Misc cleanups after generation array removal
Reviewed-by: david, dholmes, tschatzl
2015-08-18 21:32:21 +02:00
Kim Barrett
8ebc8387ba 8134806: Clean up write_ref_field_work
Remove unnecessary pure virtual decl and default argument values.

Reviewed-by: jwilhelm, tbenson, jmasa
2015-09-02 11:41:42 -04:00
Thomas Schatzl
f55b656f2d Merge 2015-09-02 16:16:58 +02:00
Y. Srinivas Ramakrishna
62ccb0305a 8133818: Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Test contributed by brutisso

Reviewed-by: tonyp, tschatzl
2015-09-02 11:56:10 +02:00
Staffan Friberg
96823ab211 8066443: Add G1 support for promotion event
Reviewed-by: tschatzl
2015-09-02 09:51:05 +02:00
Stefan Johansson
dada9bc32c 8129417: Oop iteration clean-up to remove oop_ms_follow_contents
Reviewed-by: pliden, ehelin
2015-09-02 09:14:04 +02:00
Per Lidén
ee626f77ab 8134738: Remove CollectorPolicy::Name
Reviewed-by: brutisso, mgerdin
2015-09-01 13:13:19 +02:00
Kim Barrett
15196341a5 8131330: G1CollectedHeap::verify_dirty_young_list fails with assert
Use assembly loop to avoid compiler optimization into memset

Reviewed-by: ecaspole, tschatzl
2015-08-31 13:06:01 -04:00
Kim Barrett
7706e36194 8072817: CardTableExtension kind() should be BarrierSet::CardTableExtension
Use BarrierSet::CardTableForRS where needed, and update concrete bs tags.

Reviewed-by: jwilhelm, jmasa
2015-08-18 17:48:35 -04:00
Thomas Schatzl
c91c77abd2 8067339: PLAB reallocation might result in failure to allocate object in that recently allocated PLAB
Properly size the PLAB to make sure that the object to allocate always has enough space in it.

Reviewed-by: mgerdin, brutisso
2015-08-20 15:17:43 +02:00
Thomas Schatzl
4a849fb21c 8133530: Add JFR event for evacuation statistics
Introduce two new JFR events for young/old generation allocation statistics based on previous changes.

Reviewed-by: ehelin, mgerdin
2015-08-20 15:17:41 +02:00
Thomas Schatzl
0ade675b8b 8073013: Add detailed information about PLAB memory usage
Track and provide information about direct allocation, region end waste and failure waste for G1.

Reviewed-by: jmasa, david, ehelin, mgerdin
2015-08-19 13:59:39 +02:00
Thomas Schatzl
43a6ce61de 8133470: Uses of Atomic methods in plab.hpp should be moved to .inline.hpp file
Fix include file dependencies according to general guidelines for plab.hpp

Reviewed-by: ehelin, mgerdin
2015-08-19 13:50:50 +02:00
David Lindholm
4445cbb273 8133553: Running with -XX:+UseParallelGC -XX:OldSize=30k crashes jvm
Reviewed-by: jwilhelm, sjohanss
2015-08-17 10:43:11 +02:00
Stefan Karlsson
0e252b2a93 8087324: Use semaphores when starting and stopping GC task threads
Reviewed-by: jmasa, sjohanss
2015-06-29 11:11:12 +02:00
Stefan Karlsson
e25bcfd3d3 8087323: Unify and split the work gang classes
Reviewed-by: jmasa, sjohanss
2015-06-29 11:09:39 +02:00
Kim Barrett
093ee9b659 8079082: VerifyNoCSetOopsClosure is derived twice from Closure
Change closure to a function object and update iteration

Reviewed-by: mgerdin, ecaspole
2015-07-27 14:05:55 -04:00
Kim Barrett
717679c169 8130931: Refactor CardTableModRefBS[ForCTRS]
Remove friends and push CTRS-specific code down from base to derived

Reviewed-by: tschatzl, mgerdin
2015-07-22 00:37:01 -04:00
Eric Caspole
34bcc977bc 8129961: SIGSEGV when copying to survivor space
Remove "include_young" parameter from GenCollectedHeap::no_allocs_since_save_marks() since all existing uses pass true to always rescan young gen.

Reviewed-by: jmasa, kbarrett
2015-07-13 11:49:23 -04:00
Jon Masamitsu
48ed80d136 7012980: PSOldGen is increased if there is no space in Metaspace
Reviewed-by: tschatzl, tbenson
2015-04-15 11:30:36 -07:00
Sangheon Kim
3e36930486 8079555: REDO - Determining the desired PLAB size adjusts to the the number of threads at the wrong place
Calculate the desired PLAB value for a single thread and then return desired PLAB size according to the current number of threads when needed

Reviewed-by: jmasa, tschatzl
2015-07-07 06:37:10 -07:00
Stefan Johansson
c85e4ae56f 8078901: Add trace event for G1 MMU information
Reviewed-by: ehelin, mlarsson
2015-04-30 13:33:23 +02:00
Thomas Schatzl
e5a5f9beab Merge 2015-06-25 15:43:16 +00:00
Thomas Schatzl
2431e87477 8129573: CollectedHeap::fill_with_objects() needs to use multiple arrays in 32 bit mode too
In JDK-8042668 we introduced a custom fill threshold for G1. This leads to CollectedHeap::fill_with_objects create too large objects in G1 when using it in 32 bit mode, as the code to create multiple filler objects is IFDEF'ed out on 32 bit. Enable this code on 32 bit too.

Reviewed-by: tonyp, mgerdin, tbenson
2015-06-25 09:06:35 +02:00
Bill Pittore
304b59b0c8 8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Need to add a space between macro identifier and string literal

Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00
Jesper Wilhelmsson
8a2a6073df 8077842: Remove the level parameter passed around in GenCollectedHeap
Reviewed-by: kbarrett, mgerdin
2015-06-17 14:44:54 +02:00
Tom Benson
df2efa1c37 8042668: GC Support for shared heap ranges in CDS
Added "Archive Region" support to the G1 GC

Reviewed-by: tschatzl, brutisso
2015-06-12 19:49:54 -04:00
David Lindholm
c3f3f0f1bd 8025608: GC trace events missing nursery size information
Reviewed-by: sjohanss, mgerdin
2015-06-12 12:55:32 +02:00
Derek White
24c9ffed42 7097567: G1: abstract and encapsulate collector phases and transitions between them
Reviewed-by: mgerdin, tschatzl
2015-06-05 10:27:41 +02:00
David Lindholm
862b933a2e 8080947: Add uint as a valid VM flag type
Reviewed-by: brutisso, ddmitriev
2015-06-04 14:29:34 +02:00
Yasumasa Suenaga
242ce54cc7 8072913: [REDO] GCCause should distinguish jcmd GC.run from System.gc()
GCCause which is caused by GC.run diagnostic command should be different from System.gc() .

Reviewed-by: jmasa, jwilhelm
2015-06-03 08:49:34 +09:00
Stefan Karlsson
93fdb4e5ad 8081682: AbstractWorkGang::_terminate is never used
Reviewed-by: kbarrett, pliden, brutisso
2015-06-03 11:46:07 +02:00
Stefan Karlsson
f3f59e37c9 8080879: Remove FlexibleWorkGang::set_for_termination
Reviewed-by: brutisso, kbarrett, pliden
2015-05-25 11:41:34 +02:00
Stefan Karlsson
db20c1bc45 8080877: Don't use workers()->total_workers() when walking G1CollectedHeap::_task_queues
Reviewed-by: jmasa, drwhite
2015-05-22 13:35:29 +02:00
Stefan Karlsson
23b343af68 8080876: Replace unnecessary MAX2(ParallelGCThreads, 1) calls with ParallelGCThreads
Reviewed-by: kbarrett, mgerdin
2015-05-22 10:58:16 +02:00
Stefan Karlsson
21bb8edbba 8080840: Clean up active_workers() asserts
Reviewed-by: kbarrett, jmasa
2015-05-22 10:58:04 +02:00
Stefan Karlsson
4e9a9eee84 8080869: FlexibleWorkGang initializes _active_workers to more than _total_workers
Reviewed-by: kbarrett, jmasa
2015-05-21 14:10:15 +02:00