317 Commits

Author SHA1 Message Date
Sangheon Kim
52e9797321 Merge 2016-01-27 21:04:42 +00:00
Sangheon Kim
094345fc88 8145192: 'count' variable can overflow in PSMarkSweep::invoke on 64 bit JVM
Changed MarkSweepAlwaysCompactCount from uintx to uint

Reviewed-by: tschatzl, tbenson
2016-01-27 10:30:27 -08:00
David Lindholm
ac117697a3 8147814: Move verification code out of g1collectedheap
Reviewed-by: jwilhelm, tschatzl
2016-01-26 15:28:31 +01:00
Axel Siebenborn
84ae91a490 8147611: G1 - Missing memory barrier in start_cset_region_for_worker
Reviewed-by: mgerdin, tschatzl
2016-01-19 09:39:28 +01:00
Erik Helin
f646b9fac7 8147012: Fix includes in internalVMTests.cpp
Reviewed-by: stefank, mgerdin
2016-01-19 11:00:29 +01:00
Goetz Lindenmaier
6397e809aa 8146395: Add inline qualifier in oop.hpp and fix inlining in gc files
Fix remaining issues after 8146401. Also fix windows VS2010 linkage problem (g1OopClosures.hpp).

Reviewed-by: stefank, mgerdin
2016-01-18 10:25:41 +01:00
Erik Helin
4657994435 8146990: Convert CollectorPolicy to use log_warning instead of warning
Reviewed-by: sjohanss, brutisso
2016-01-14 14:50:40 +01:00
Poonam Bajaj
1980bc42dd 8145442: Add the facility to verify remembered sets for G1
Implement remembered sets verification for G1 with option VerifyRememberedSets

Reviewed-by: jmasa, mgerdin
2016-01-15 10:34:52 -08:00
Coleen Phillimore
f8800caf4f Merge 2016-01-14 16:26:38 -05:00
Jesper Wilhelmsson
54d0181916 Merge 2016-01-14 17:36:29 +01:00
David Lindholm
ad0c208a5a 8146690: Make all classes in GC follow the naming convention
Reviewed-by: dholmes, stefank
2016-01-14 13:26:19 +01:00
Bengt Rutisson
49d61bdeb6 8147000: VM crashes during initialization trying to print log message
Reviewed-by: kbarrett, dholmes
2016-01-14 09:18:11 +01: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
Joseph Provino
9288ff53e7 Merge 2016-01-07 21:10:28 +00:00
Goetz Lindenmaier
b26df6b69f 8146401: Clean up oop.hpp: add inline directives and fix header files
Reviewed-by: coleenp
2016-01-04 15:41:05 +01: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
c3808b2091 8143847: Remove REF_CLEANER reference category
Remove REF_CLEANER.

Reviewed-by: jwilhelm, mchung, tbenson
2015-12-28 13:59:20 -05:00
Sangheon Kim
f17b4db454 8146695: FinalizeTest04 crashes VM with EXCEPTION_INT_DIVIDE_BY_ZERO
Reviewed-by: jwilhelm, jprovino
2016-01-08 08:51:18 -08:00
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
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
Christian Thalinger
9e981ee107 Merge 2015-12-18 12:39:02 -08: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
Christian Thalinger
bf5db72254 8134994: use separate VMStructs databases for SA and JVMCI
Reviewed-by: kbarrett
2015-12-14 17:02:02 -10: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
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