724 Commits

Author SHA1 Message Date
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
Per Lidén
46da2cd7f3 Merge 2016-03-15 13:46:48 +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
Per Lidén
e313c8214f 8062506: Java GCCause enum is out of sync with C++ GCCause enum
Reviewed-by: stefank, tschatzl
2016-03-15 08:01:50 +01:00
Per Lidén
a93ebd8e89 8067768: Check for too small values for -Xmx
Reviewed-by: jwilhelm, dfazunen
2016-03-14 09:42:17 +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
Bengt Rutisson
608079eed1 8151602: Remove logging from refillLinearAllocBlockIfNeeded()
Reviewed-by: tschatzl, sjohanss
2016-03-11 10:30:23 +01:00
Bengt Rutisson
4549d85d87 8151603: Use error stream instead of tty for logging before ShouldNotReachHere()
Reviewed-by: mgerdin, sjohanss
2016-03-11 10:27:45 +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
7aaa74dca3 Merge 2016-03-11 10:06:30 +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
Per Lidén
75412035e3 8134749: SoftReferences declared dead too early
Reviewed-by: jmasa, tbenson
2016-03-11 09:09:52 +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
5821ebce57 Merge 2016-03-10 10:17:34 +01:00
Bengt Rutisson
df20815bbb 8151514: Remove the noisy NOISY debugging code from parCardTableModRefBS.cpp
Reviewed-by: tschatzl, pliden
2016-03-10 08:54:43 +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
Bengt Rutisson
cc0120e872 8151513: Remove debugging code from BarrierSet
Reviewed-by: pliden, stefank
2016-03-09 14:05:50 +01:00
Stefan Karlsson
7419b91e7e 8151436: Leaner ArrayAllocator and BitMaps
Reviewed-by: tschatzl, pliden, kbarrett
2016-03-09 12:44:12 +01:00
Thomas Schatzl
94c75d0f00 8151414: os::pretouch_memory should take void* instead of char*
Change parameters and remove associated casts.

Reviewed-by: pliden, stefank
2016-03-09 09:56:10 +01:00
Antonios Printezis
00a657d109 8146991: Introduce per-worker preserved mark stacks in ParallelGC
Reviewed-by: tschatzl, ysr
2016-03-09 09:45:47 +01:00
Jon Masamitsu
c5a4113326 Merge 2016-03-07 23:06:34 +00:00
Sangheon Kim
60d1119f78 Merge 2016-03-07 21:40:10 +00:00
Carsten Varming
f913f3be69 8150013: ParNew: Prune nmethods scavengable list
Speed up ParNew collections by pruning the list of scavengable nmethods.

Reviewed-by: jmasa, tonyp, twisti
2016-03-07 14:41:31 -05: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
Sangheon Kim
400246c87d Merge 2016-03-07 18:56:02 +00:00
Jesper Wilhelmsson
eadcb3b145 Merge 2016-03-07 19:17:35 +01: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
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
Dmitry Dmitriev
34effca3ac 8149973: Optimize object alignment check in debug builds
Reviewed-by: coleenp, tschatzl
2016-03-07 10:36:50 +03:00
Richard Reingruber
3fcf821982 8151101: Improve UseParallelGC parallelization of object array processing
Reviewed-by: tschatzl, shade
2016-03-03 11:36:25 -08: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
Jesper Wilhelmsson
6068abeb00 6787054: Par compact - remove code that clears source_region
Reviewed-by: mgerdin, tschatzl
2016-02-29 15:47:41 +01: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