337 Commits

Author SHA1 Message Date
Thomas Schatzl
49d6460189 8152400: Enabling TASK_STATS_ONLY filters out just enabled messages anyway
If TASK_STATS_ONLY is enabled, do not require a develop build to print messages.

Reviewed-by: pliden, tbenson
2016-03-24 10:40:23 +01:00
Bengt Rutisson
d444e55969 8152300: Convert G1_ALLOC_REGION_TRACING to unified logging
Reviewed-by: sjohanss, stefank
2016-03-22 13:41:52 +01:00
Tom Benson
dc360cad53 8142935: Adding old gen regions does not consider available free space
Track live data size as added to cset during mixed GCs

Reviewed-by: kbarrett, drwhite
2016-03-21 15:59:58 -04:00
Jon Masamitsu
09a7ae4e60 8149343: assert(rp->num_q() == no_of_gc_workers) failed: sanity
Reviewed-by: tschatzl, kbarrett
2016-03-07 11:28:06 -08:00
Bengt Rutisson
a1901aecc9 Merge 2016-03-21 10:44:30 +01:00
Bengt Rutisson
85c97dc404 8148759: G1AllocRegion::_count inconsistently used if more than one context is active
Reviewed-by: sjohanss, jwilhelm, tschatzl
2016-03-18 10:51:29 +01:00
Stefan Karlsson
0fed01a8ec Merge 2016-03-18 11:42:32 +01:00
Stefan Karlsson
97d34dd67a 8152104: G1 StringTable cleaning incorrectly logs with the stringdedup tag
Reviewed-by: mgerdin, jwilhelm, sjohanss
2016-03-18 09:01:51 +01:00
Stefan Karlsson
a15383123d 8152100: Rework and unify the GC phase logging
Reviewed-by: sjohanss, jwilhelm
2016-03-18 08:59:07 +01:00
Stefan Karlsson
566df4a912 Merge 2016-03-18 03:46:02 +01:00
Stefan Karlsson
35058d4038 8027423: Parallel compact GC class unloading measurement includes symbol and string table time
Reviewed-by: mgerdin, jmasa
2016-03-17 21:01:59 +01:00
Sangheon Kim
9f63ca85a7 8151085: Change G1 concurrent timer and tracer measuring time
Change measuring time for G1 concurrent phases and reporting heap summary

Reviewed-by: brutisso, sjohanss
2016-03-17 11:18:52 -07:00
Mikael Gerdin
1e047e54c0 8152101: Move G1 concurrent refinement adjustment code out of G1CollectorPolicy
Reviewed-by: jmasa, jwilhelm, kbarrett
2016-03-11 11:22:56 +01:00
Mikael Gerdin
cd911039ce 8151808: Factor G1 heap sizing code out of the G1CollectorPolicy
Reviewed-by: tbenson, jwilhelm
2016-03-11 11:22:56 +01:00
Mikael Gerdin
a3481da3a5 8151637: Move CollectionSetChooser rebuild code into CollectionSetChooser
Reviewed-by: jmasa, tschatzl
2016-03-11 11:22:56 +01:00
Mikael Gerdin
50b0262b13 8151711: Move G1 number sequences out of the G1 collector policy
Reviewed-by: tbenson, ehelin
2016-03-08 13:17:30 +01:00
Thomas Schatzl
2e126f0610 Merge 2016-03-17 10:04:39 +01:00
Thomas Schatzl
0588ecf584 8151920: Region liveness printing is broken
Remove obsolete code that causes an assert.

Reviewed-by: drwhite, brutisso
2016-03-17 09:36:04 +01:00
Per Lidén
da5ca5c5d5 8151601: Cleanup locking of the Reference pending list
Reviewed-by: brutisso, stefank
2016-03-17 08:07:53 +01:00
Thomas Schatzl
d8cced4256 Merge 2016-03-16 16:42:30 +01:00
Bengt Rutisson
242546248e 8151336: Root region scanning should be cancelled and disabled when the ConcurrentMarkThread::run_service() exits
Reviewed-by: pliden, tschatzl
2016-03-16 13:38:54 +01:00
Thomas Schatzl
ec207fe815 8151614: Improve logging in concurrent mark code
Move detailed concurrent mark phase logging to "gc, marking" tags and add a summary "Concurrent Cycle" log message when only using "gc" logging.

Reviewed-by: sangheki, brutisso
2016-03-16 12:23:13 +01:00
Thomas Schatzl
a3b16ac9eb 8151126: Clean up duplicate code for clearing the mark bitmaps
Merge the code to clear the mark bitmap concurrently and in the STW pause.

Reviewed-by: jmasa, tbenson
2016-03-16 12:21:18 +01:00
Kim Barrett
7d20f78a49 8151781: DirtyCardQueue::apply_closure is unused
Remove dead code, followup cleanups.

