523 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
f2490e9194 8024137: Flags should be set using the proper macro
Reviewed-by: sangheki, drwhite, jmasa
2016-06-21 19:37:30 +02:00
Thomas Schatzl
7fd90042ca 8159978: Use an array to store the collection set regions instead of linking through regions
Fix a potential problem with memory visibility in the sampling thread in the collection set by changing the way we store the collection set.

Reviewed-by: ehelin, jmasa
2016-07-06 11:22:55 +02:00
Per Lidén
3ad9aa0f10 8159974: G1 String deduplication logging not aligned with the rest of G1
Reviewed-by: stefank, tschatzl
2016-07-04 11:27:11 +02:00
Per Lidén
e7a6ecea86 8158871: Long response times with G1 and StringDeduplication
Reviewed-by: stefank, sjohanss, tschatzl, dfazunen
2016-06-27 09:35:18 +02:00
Alejandro Murillo
080739ce03 Merge 2016-06-23 17:11:18 -07:00
Alejandro Murillo
f7095d870c Merge 2016-06-23 17:07:27 -07:00
Erik Helin
109e24d96e 8155099: Remove duplicate comments from G1Policy
Reviewed-by: jmasa, drwhite
2016-06-22 14:03:01 +02:00
Thomas Schatzl
423717c156 8152438: Threads may do significant work out of the non-shared overflow buffer
Before processing an element in the non-shared overflow buffer, try to push it into the local shared buffer to keep it full.

Reviewed-by: jmasa, ehelin, sjohanss
2016-06-22 10:34:01 +02:00
Per Lidén
b8668ac945 8159350: G1 String deduplication logging malformed
Reviewed-by: stefank, sjohanss
2016-06-15 10:46:20 +02:00
Cheleswer Sahu
93043ecb8f 8150900: Implement diagnostic_pd
Reviewed-by: twisti, gziemski, kevinw
2016-05-24 16:02:45 +05:30
Vladimir Kozlov
1246644d4d Merge 2016-06-10 10:13:30 -07:00
Leonid Mesnik
84cab6c56f 8156032: Clean up parallel GC specific code from vm/gc/shared/preservedMarks.cpp
Reviewed-by: stefank, tschatzl
2016-06-09 16:52:32 +03:00
Tobias Hartmann
35f9db149b 8156760: VM crashes if -XX:-ReduceInitialCardMarks is set
Fixed several compiler crashes with disabled ReduceInitialCardMarks.

Reviewed-by: roland, minqi, dlong, tschatzl, kvn
2016-06-02 08:46:52 +02:00
Stefan Johansson
1f60d4b0c3 8156028: G1YoungGenSizer _adaptive_size not correct when setting NewSize and MaxNewSize to the same value
Reviewed-by: jmasa, sangheki, drwhite
2016-05-24 10:05:03 +02:00
Joseph Provino
5648deddee 8153582: Logging of ConcGCThreads is done too early
ConcGCThreads is logged as 0 because it hasn't been initialized yet.

Reviewed-by: tschatzl, dfazunen
2016-05-19 10:48:28 -04:00
Goetz Lindenmaier
e84506041e 8156929: [aix] Add missing includes
Reviewed-by: coleenp, dholmes
2016-05-17 03:26:07 -04:00
Gerard Ziemski
ef0b81c5d3 Merge 2016-05-10 20:56:31 +00:00
Gerard Ziemski
a991801b42 8073500: Prevent certain commercial flags from being changed at runtime
Implement new writeable mechanism for flag control

Reviewed-by: coleenp, iklam
2016-05-10 12:10:21 -05:00
Thomas Schatzl
125e864c0d 8047328: Improve memory usage for cards in SparsePRTEntry
Use uint16_t for cards in a SparsePRTEntry, and use an additional integer to record the current position on where to add the next card.

Co-authored-by: Andreas Sjoberg <andreas.sjoberg@oracle.com>
Reviewed-by: mgerdin, ehelin
2016-05-10 16:42:14 +02:00
Thomas Schatzl
99c9a7f6f6 8155810: Bound the number of root region scan threads to the number of survivor regions
Reviewed-by: jmasa, sjohanss
2016-05-10 16:40:15 +02:00
Thomas Schatzl
a7471fdca3 8155721: Sparse remset wastes half of entry memory
Only allocate as much SparsePRTEntry memory as required, not for the theoretical maximum.

Reviewed-by: mgerdin, sjohanss
2016-05-10 16:40:09 +02:00
Thomas Schatzl
029fbccccb 8156660: JDK-8150393 does not set _scan_in_progress properly
Reviewed-by: ehelin, mgerdin
2016-05-10 16:40:04 +02:00
Erik Helin
fdc03a7cd8 8156022: Add prediction for cost_per_byte_ms to G1Analytics
Reviewed-by: sjohanss, mgerdin
2016-05-04 11:29:05 +02:00
Kevin Walls
fc13e59776 Merge 2016-05-06 09:54:58 +00:00
Kim Barrett
b260a19e7b 8156072: AllocatedObj msgs coming out during -version etc
Removed obsolete print.

