298 Commits

Author SHA1 Message Date
David Lindholm
b61875dc9b 8146694: Break out shared constants and static BOT functions
Reviewed-by: jwilhelm, tbenson
2016-01-11 09:14:01 +01: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
David Lindholm
98193d202b 8146399: Refactor the BlockOffsetTable classes
Reviewed-by: mgerdin, jwilhelm, tschatzl
2016-01-07 16:25:53 +01:00
David Lindholm
a476bf01f4 8146409: TestPromotionFailedEventWithParallelScavenge.java failed with assert(_time_stamps != __null) failed: Sanity
Reviewed-by: tschatzl, jwilhelm
2016-01-07 14:55:12 +01:00
Sangheon Kim
7479dffbc6 8144527: NewSizeThreadIncrease would make an overflow
Revert to previous value if NewSizeThreadIncrease related calculation overflows

Reviewed-by: jwilhelm, mgerdin, mchernov
2016-01-05 17:05:13 -08:00
Marcus Larsson
803c430cee 8065331: Add trace events for failed allocations
Reviewed-by: brutisso, ehelin
2016-01-04 11:27:02 +01:00
Kim Barrett
1b5adfa949 8071507: (ref) Clear phantom reference as soft and weak references do
GC clears phantom refs on notification; update spec accordingly.

Reviewed-by: mchung, jmasa
2015-12-28 13:48:43 -05:00
Thomas Schatzl
d6e95be627 8145774: Move scrubbing setup code away out of ConcurrentMark
Remove dependency of ConcurrentMark to G1RemSet.

Reviewed-by: jmasa, mgerdin
2015-12-22 11:03:37 +01:00
Thomas Schatzl
056fb6bfd3 8145672: Remove dependency of G1FromCardCache to HeapRegionRemSet
Move HeapRegionRemSet::num_par_rem_sets() to G1RemSet, and document it.

Reviewed-by: mgerdin, jmasa
2015-12-22 11:02:04 +01:00
Sangheon Kim
93bd48e615 8068394: Trace event for concurrent GC phases
Add concurrent phase events for CMS and G1

Reviewed-by: brutisso, stefank
2015-12-18 08:17:30 -08:00
Thomas Schatzl
5e297b4308 8145671: Rename FromCardCache to G1FromCardCache
Reviewed-by: jmasa, mgerdin
2015-12-21 12:04:32 +01:00
Thomas Schatzl
8188ad75a7 8145667: Move FromCardCache into separate files
Reviewed-by: mgerdin, stefank
2015-12-21 12:02:08 +01:00
Thomas Schatzl
c415f56651 8145674: Fix includes and forward declarations in g1Remset files
Reviewed-by: simonis, stefank
2015-12-21 12:02:03 +01:00
Goetz Lindenmaier
0410c05b22 8143215: gcc 4.1.2: fix three issues breaking the build
Also fix some more recent introduced missing casts.

Reviewed-by: stuefe, simonis, kbarrett, tschatzl
2015-11-18 11:31:59 +01:00
Thomas Schatzl
01bbb7f8a9 8145752: Fix include guards in GC code
Reviewed-by: mgerdin, stefank
2015-12-18 14:32:16 +01:00
Thomas Schatzl
92c56ccb9c 8145673: G1RemSetSummary.hpp uses FREE_C_HEAP_ARRAY
Move destructor work into cpp file

Reviewed-by: mgerdin, stefank
2015-12-18 14:27:51 +01:00
Bengt Rutisson
bd183dc526 8145315: VM crashes in print_task_time_stamps()
Reviewed-by: jwilhelm, jmasa
2015-12-16 09:24:48 +01:00
Joseph Provino
c52bff739b Merge 2015-12-15 15:27:38 +00:00
Joseph Provino
26af4d84c3 8139768: Running with -XX:CMSOldPLABNumRefills=2147483648 causes EXCEPTION_INT_DIVIDE_BY_ZERO on Windows i586
Use double arithmetic to avoid integer overflow

