297 Commits

Author SHA1 Message Date
Zoltan Majo
dfa6539a6a 8086053: Address inconsistencies regarding ZeroTLAB
Add zero-initialization to C1 for fast TLAB refills; strenghten C2 conditions for skipping zero-initialization.

Reviewed-by: kvn, thartmann
2016-01-12 09:19:09 +01:00
Joseph Provino
9288ff53e7 Merge 2016-01-07 21:10:28 +00: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
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
Erik Helin
704a098a0e 8142404: Parallelize the restoring of preserved marks
Reviewed-by: mgerdin, tschatzl
2015-11-26 09:50:22 +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
Coleen Phillimore
72756888e9 8141570: Fix Zero interpreter build for --disable-precompiled-headers
Change to include atomic.inline.hpp and allocation.inline.hpp only in .cpp files and some build fixes from Kim to build on ubuntu without devkits

Reviewed-by: kbarrett, sgehwolf, erikj
2015-11-18 11:47:55 -05: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
Kim Barrett
e8c5bc2024 8143014: Access PtrQueue member offsets through derived classes
Moved accessors to derived classes and updated callers.

Reviewed-by: tschatzl, jmasa, twisti
2015-11-17 16:40:52 -05:00
Stefan Johansson
56adbd02ec 8141280: G1ResManAllocator doesn't work with _survivor_is_full/_old_is_full
Reviewed-by: jmasa, kbarrett, tschatzl
2015-11-17 11:20:27 +01: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
Nils Eliasson
a51ff63df7 Merge 2015-11-24 10:30:23 +01:00