479 Commits

Author SHA1 Message Date
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
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
3ee73137fb 8139883: Add virtual destructor G1ParScanThreadState
Reviewed-by: tschatzl, mgerdin, stefank
2015-10-19 15:47:36 +02:00
Bengt Rutisson
0ee0cf9845 8142475: Remove TraceParallelOldGCTasks
Reviewed-by: tschatzl, david
2015-11-12 09:21:16 +01:00
Bengt Rutisson
250efd235c 8142472: Remove debugging code guarded by CMSPrintPromoBlockInfo
Reviewed-by: david, ehelin
2015-11-12 09:19:44 +01:00
Joseph Provino
539395ffbf Merge 2015-11-11 23:47:41 +00:00
Thomas Schatzl
6ed8f3c0b2 8140689: Skip last young-only gc if nothing to do in the mixed gc phase
Reviewed-by: mgerdin, drwhite
2015-11-10 11:07:15 +01:00
Thomas Schatzl
22d9b3df0f 8138740: Start initial mark right after mixed GC if needed
Instead of issuing a single young-only GC after the end of all mixed GCs, if needed immediately start an initial mark in that young-only GC.

Reviewed-by: drwhite, mgerdin
2015-11-10 11:07:15 +01:00
Thomas Schatzl
90d03cf69c 8139874: After G1 Full GC, the next GC is always a young-only GC
Allow initiation of an initial mark after Full GC

Reviewed-by: ehelin
2015-11-10 11:07:15 +01:00
Thomas Schatzl
d8534a2c6d 8140597: Forcing an initial mark causes G1 to abort mixed collections
Postpone the initial mark request until the current mixed GC phase has finished.

Reviewed-by: mgerdin
2015-11-10 11:07:15 +01:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
Tobias Hartmann
7af927f9c1 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Erik Helin
0f08933773 8140489: Introduce shorthand for average_time_ms in G1CollectorPolicy
Reviewed-by: mgerdin, tschatzl, drwhite
2015-10-29 17:32:08 +01:00
Erik Helin
d0f3d01013 8140393: Move WorkerDataArray to its own file
Reviewed-by: tschatzl, mgerdin, tbenson
2015-10-29 14:58:44 +01:00
Erik Helin
a935c706b6 8140761: Remove caching from WorkerDataArray
Reviewed-by: tschatzl, mgerdin, tbenson
2015-10-29 11:33:43 +01:00
Coleen Phillimore
b046110ab7 Merge 2015-10-28 15:03:40 +01:00
Coleen Phillimore
fc03719078 8139203: Consistent naming for klass type predicates
8138923: Remove oop coupling with InstanceKlass subclasses

Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.

Reviewed-by: jrose, lfoltan, stefank
2015-10-28 09:47:23 -04:00
Thomas Schatzl
5a0303c749 Merge 2015-11-10 17:57:01 +01:00
David Lindholm
b57ae5dad3 8140404: Revert the removal of CMSTestInFreeList
Reviewed-by: jmasa, brutisso
2015-11-10 09:49:14 +01:00
Thomas Schatzl
00a7b7ded2 8140585: PLAB statistics are flushed too late
Move the call to G1EvacStats::adjust_desired_plab_sz() to after flushing the per-thread statistics.

Reviewed-by: mgerdin, jmasa
2015-11-10 09:29:40 +01:00
David Lindholm
fd19805f5b 8141946: Remove develop flag G1TraceHeapRegionRememberedSet
Reviewed-by: mgerdin, tschatzl
2015-11-09 15:09:03 +01:00
Kim Barrett
fd7b3345c8 8077571: ObjPtrQueue is poorly named
Renamed to SATBMarkQueue and renamed files.

Reviewed-by: brutisso, tschatzl, dholmes, twisti
2015-11-06 16:30:40 -05:00
David Lindholm
4bfbb83879 8141434: G1CollectedHeap::into_cset_dirty_card_queue_set should be moved to G1RemSet
Reviewed-by: tschatzl, mgerdin
2015-11-09 11:26:15 +01:00
David Lindholm
6bda88594d 8139867: Change how startsHumongous and continuesHumongous regions work in G1
Reviewed-by: tschatzl, tbenson
2015-11-09 09:19:39 +01:00
Per Lidén
6f81963972 8042209: Remove unused function G1SATBCardTableLoggingModRefBS::write_ref_field_static
Reviewed-by: mgerdin, tschatzl
2015-11-06 09:46:54 +01:00
Bengt Rutisson
4a65cc4f5b 8141530: Remove G1RecordHRRSOops and G1RecordHRRSEvents
Reviewed-by: tschatzl, mgerdin
2015-11-06 06:13:00 +01:00
Ivan Galkin
3d2c024ea4 8135318: CMS wrong max_eden_size for check_gc_overhead_limit
Reviewed-by: jmasa, simonis
2015-11-04 10:12:37 -08:00
Bengt Rutisson
199618fac0 8141394: Remove the instrumentation added by JDK-6898948
Reviewed-by: tschatzl, pliden
2015-11-05 08:48:45 +01:00
Kim Barrett
63f370152d Merge 2015-11-04 20:02:54 +00:00
Thomas Schatzl
35f9a7ac32 Merge 2015-11-04 18:10:18 +00:00
Kim Barrett
b256989eb3 6899049: G1: Clean up code in ptrQueue.[ch]pp and ptrQueue.inline.hpp
Simplify indexing, address obsolete code, improve access/type checking.

Reviewed-by: tschatzl, pliden
2015-11-04 13:09:57 -05:00
Thomas Schatzl
a6231d3f70 8141134: Remove unnecessary pragma warning(disable:4355) from GC code
Reviewed-by: ehelin, simonis, stuefe
2015-11-04 17:36:29 +01:00
Mikael Gerdin
f25b7859ef 8141422: G1 eager reclaim card dirtying may dirty outside of allocated objects
Reviewed-by: sjohanss, tschatzl, ehelin
2015-11-04 16:42:11 +01:00
Andrew Haley
7ac4628585 8138966: Intermittent SEGV running ParallelGC
Add necessary memory fences so that the parallel threads are unable to observe partially filled block tables.

Reviewed-by: tschatzl
2015-11-04 13:38:38 +01:00
Coleen Phillimore
5179fc3488 8139163: InstanceKlass::cast passes through NULL
Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null

Reviewed-by: twisti, kbarrett
2015-10-26 13:11:36 -04:00
Michail Chernov
25cc742a8f 8139903: G1EvacStats does not split log entries
Added gclog_or_tty->cr() to G1EvacStats to avoid concatenated PLAB log entries.

Reviewed-by: tschatzl, dfazunen
2015-10-23 14:33:19 +03:00