Walter Florian Gugenberger
ca0fd4b1fe
8004687: G1: Parallelize object self-forwarding and scanning during an evacuation failure
...
Use the regular task queue during evacuation failure and allow per-thread preserved header queues to remove the global lock during evacuation failure.
Reviewed-by: mgerdin, jmasa
2015-07-23 11:14:47 +02:00
Erik Helin
57553520be
8131319: Move G1Allocator::_summary_bytes_used back to G1CollectedHeap
...
G1Allocator::_summary_bytes_used fits better in G1CollectedHeap since we added the archive allocator. Move it back to the original location.
Reviewed-by: mgerdin, tbenson
2015-07-23 11:14:24 +02: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
Thomas Schatzl
70eeaa4735
8131166: Remove additional whitespace in G1Allocator
...
Reviewed-by: jmasa, tbenson
2015-07-16 11:54:37 +02: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
Erik Helin
3a37b5d81c
8142402: G1 should not redirty cards in free regions
...
Reviewed-by: mgerdin, tschatzl
2015-04-29 13:17:46 +02:00
Erik Helin
62bdcb0abf
8144145: G1GCPhaseTimes should allow externally accounted time
...
Reviewed-by: ehelin, tschatzl
2015-11-29 10:00:31 +01:00
Erik Helin
66f8f80768
8144077: Add getter for G1CollectorPolicy::_collectionSetChooser
...
Reviewed-by: mgerdin, tschatzl
2015-11-29 10:00:23 +01: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
Jon Masamitsu
bd52f0a2ef
Merge
2015-07-07 18:16:06 +00: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
Thomas Schatzl
c8c4924aa3
8129558: Coalesce dead objects during removal of self-forwarded pointers
...
To improve performance of self-forwarding fixup during evacuation failure, coalesce the work done for dead objects.
Reviewed-by: mgerdin, tbenson, tonyp
2015-07-07 14:20:08 +02:00
Stefan Johansson
c85e4ae56f
8078901: Add trace event for G1 MMU information
...
Reviewed-by: ehelin, mlarsson
2015-04-30 13:33:23 +02:00
Poonam Bajaj
b34dec66c6
Merge
2015-06-25 18:14:54 +00:00
Thomas Schatzl
e5a5f9beab
Merge
2015-06-25 15:43:16 +00:00
Poonam Bajaj
c7612a1138
8129108: nmethod related crash in CMS
...
Add SO_AllCodeCache to root scanning options when not unloading classes with a CMS collection cycle
Reviewed-by: mgerdin, jwilhelm
2015-06-25 06:52:05 -07:00
Bengt Rutisson
e7a2bfa767
Merge
2015-06-25 10:52:37 +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
Bengt Rutisson
5f4a67087f
8129626: G1: set_in_progress() and clear_started() needs a barrier on non-TSO platforms
...
Also reviewed by vitalyd@gmail.com
Reviewed-by: pliden, bpittore, bdelsart
2015-06-25 08:15:07 +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
Bengt Rutisson
7f2ffe8c0e
8129549: G1: Make sure the concurrent thread does not mix its logging with the STW pauses
...
Reviewed-by: pliden, tschatzl
2015-06-23 13:26:05 +02:00
Coleen Phillimore
97f69e8b42
Merge
2015-06-19 13:03:58 +00:00
Thomas Schatzl
5084eb24d0
8078669: G1 applies SurvivorAlignmentInBytes to both survivor and old gen
...
After refactoring of the relevant code in JDK-8060025 the survivor alignment had been applied to any allocation within PLABs. Only do that for survivor allocations again. Improve the related tests to have less variance.
Reviewed-by: jmasa, fzhinkin
2015-06-19 11:27:07 +02:00
Gerard Ziemski
ed2bb8c9fc
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments
...
Validate the arguments to all JVM command-line flags so as to avoid crashes, and ensure that appropriate error messages are displayed when they are invalid.
Reviewed-by: ddmitriev, dholmes, kbarrett, drwhite, brutisso, coleenp
2015-06-18 14:39:38 -05:00
David Lindholm
295a084cc5
7169803: Usage of pretenured value is not correct
...
Reviewed-by: tamao, jmasa
2015-06-17 17:29:56 +02: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
Poonam Bajaj
87b7e052f2
Merge
2015-06-17 00:52:06 +00:00
Poonam Bajaj
20bb21349c
8085965: VM hangs in C2Compiler
...
CMSClassUnloadingEnabled and ExplicitGCInvokesConcurrentAndUnloadsClasses should be disabled when -Xnoclassgc is specified
Reviewed-by: jmasa, kbarrett
2015-06-16 14:30:27 -07:00
Severin Gehwolf
709d3d936e
8098552: 8079792 breaks Zero builds without precompiled headers
...
Include memRegion.hpp in g1BiasedArray.hpp
Reviewed-by: ehelin, sjohanss
2015-06-15 11:50:16 +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
Jiangli Zhou
edcd4cb94b
8015086: add interned strings to the shared archive
...
Support saving interned strings in shared CDS archive.
Reviewed-by: coleenp, iklam, pliden
2015-06-12 17:29:14 -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
5f5af54f95
8081382: Make flags ParallelGCThreads and ConcGCThreads of type uint
...
Reviewed-by: drwhite, stefank
2015-06-05 09:50:09 +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
Bengt Rutisson
0ee851e5ef
8081039: G1: Remove unused statistics code in G1NoteEndOfConcMarkClosure and G1ParNoteEndTask
...
Reviewed-by: jmasa, kbarrett
2015-05-27 09:04:14 +02:00
Stefan Karlsson
976d6c1e2a
8081007: Remove redundant active worker variables and calls in ParNewGeneration::collect
...
Reviewed-by: pliden, kbarrett, ehelin
2015-05-26 10:06:03 +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
5d81ec2082
8080837: Move number of workers calculation out of CollectionSetChooser::prepare_for_par_region_addition
...
Reviewed-by: kbarrett, mgerdin
2015-05-22 10:57:53 +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
Stefan Karlsson
5dc3521a80
8080113: Remove CollectedHeap::set_par_threads()
...
Reviewed-by: jmasa, kbarrett
2015-05-21 09:35:59 +02:00
Stefan Karlsson
8d0f1a6528
8080112: Replace and remove the last usages of CollectedHeap::n_par_threads()
...
Reviewed-by: jmasa, kbarrett
2015-05-21 09:35:38 +02:00
Stefan Karlsson
b77b3ec014
8080111: Remove SubTaskDone::_n_threads
...
Reviewed-by: jmasa, kbarrett
2015-05-21 09:23:46 +02:00
Stefan Karlsson
c13872f88d
8080110: Remove usage of CollectedHeap::n_par_threads() from root processing
...
Reviewed-by: jmasa, kbarrett
2015-05-21 09:23:00 +02:00
Stefan Karlsson
e13e75547c
8080109: Use single-threaded code in Threads::possibly_parallel_oops_do when running with only one worker thread
...
Reviewed-by: jmasa, kbarrett
2015-05-21 09:10:47 +02:00