307 Commits

Author SHA1 Message Date
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
Kim Barrett
390295caf1 8150134: Simplify concurrent refinement thread deactivation
Remove explicit deactivation and use green stop_at value.

Reviewed-by: jmasa, tschatzl
2016-02-19 15:14:59 -05:00
Mikael Gerdin
8f88752757 8149013: Remove unused and dead code from G1CollectorPolicy
Reviewed-by: ehelin, jwilhelm
2016-02-04 08:22:26 +01:00
Kim Barrett
7c684d5249 8149793: DirtyCardQueueSet::apply_closure_to_completed_buffer_helper isn't helpful
Merge helper into sole caller.

Reviewed-by: brutisso, jwilhelm, tschatzl
2016-02-17 16:00:27 -05:00
Erik Helin
65bfc48af1 8149820: Move G1YoungGenSizer to g1CollectorPolicy.cpp
Reviewed-by: jwilhelm, tbenson
2016-02-15 15:55:58 +01:00
David Lindholm
8d8189b9e5 8149650: Create a trace event for G1 heap region type transitions
Reviewed-by: jwilhelm, sjohanss
2016-02-12 09:19:10 +01:00
David Lindholm
19bc0f3f2d 8149648: Add number of regions to the G1HeapSummary event
Reviewed-by: sjohanss, jwilhelm
2016-02-11 16:49:12 +01:00
Bengt Rutisson
4096556cc6 8149542: Missing failure reporting in HeapRegion::verify
Reviewed-by: tschatzl, jprovino
2016-02-11 08:57:00 +01:00
Bengt Rutisson
413f61e977 8149541: Use log_error() instead of log_info() when verification reports a problem
Reviewed-by: jwilhelm, tbenson
2016-02-11 08:55:36 +01:00
Bengt Rutisson
ad3fb1dbbd 8148992: VM can hang on exit if root region scanning is initiated but not executed
Reviewed-by: tschatzl, pliden, jwilhelm
2016-02-10 12:56:55 +01:00
Erik Helin
92143e58fa 8148973: Rename g1/concurrentMark.{hpp,cpp,inline.hpp} to g1/g1ConcurrentMark.{hpp,cpp,inline.hpp}
Reviewed-by: tschatzl, mgerdin
2016-02-05 16:03:56 +01:00
Bengt Rutisson
68f99a673a Merge 2016-02-04 11:38:11 +01:00
Bengt Rutisson
5f51924702 8148960: Humongous mis-spelled in log output
Reviewed-by: huntch, jwilhelm
2016-02-03 18:18:00 +01:00
Artem Smotrakov
61a27307a4 8147884: Names of GC threads should be set before the threads start
Reviewed-by: mgerdin, david
2016-02-03 09:31:22 -08:00
Mikael Gerdin
bbbbfdbf3f 8148944: CollectorPolicy methods for memory allocations are specific to GenCollectorPolicy
Reviewed-by: jwilhelm, kbarrett
2016-02-03 11:33:33 +01:00
Bengt Rutisson
f4f5e64f5d 8148736: Let the G1 heap transition log regions instead of bytes
Reviewed-by: sjohanss, david
2016-02-02 12:13:05 +01:00