317 Commits

Author SHA1 Message Date
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
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
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
Thomas Schatzl
7f53346519 Merge 2015-11-13 12:36:17 +00:00
Stefan Johansson
6983acfb5f 8139424: SIGSEGV, Problematic frame: # V [libjvm.so+0xd0c0cc] void InstanceKlass::oop_oop_iterate_oop_maps_specialized<true,oopDesc*,MarkAndPushClosure>
The crash was caused by a faulty eager humongous reclaim. The reason for reclaiming a live object was that the call to cleanupHRRS was done after dirtying cards and clearing the remembered sets for the humongous object. This could lead to one or many cards being missed.

Reviewed-by: tbenson, kbarrett, tschatzl
2015-11-13 09:28:53 +01:00
Thomas Schatzl
4d9dfbeb1d 8138684: G1 decision about taking regions into the collection set is too aggressive
Factor in expected waste and uncertainty of our guess in the decision whether to take another region into the collection set.

Reviewed-by: mgerdin, jmasa
2015-11-13 09:12:06 +01:00
Sangheon Kim
6c10034f4b 8134631: G1DummyRegionsPerGC fires assert of assert(words <= filler_array_max_size()) failed: too big for a single object
Change filler max value temporarily for G1DummyRegionsPerGC flag.

Reviewed-by: tbenson, tschatzl
2015-11-12 09:52:04 -08:00
Jungwoo Ha
68ffb0bf12 8141356: Explicitly stop CMS threads during VM termination
GenCollectedHeap::stop() is not implemented which is supposed to stop CMS threads during VM termination.

Reviewed-by: jmasa, kbarrett
2015-11-03 13:03:04 -08:00
Erik Helin
0580d65a1c 8142403: Make G1CollectorPolicy::predictor const
Reviewed-by: stefank, tschatzl
2015-11-12 14:03:14 +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
Bengt Rutisson
070065c20d Merge 2015-11-25 14:48:51 +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
Bengt Rutisson
0091d09fd2 8143544: Make CMSCollector::is_cms_reachable() non-product
Reviewed-by: ysr, tschatzl
2015-11-25 08:52:55 +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
Erik Helin
402195fa55 8142495: Move G1ParEvacuateFollowersClosure to header file
Reviewed-by: sjohanss, brutisso
2015-11-24 15:46:45 +01: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