17 Commits

Author SHA1 Message Date
Kim Barrett
a65b58e18d 8178836: Improve PtrQueue index abstraction
Prefer element indexes where possible.

Reviewed-by: shade, mgerdin
2017-05-08 07:16:10 -04:00
Kim Barrett
b067fc774d 8175221: Cleanup DirtyCardQueueSet::concatenate_log
Concatenate_log calls flush, flush no longer checks "permanent"

Reviewed-by: tschatzl, shade
2017-03-04 15:56:22 -05:00
David Holmes
5f1f4489ac 8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
Remove atomic.inline.hpp and move the contents back into atomic.hpp

Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Thomas Schatzl
2313844e20 8161993: G1 crashes if active_processor_count changes during startup
Use the initial active processor count for memory initialization instead of the current active one.

Reviewed-by: dholmes, mgerdin
2016-07-26 11:04:20 +02:00
Kim Barrett
cb72aacabb 8151670: Unexpected concurrent refinement deactivation and reactivation
Refinement threads now use SuspendibleThreadSet::yield.

Reviewed-by: jmasa, mgerdin
2016-03-25 15:50:31 -04:00
Kim Barrett
7d20f78a49 8151781: DirtyCardQueue::apply_closure is unused
Remove dead code, followup cleanups.

Reviewed-by: brutisso, pliden
2016-03-16 00:28:33 -04:00
Kim Barrett
4b39057a46 8150676: Use BufferNode index
Maintain index and use it, removing extra checks for or stores of NULL.

Reviewed-by: jmasa, tschatzl
2016-03-10 16:21:46 -05:00
Joseph Provino
41c0116f6e 8139651: ConcurrentG1Refine uses ints for many of its members that should be unsigned types
Ints need to be changed to size_t

Reviewed-by: kbarrett, tbenson
2016-02-26 14:02:39 -05:00
Kim Barrett
7c684d5249 8149793: DirtyCardQueueSet::apply_closure_to_completed_buffer_helper isn't helpful
Merge helper into sole caller.

Reviewed-by: brutisso, jwilhelm, tschatzl
2016-02-17 16:00:27 -05:00
Alexander Harlap
75c1b86859 8145038: Simplify mut_process_buffer worker id management
Remove some wasted code

Reviewed-by: kbarrett, tschatzl
2016-01-11 14:26:00 -05:00
Alexander Harlap
22ad9cec84 8145037: Clean up FreeIdSet usage
Avoid wasting space for the unused sets

Reviewed-by: tschatzl
2016-01-08 15:41:44 -05:00
Alexander Harlap
f648ec7dcc 8141123: Cleanup in FreeIdSet
Some members of FreeIdSet should be size_t instead of ints. Also remove unused code

Reviewed-by: tschatzl, kbarrett, tbenson
2015-12-03 15:37:52 -05:00
Kim Barrett
7badb3edfb 8143013: Remove unused DirtyCardQueue::iterate_closure_all_threads
Remove unused function.

Reviewed-by: tbenson, tschatzl, mgerdin
2015-11-16 14:11:36 -05:00
Kim Barrett
63f370152d Merge 2015-11-04 20:02:54 +00:00
Kim Barrett
b256989eb3 6899049: G1: Clean up code in ptrQueue.[ch]pp and ptrQueue.inline.hpp
Simplify indexing, address obsolete code, improve access/type checking.

Reviewed-by: tschatzl, pliden
2015-11-04 13:09:57 -05:00
Thomas Schatzl
a6231d3f70 8141134: Remove unnecessary pragma warning(disable:4355) from GC code
Reviewed-by: ehelin, simonis, stuefe
2015-11-04 17:36:29 +01:00
Per Lidén
4dc240f785 8079792: GC directory structure cleanup
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00