Reviewed-by: jmasa, ecaspole
2016-05-05 13:47:46 -04:00
Mikael Gerdin
9cad8a6125 8155943: Move G1Eden/SurvivorRegions into their own source files
Reviewed-by: sjohanss, ehelin
2016-05-04 13:12:23 +02:00
Cheleswer Sahu
323c1d5dbf 8054326: Confusing message in "Current rem set statistics"
Reviewed-by: pliden, kevinw
2016-05-02 13:28:08 +05:30
Mikael Gerdin
432cff9626 8155634: Clean out old logging and dead code from SurvRateGroup
Reviewed-by: jmasa, tschatzl, sjohanss
2016-04-27 16:20:05 +02:00
Mikael Gerdin
512ffd9ded Merge 2016-05-04 10:06:00 +02:00
Stefan Karlsson
f8be292b88 8141501: Problems with BitMap buffer management
Reviewed-by: pliden, kbarrett
2016-05-03 22:45:27 +02:00
Mikael Gerdin
462ad706f1 8150721: Don't explicitly manage G1 young regions in YoungList
Reviewed-by: ehelin, sjohanss, tschatzl
2016-05-03 12:33:10 +02:00
Kim Barrett
c4bafa7975 8155524: HotCardCache shouldn't be part of ConcurrentG1Refine
Make G1CollectedHeap owner of HotCardCache.

Reviewed-by: jmasa, mgerdin, tschatzl
2016-05-02 12:07:58 -04:00
Thomas Schatzl
d8aeeee668 Merge 2016-05-02 18:54:09 +02:00
Yu Zhang
547e732790 8154955: Negative Other Time in gc logs due to 'Wait for Root Region Scan' not included
Move the note_gc_start() call before the wait_for_root_region_scanning() one.

Reviewed-by: kbarrett, tschatzl
2016-05-02 17:45:19 +02:00
Mikael Gerdin
fead1c01cd Merge 2016-05-02 16:53:03 +02:00
Thomas Schatzl
d4bfb42264 8155811: Remove HeapRegionRemSet::_coarse_dirty flag
Reviewed-by: mgerdin, jmasa
2016-05-02 14:14:16 +02:00
Thomas Schatzl
461078c649 8155813: Fix indentation in G1RemSetScanState::clear_card_table()
Reviewed-by: mgerdin
2016-05-02 14:13:05 +02:00
Thomas Schatzl
39d3c3f512 8155229: Tune thread usage for live data clearing
Reviewed-by: mgerdin, drwhite
2016-05-02 10:24:41 +02:00
Thomas Schatzl
53d670b469 8155233: Lazy coarse map clear
Only clear the coarse bitmaps of the remembered sets if they were dirtied.

Reviewed-by: jmasa, mgerdin
2016-05-02 10:24:41 +02:00
Thomas Schatzl
72977f4009 8155230: Tune thread usage for mark bitmap clear
Reviewed-by: jmasa, mgerdin
2016-05-02 10:24:41 +02:00
Thomas Schatzl
bd8bbf9e27 8153507: Improve Card Table Clear Task
Move card table clear code into remembered set related files. Improve work distribution of this task, and tune thread usage.

Reviewed-by: jmasa, mgerdin
2016-05-02 10:24:41 +02:00
Mikael Gerdin
8f81f1a52b 8150393: Maintain the set of survivor regions in an array between GCs
Reviewed-by: tschatzl, sjohanss
2016-04-27 16:11:45 +02:00
Vladimir Ivanov
84d06ff2d0 Merge 2016-04-29 14:17:34 +03:00
Stefan Johansson
4956880699 8155245: Add logging when MMU target is violated
Reviewed-by: ehelin, mgerdin
2016-04-29 08:39:22 +02:00
Vladimir Ivanov
72747f47fd Merge 2016-04-29 02:13:40 +03:00
Mikael Gerdin
61541740ca 8155209: Move setting of young index in cset to G1CollectionSet
Reviewed-by: sjohanss, ehelin
2016-04-27 11:25:16 +02:00
Stefan Johansson
97a96449f9 8155087: Calculation in other_time_ms() is incorrect
Reviewed-by: tschatzl, ehelin
2016-04-27 16:02:32 +02:00
Stefan Johansson
b2c560bc98 8155082: Refactor mutator region restriction
Reviewed-by: mgerdin, tschatzl
2016-04-27 16:02:02 +02:00
Antonios Printezis
76adc93577 8151556: Use the PreservedMarks* classes for the G1 preserved mark stacks
Reviewed-by: tschatzl
2016-04-26 10:23:08 +02:00
Rickard Bäckman
b853eb7f5c 8151956: Support non-continuous CodeBlobs in HotSpot
Reviewed-by: iveresov, thartmann, simonis
2016-04-26 10:28:51 +02:00