Reviewed-by: jwilhelm, tbenson
2015-12-14 17:06:06 -05:00
Bengt Rutisson
9ecd60a8dc 8145303: Clean up the units for log_gc_footer
Reviewed-by: david, tschatzl, goetz
2015-12-15 09:58:29 +01:00
David Lindholm
ddab9e4387 8145301: Improve and unify the printout format for the g1HRPrinter
Reviewed-by: brutisso, tschatzl
2015-12-14 13:47:35 +01:00
Stefan Johansson
d95b280d79 8144908: Remove apply_to_weak_ref_discovered_field override for UpdateRSOopClosure
Reviewed-by: kbarrett, jmasa
2015-12-11 17:49:42 +01:00
Stefan Johansson
33d3e19b81 8144701: Change three G1 remembererd set closures to be OopClosures
Reviewed-by: mgerdin, stefank
2015-12-11 17:49:41 +01:00
Stefan Johansson
79ddc15248 8144584: Change FilterIntoCSClosure to inherit OopClosure
Reviewed-by: kbarrett, mgerdin
2015-12-11 17:49:40 +01:00
Stefan Johansson
27c56ca8af 8144505: Change G1ParCopyHelper to inherit OopClosure
Reviewed-by: mgerdin, stefank
2015-12-11 17:49:40 +01:00
David Lindholm
a1a959760b 8144996: Replace the HeapRegionSetCount class with an uint
Reviewed-by: brutisso, jwilhelm
2015-12-11 13:48:52 +01:00
Stefan Johansson
97e8a96fe1 8144486: Change G1UpdateRSOrPushRefOopClosure to inherit OopClosure
Reviewed-by: mgerdin, stefank
2015-12-11 09:08:08 +01:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Joseph Provino
79e18f084b Merge 2015-12-10 18:55:58 +00:00
Joseph Provino
4fd73ebe16 8139871: G1CollectorPolicy::_cur_mark_stop_world_time_ms is never read from
Remove dead code

Reviewed-by: tschatzl, jwilhelm
2015-12-10 13:38:18 -05:00
Mikael Gerdin
ae65f88b0f 8144714: Add extension point to G1 evacuation closures
Reviewed-by: ehelin, jmasa
2015-12-09 16:05:24 +01:00
Mikael Vidstedt
95c869947a 8144605: Invalid format specifier when printing in_cset_state_t
Use existing CSETSTATE_FORMAT macro in format string

Reviewed-by: kbarrett, tschatzl
2015-12-04 09:36:16 -08:00
Thomas Schatzl
d9d78c6a33 8144690: g1Predictions.hpp includes allocation.inline.hpp
Remove offending (and unnecessary) include statement.

Reviewed-by: stefank, jmasa
2015-12-05 15:17:29 +01:00
Thomas Schatzl
52745a5d2c 8144583: Test sanity/ExecuteInternalVMTests.java fails
Remove a test that is highly dependent on timing.

Reviewed-by: jwilhelm
2015-12-05 15:16:01 +01:00
Kim Barrett
d1fdfbc634 Merge 2015-12-09 20:30:33 +00:00
Thomas Schatzl
d5cbfaf934 Merge 2015-12-09 17:09:12 +00:00
Tom Benson
33ac74ad7e 8060697: Improve G1 Heap Growth Heuristics
Reworked GCTimeRatio-based heap growth code for G1

Reviewed-by: tschatzl, kbarrett, jmasa
2015-12-09 09:51:31 -05:00
David Lindholm
87a31aaa33 8144837: Improve the printout of heap regions in hs_err dump files
Reviewed-by: stefank, sjohanss
2015-12-09 14:49:26 +01:00
Markus Grönlund
2ad9d3192f 8140485: Class load and creation cleanup
Reviewed-by: hseigel, coleenp, sspitsyn
2015-12-08 20:04:03 +01:00
Sangheon Kim
da8bf041ac 8142341: GC: current flags need ranges to be implemented
Add explicit ranges and constraint for all gc flags

Reviewed-by: jwilhelm, gziemski, ddmitriev, tbenson
2015-12-04 15:24:14 -08: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
Erik Helin
91b5389443 8144712: Remove g1RootClosures.inline.hpp
Reviewed-by: stefank, mgerdin
2015-12-04 15:47:13 +01:00
David Holmes
6e0ea9d21c 8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64)

Reviewed-by: stuefe, bdelsart, dcubed
2015-12-04 04:06:37 -05:00
Thomas Schatzl
153eae9ba4 8136680: Enable adaptive IHOP by default
Reviewed-by: jmasa, mgerdin, ehelin
2015-12-01 16:46:55 +01:00
Erik Helin
ee7076bdd1 8144315: update_rs is passed wrong object
Reviewed-by: jmasa, kbarrett
2015-12-02 10:02:44 +01:00
Jesper Wilhelmsson
40f65439e2 Merge 2015-12-01 21:08:00 +01:00
Jesper Wilhelmsson
c7a51854d9 Merge 2015-11-30 19:38:51 +01:00
Jesper Wilhelmsson
1d7f54e2f3 Merge 2015-11-27 18:35:43 +01:00
Erik Helin
97daae0658 8144076: Move evac failure handling and reference processing to post_evacuate_collection_set
Reviewed-by: mgerdin, tschatzl
2015-11-26 13:45:59 +01:00
Erik Helin
1355d0ef4e 8144075: Move prepare_for_oops_into_collection_set_do into pre_evacuate_collection_set
Reviewed-by: mgerdin, tschatzl
2015-11-26 13:43:10 +01:00