Reviewed-by: brutisso, pliden
2016-03-16 00:28:33 -04:00
Stefan Karlsson
3d04448c1f Merge 2016-03-15 15:29:42 +01:00
Stefan Karlsson
673bfac8ba 8151539: Remove duplicate AlwaysTrueClosures
Reviewed-by: tschatzl, mgerdin, kbarrett, drwhite
2016-03-15 10:11:02 +01:00
Bengt Rutisson
4083eb4389 8151842: Local variables have wrong names after JDK-8148736
Reviewed-by: kbarrett, jprovino, tschatzl
2016-03-15 08:19:24 +01:00
Stefan Johansson
44995d664d 8151696: Print all regions on trace level to get same behavior as old PrintHeapAtGCExtended
Reviewed-by: brutisso, jwilhelm
2016-03-14 09:11:21 +01:00
Derek White
f6810526ab 8140257: Add support for "gc service threads" to ConcurrentGCThread
Push up the common run() and stop() methods from subclasses to ConcurrentGCThread, as well as declaration iof run_service() stop_service().

Reviewed-by: kbarrett, pliden
2016-03-11 16:59:58 -05:00
Bengt Rutisson
8c894a92ef 8151604: Rely on options range checking rather than explict checks
Reviewed-by: jwilhelm, drwhite, sangheki
2016-03-13 13:26:47 +01:00
Dmitry Dmitriev
6b5b94aa1d 8151304: Remove unused develop options(ClearInterpreterLocals and others)
Reviewed-by: coleenp, jwilhelm
2016-03-11 15:34:48 +03:00
Bengt Rutisson
d1c99d7509 Merge 2016-03-11 12:17:35 +01:00
Bengt Rutisson
c4916d0f05 8151605: Change warning() to log_warning(gc) in the GC code
Reviewed-by: jwilhelm, jmasa
2016-03-11 11:34:22 +01:00
Mikael Gerdin
1158bcdf9a 8151633: Don't keep copies of the survivor lists and counts in the G1CollectorPolicy
Reviewed-by: tbenson, tschatzl
2016-03-11 10:18:11 +01:00
Thomas Schatzl
d2f32995dd 8150952: Net PLAB size is clipped to max PLAB size as a whole, not on a per thread basis
Bound PLAB size when handing out PLAB sizes, not before.

Reviewed-by: drwhite, jwilhelm
2016-03-11 09:50:23 +01:00
Kim Barrett
4b39057a46 8150676: Use BufferNode index
Maintain index and use it, removing extra checks for or stores of NULL.

Reviewed-by: jmasa, tschatzl
2016-03-10 16:21:46 -05:00
Stefan Karlsson
7419b91e7e 8151436: Leaner ArrayAllocator and BitMaps
Reviewed-by: tschatzl, pliden, kbarrett
2016-03-09 12:44:12 +01:00
Sangheon Kim
7679cbc134 8150362: G1 base elapsed time prediction is wrong because rs_length prediction is wrong
Change rs_length prediction used from G1 base elapsed time prediction

Reviewed-by: mgerdin, tschatzl
2016-03-09 11:08:49 -08:00
Erik Helin
695349306e 8151365: Move G1YoungGenSizer to a separate file
Reviewed-by: mgerdin, tschatzl
2016-03-07 10:36:22 +01:00
Mikael Gerdin
b7486d2544 8151178: Move the collection set out of the G1 collector policy
Create a G1CollectionSet class

Reviewed-by: jwilhelm, tbenson, tschatzl
2016-03-07 17:23:59 +01:00
Sangheon Kim
400246c87d Merge 2016-03-07 18:56:02 +00:00
Sangheon Kim
5e641bdf7a 8149834: gc/shared/gcTimer.cpp:88 assert(_is_concurrent_phase_active) failed: A concurrent phase is not active
Compare-and-exchange for concurrent gc timer related flag at G1CollectedHeap

Reviewed-by: jmasa, drwhite
2016-03-07 02:11:47 -08:00
Dmitry Dmitriev
34effca3ac 8149973: Optimize object alignment check in debug builds
Reviewed-by: coleenp, tschatzl
2016-03-07 10:36:50 +03:00
Thomas Schatzl
595f1f01e4 8142484: Let IHOP follow the current capacity, not the maximum capacity
Instead of following the current heap capacity, let all IHOP calculations follow the maximum capacity.

Reviewed-by: brutisso, jmasa
2016-03-07 10:56:06 +01:00
Joseph Provino
750d6c1bb6 Merge 2016-03-03 17:33:13 +00:00
Joseph Provino
7c23a31489 8150984: Invalid VM argument causes crash -XX:G1ConcRefinementServiceIntervalMillis=2147483648
Change maximum range so it can't be negative

Reviewed-by: kbarrett, sangheki
2016-03-03 12:20:22 -05:00
Derek White
dbaa70361f 8140600: Convert unnecessarily malloc'd Monitors to value members
Change a malloc'd monitor into an embedded monitor.

Reviewed-by: tschatzl, kbarrett
2016-02-29 11:32:12 -05:00
Bengt Rutisson
190c092900 8150068: Log the main G1 phases at info level
Reviewed-by: sjohanss, tschatzl
2016-02-29 13:06:03 +01:00
Kim Barrett
234373ff31 8150421: Delete experimental G1UseConcMarkReferenceProcessing
Removed the option and supporting code.

Reviewed-by: jmasa, tamao
2016-02-28 12:22:05 -05:00
Joseph Provino
e87c6f1b09 Merge 2016-02-27 00:07:03 +00:00