218 Commits

Author SHA1 Message Date
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
Stefan Johansson
4b50caadef 8143251: HeapRetentionTest.java Test is failing on jdk9/dev
Reviewed-by: tschatzl, david
2015-11-26 13:13:03 +01:00
Erik Helin
6d48bb8a25 8144072: G1ParScanThreadState::update_rs does not need to call is_in_reserved
Reviewed-by: tschatzl, mgerdin
2015-11-27 13:39:56 +01:00
Erik Helin
caaac8e679 8144067: Pass obj directly to G1ParScanThreadState::update_rs
Reviewed-by: tschatzl, mgerdin
2015-11-27 13:39:50 +01:00
Erik Helin
86d5c93087 8144052: mark_card_deferred does not need to check g1_young_gen
Reviewed-by: tschatzl, mgerdin
2015-11-27 13:39:45 +01:00
Erik Helin
34d5bd8db1 8144040: UpdateRSetDeferred in G1EvacFailure will never visit survivor regions
Reviewed-by: tschatzl, mgerdin
2015-11-29 15:08:40 +01: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
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
Erik Helin
7bb30f51ab 8139892: Allow G1CollectorPolicy to specify if reference processing should be enabled
Reviewed-by: mgerdin, kbarrett, tbenson
2015-10-19 16:33:12 +02:00
Erik Helin
a97787ba26 Merge 2015-11-26 01:59:34 +00:00
Erik Helin
ae6fc5e37b 8142494: Add extension point to G1EvacuationRootClosures
Reviewed-by: jmasa, mgerdin
2015-11-25 21:54:05 +01:00
Thomas Schatzl
00eb98fb06 Merge 2015-11-25 19:27:38 +00:00
Erik Helin
2623434709 Merge 2015-11-25 17:32:44 +00:00
Thomas Schatzl
986ada18e1 Merge 2015-11-25 13:52:26 +00:00
Thomas Schatzl
352c2060f2 8136679: JFR event for adaptive IHOP
Reviewed-by: tbenson, mgerdin, sangheki, ehelin
2015-11-25 14:43:29 +01:00
Erik Helin
402195fa55 8142495: Move G1ParEvacuateFollowersClosure to header file
Reviewed-by: sjohanss, brutisso
2015-11-24 15:46:45 +01:00
Joseph Provino
f85cf9d7be 8139922: Get rid of dead code in ConcurrentMark
ConcurrentMark contains lots of unused code which has been removed.

Reviewed-by: jmasa, tschatzl
2015-11-24 15:13:02 -05:00
David Lindholm
f6343b0f69 8143587: G1 crashes with humongous object of size that almost fills a heap region
Reviewed-by: mgerdin, brutisso
2015-11-24 14:03:42 +01:00
Thomas Schatzl
48264e4686 8136678: Implement adaptive sizing algorithm for IHOP
Add adaptive sizing for IHOP that maximizes throughput (starts marking as late as possible). This functionality is enabled using a new -XX:+G1AdaptiveIHOP switch (default: false).

Reviewed-by: mgerdin, jmasa, pliden
2015-11-24 10:35:52 +01:00
Thomas Schatzl
66a728fc27 8136681: Factor out IHOP calculation from G1CollectorPolicy
Move out existing IHOP value calculation into an implementation of a new interface called G1IHOPControl. Prepare for changes to accomodate adaptive IHOP implementation.

Reviewed-by: jmasa, mgerdin, ehelin
2015-11-24 10:22:36 +01:00
Alexander Harlap
f3ff4f52cc 8141135: Remove G1RemSet::write_ref
Remove unused memembers of G1RemSet

Reviewed-by: kbarrett, tschatzl
2015-11-23 11:43:02 -05:00
David Lindholm
c3db3bae7b Merge 2015-11-20 19:17:57 +00:00
David Lindholm
2d7e74703d 8138681: Runtime.getFreeMemory() reports wrong value after humongous allocation
Reviewed-by: tschatzl, mgerdin
2015-11-20 17:32:02 +01:00
Erik Helin
aefeb2d442 8142390: Move ScanRSClosure to header file
Reviewed-by: jmasa, tschatzl
2015-10-19 16:21:35 +02:00
Erik Helin
57776e7af1 8142399: G1ParCopyClosure does not need do_oop_work
Reviewed-by: stefank, tschatzl
2015-09-11 15:18:43 +02:00
Derek White
d84d65893b 8143252: Clean up G1CollectedHeap interface
Delete unused methods and parameters

Reviewed-by: mgerdin, tschatzl, pliden
2015-11-19 12:43:08 -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
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