522 Commits

Author SHA1 Message Date
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
Joseph Provino
41c0116f6e 8139651: ConcurrentG1Refine uses ints for many of its members that should be unsigned types
Ints need to be changed to size_t

Reviewed-by: kbarrett, tbenson
2016-02-26 14:02:39 -05:00
Thomas Schatzl
a9f10173e7 Merge 2016-02-26 17:55:05 +01:00
Thomas Schatzl
d090b74744 8150629: Initializing all ParScanThreadStates causes significant unaccounted "Other" times
Lazily allocate ParScanThreadStates within the worker threads instead of doing this work upfront serially.

Reviewed-by: mgerdin, jmasa
2016-02-26 13:02:30 +01:00
Thomas Schatzl
6fe8d6e7de 8150630: Add logging for ParScanThreadState merge phase
Improve visibility of the per-thread scan state merge phase by adding appropriate logging.

Reviewed-by: jmasa, tbenson
2016-02-26 13:02:30 +01:00
Thomas Schatzl
d00c7378d6 8076463: Add logging for the preserve CM referents task
Add logging and do minor refactoring to CM referents handling task.

Reviewed-by: jmasa
2016-02-26 13:02:30 +01:00
Thomas Schatzl
917dc3b87c 8140777: Make Adaptive IHOP logging information the same as JFR logging
Reviewed-by: tbenson, jmasa
2016-02-26 13:02:30 +01:00
Mikael Gerdin
167ce92545 8150390: Move rs length sampling data to the sampling thread
Reviewed-by: drwhite, jwilhelm
2016-02-25 11:20:03 +01:00
Shafi Ahmad
a9a432a1a1 8150002: Check for the validity of oop before printing it in verify_remembered_set
Adding missing check for valid oop.

Reviewed-by: dcubed
2016-02-25 11:27:13 +05:30
Thomas Schatzl
619ec3dd6f 8141141: Young and Old gen PLAB stats are similar in output with -XX:+PrintPLAB
Improve PLAB statistic by adding generation, output values are now in bytes, including units, and split it into multiple messages.

Reviewed-by: brutisso, sjohanss
2016-03-02 15:57:48 +01:00
Thomas Schatzl
a07ffdd31d 8147121: Evacuation failure allocation statistics added too late
Move adding evacuation failure statistics to after free_collection_set.

Reviewed-by: brutisso, drwhite
2016-03-02 15:55:47 +01:00
Bengt Rutisson
75b02a64c6 8058944: Unify the reporting strings for the GC debug level logging in G1
Reviewed-by: sjohanss, tschatzl
2016-03-02 08:41:02 +01:00
Kim Barrett
5d5113046a 8150419: Cleanup BufferNode API
Fewer public functions, cleanup allocation.

Reviewed-by: tschatzl, drwhite
2016-02-24 13:18:54 -05:00
Thomas Schatzl
02c98c814f Merge 2016-02-23 14:14:29 +01:00
Antonios Printezis
861dc13645 8146989: Introduce per-worker preserved mark stacks in ParNew
Unify and provide per-worker preserved mark stack handling in ParNew

Reviewed-by: tschatzl, ysr
2016-02-23 10:44:05 +01:00
Bengt Rutisson
e020d2f477 8150367: Add back information about the number of GC workers
Reviewed-by: sjohanss, tschatzl
2016-02-23 09:52:46 +01:00