666 Commits

Author SHA1 Message Date
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
Jon Masamitsu
2945c4da22 Merge 2016-05-09 17:36:13 +00:00
Jon Masamitsu
fbe14c5250 8155992: Change name of StealRegionCompactionTask to something that emphasizes the compaction task
Reviewed-by: kbarrett, ehelin, drwhite
2016-05-06 14:35:59 -07:00
Vladimir Ivanov
5dc9f56544 Merge 2016-05-09 13:13:07 +03:00
Vladimir Ivanov
622a5ae6f0 Merge 2016-05-06 18:20:50 +03:00
Kevin Walls
fc13e59776 Merge 2016-05-06 09:54:58 +00:00
Jon Masamitsu
a74454fc1e Merge 2016-05-05 20:11:14 +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
Antonios Printezis
80dc8b84bc 8155257: ParNew/CMS: Clean up promoted object tracking
Reviewed-by: jmasa, ysr
2016-05-05 08:51:27 -07:00
Jon Masamitsu
05ae0adfe4 8156050: ParallelCompact_test should skip test if UseParallelOldGC is off
Reviewed-by: drwhite, pliden
2016-05-04 15:04:15 -07: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
Leonid Mesnik
094416e1ec 8155946: Minimal VM fails to built after 8154153: PS: Restore preserved marks in parallel
Reviewed-by: stefank
2016-05-04 17:47:05 +03: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
Zoltan Majo
b5f1bd24d2 Merge 2016-04-29 12:05:31 +02:00
Zoltan Majo
413417522f 8153340: Disallow misconfiguration and improve the consistency of allocation prefetching
Improve allocation prefetching.

Reviewed-by: kvn
2016-04-29 08:32:42 +02:00
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
Jon Masamitsu
15134d34fc Merge 2016-05-04 00:00:24 +00:00
Jon Masamitsu
6663f0cfed 8155966: Assertion failures when -XX:+UseParallelGC -XX:ParallelGCThreads=1
Reviewed-by: drwhite, kbarrett
2016-05-03 16:19:42 -07: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
Jon Masamitsu
b12be07514 Merge 2016-05-02 17:46:08 +00: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
Thomas Schatzl
238fada762 8155232: Augment Workgang to run task with a given number of threads
Add a method to run a WorkGang with a set number of threads.

Reviewed-by: stefank, 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
Jon Masamitsu
cf2c110c5e 8154743: Internal Error: psParallelCompact.hpp assert(addr >= _region_start) failed: bad addr
Reviewed-by: tschatzl, kbarrett
2016-04-26 09:19:19 -07: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
Antonios Printezis
41a5d2d430 8154153: PS: Restore preserved marks in parallel
Restore preserved marks after evacuation failure in parallel using the PreservedMark infrastructure.

Reviewed-by: tschatzl
2016-04-26 10:19:57 +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
Erik Helin
bbe16a058e Merge 2016-04-25 17:24:33 +02:00