747 Commits

Author SHA1 Message Date
Milan Mimica
f647f78764 8182169: ArrayAllocator should take MEMFLAGS as regular parameter
Change ArrayAllocator memflags from template parameter to ordinary function parameters

Reviewed-by: kbarrett, tschatzl
2017-07-21 21:01:59 -04:00
Roman Kennke
98bd53b5c2 8180932: Parallelize safepoint cleanup
Provide infrastructure to do safepoint cleanup tasks using parallel worker threads

Reviewed-by: dholmes, rehn, dcubed, thartmann
2017-07-07 12:49:11 +02:00
Thomas Stuefe
d12604111c 8181917: Refactor UL LogStreams to avoid using resource area
Reviewed-by: ehelin, mlarsson
2017-07-21 09:50:12 +02:00
Erik Österlund
e1a674e323 Merge 2017-07-18 14:37:42 +02:00
Aleksey Shipilev
03a7858eb4 8184753: Asserts against MinObjectAlignment should avoid integer division
Delegate to is_object_aligned that does the right thing

Reviewed-by: mgerdin, tschatzl
2017-07-18 10:20:52 +02:00
Mikael Gerdin
cfd0efee84 8183935: G1GCPhaseTimes and G1RootProcessor do not include macros.hpp
Reviewed-by: tschatzl, ehelin
2017-07-17 09:30:07 +02:00
Thomas Schatzl
291f992e67 Merge 2017-07-17 14:20:24 +00:00
Thomas Schatzl
abf0bf4338 8183538: UpdateRS phase should claim cards
Have the Update RS phase also claim cards so that they will not be rescanned later during Scan RS.

Reviewed-by: ehelin, mgerdin
2017-07-17 15:26:07 +02:00
Erik Helin
c1af106f51 Merge 2017-07-17 11:07:12 +00:00
Erik Helin
e45a40a805 8183539: Remove G1RemSet::_into_cset_dirty_card_queue_set
Reviewed-by: tschatzl, mgerdin
2017-07-17 11:37:00 +02:00
Thomas Schatzl
82fe2c0759 8184452: Add bounds checking for FromCardCache
Reviewed-by: shade, rkennke
2017-07-17 10:32:36 +02:00
Mikael Gerdin
6be7a36028 8183923: Get rid of FreeBlockDictionary and dithering
Reviewed-by: ehelin, kbarrett
2017-07-17 09:30:00 +02:00
Erik Österlund
c1a71be1bf 8182703: Correct G1 barrier queue lock orderings
Moving G1 barrier queue locks down to a new 'access' rank, below special, and removing hacks around incorrect lock ordering.

Reviewed-by: kbarrett, tschatzl
2017-07-13 17:06:08 +02:00
Roman Kennke
313f3e3ef5 8179268: Factor out AdaptiveSizePolicy from top-level interfaces CollectorPolicy and CollectedHeap
Reviewed-by: pliden, sjohanss
2017-07-04 20:41:33 +02:00
Thomas Schatzl
8055a4e57d 8183128: Update RefineCardTableEntryClosure
Improve names and placement of RefineCardTableEntryClosure

Reviewed-by: ehelin, sjohanss
2017-07-12 12:26:57 +02:00
Thomas Schatzl
1af7551c3e 8183226: Remembered set summarization accesses not fully initialized java thread DCQS
Reviewed-by: sjohanss, ehelin
2017-07-12 12:25:12 +02:00
Thomas Schatzl
4de007ff3b 8183397: Ensure consistent closure filtering during evacuation
Consistently apply the cross-region check for references in the various oop closures.

Reviewed-by: sjohanss, ehelin
2017-07-10 10:10:49 +02:00
Thomas Schatzl
3df0f64e1f 8179679: Rearrange filters before card scanning
Implement micro-optimizations in the card scanning code enabled by JDK-8177044.

Reviewed-by: sjohanss, ehelin
2017-07-06 12:11:20 +02:00
Thomas Schatzl
10afb6f4f0 8183127: UpdateRSetDeferred should not enqueue cards for NULL references
Filter out NULL references during generating cards for an object.

Reviewed-by: mgerdin, ehelin
2017-07-06 10:42:02 +02:00
Jesper Wilhelmsson
efd1054686 8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8
8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8
8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8

Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: jwilhelm, ehelin, phh
2017-07-06 01:50:26 +02:00
Stefan Karlsson
a18f1c2d58 8183552: Move align functions to align.hpp
Reviewed-by: stuefe, pliden
2017-07-05 11:33:17 +02:00
Stefan Karlsson
9f9bfb8d8e 8178501: Replace usages of align macros with calls to the align inline functions
Reviewed-by: mgerdin, tschatzl
2017-04-24 09:14:09 +02:00
Stefan Karlsson
d37b9c1f8d 8178500: Replace usages of round_to and round_down with align_up and align_down
Reviewed-by: rehn, tschatzl
2017-04-13 09:57:51 +02:00
Stefan Karlsson
dbd3b5a79e 8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl
2017-07-04 15:58:10 +02:00
Stefan Karlsson
0fcf645cff 8178489: Make align functions more type safe and consistent
Reviewed-by: mgerdin, rehn
2017-04-12 17:53:18 +02:00
Thomas Schatzl
0d6c9d4030 8179677: Let G1Remset::_conc_refined_cards only count number of cards concurrently refined
Reviewed-by: sjohanss, ehelin
2017-07-04 09:16:26 +02:00
Thomas Schatzl
4318d80587 8183394: Remove unused G1RemSet::n_workers() method
Reviewed-by: mgerdin, ehelin
2017-07-04 09:15:45 +02:00
Erik Helin
97e1f47359 8153360: G1HRRSFlushLogBuffersOnVerify with remembered set verification does not work
Reviewed-by: sjohanss, tschatzl
2017-07-03 17:19:11 +02:00
Erik Helin
19992b94e3 8183281: Remove unnecessary call to increment_gc_time_stamp
Reviewed-by: sjohanss, tschatzl
2017-07-03 14:24:07 +02:00
Erik Helin
9eb98aac44 8183124: Remove OopsInHeapRegionClosure
Reviewed-by: sjohanss, tschatzl
2017-06-28 14:38:10 +02:00
Erik Helin
f01d388b13 8183122: Rename RefineRecordRefsIntoCSCardTableEntryClosure to G1RefineCardClosure
Reviewed-by: sjohanss, tschatzl
2017-06-28 14:17:28 +02:00
Thomas Schatzl
ea07d0ec2a 8178151: Clean up G1RemSet files
Remove unnecessary class members, improve method visibility and naming

Reviewed-by: ehelin, sjohanss
2017-06-28 14:15:56 +02:00
Thomas Schatzl
be1f5ab521 8183006: Remove unused IterateOopClosureRegionClosure
Reviewed-by: sjohanss, ehelin
2017-06-28 12:11:55 +02:00
Thomas Schatzl
c0fff2604d 8183002: Remove unused concurrent parameter in HeapRegionManager::par_iterate
Reviewed-by: ehelin, sjohanss
2017-06-28 12:11:48 +02:00
Thomas Schatzl
52a1ad0388 8175554: Improve G1UpdateRSOrPushRefClosure
Micro-optimizations and improving naming for the G1UpdateRSOrPushRefClosure

Reviewed-by: ehelin, sangheki
2017-06-28 10:58:19 +02:00
Thomas Schatzl
8467de8bbc 8178148: Log more detailed information about scan rs phase
Add logging about the number of cards actually scanned, claimed and skipped during the Scan RS phase

Reviewed-by: ehelin, sangheki
2017-06-14 11:26:44 +02:00
Stefan Karlsson
06cee886b1 8178490: Usages of is_object_aligned with pointers are broken
Reviewed-by: tschatzl, kbarrett
2017-04-11 23:45:37 +02:00
Stefan Karlsson
ed94ecff28 8182696: Remove gcTrace.hpp include from referenceProcessor.hpp
Reviewed-by: tschatzl, kbarrett
2017-06-22 09:07:47 +02:00
Kim Barrett
6cc7e33ce7 8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
Refactor debug.hpp and reverse include dependency.

Reviewed-by: coleenp, stefank, dcubed
2017-06-22 20:47:22 -04:00
Thomas Schatzl
f2b486212e 8177044: Remove _scan_top from HeapRegion
Remove the _scan_top member from HeapRegion using a per-gc pre-calculated table of scan limits that also subsumes other checks.

Reviewed-by: sangheki, kbarrett, ehelin
2017-06-02 13:48:01 +02:00
Thomas Schatzl
c982403296 8177707: Specialize G1RemSet::refine_card for concurrent/during safepoint refinement
Reviewed-by: ehelin, kbarrett
2017-06-02 13:47:54 +02:00
Thomas Schatzl
3e624c317a 8162928: Micro-optimizations in scanning the remembered sets
Reviewed-by: ehelin, kbarrett
2017-06-02 13:45:21 +02:00
Thomas Schatzl
92a1acb43b 8071280: Specialize HeapRegion::oops_on_card_seq_iterate_careful() for use during concurrent refinement and updating the rset
Reviewed-by: kbarrett, sangheki, ehelin
2017-06-02 13:45:15 +02:00
Coleen Phillimore
6659245612 8174749: Use hash table/oops for MemberName table
Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc

Reviewed-by: sspitsyn, stefank, jrose
2017-05-27 09:21:01 -04:00
Thomas Schatzl
4c944bd1ca 8180755: Remove use of bitMap.inline.hpp include from instanceKlass.hpp and c1_ValueSet.hpp
Reviewed-by: ehelin, coleenp, dholmes
2017-05-26 13:46:49 +02:00
Thomas Schatzl
707c566055 8177764: Humongous Reclaimed log output may be confusing
Make all log messages dealing with humongous reclaim report number of handled objects, not regions.

Reviewed-by: pliden, sjohanss
2017-05-12 11:41:05 +02:00
Chihiro Ito
61b56ef305 8166191: Missing spaces in log message during heap expansion
Reviewed-by: tschatzl
2017-05-12 11:38:20 +02:00
Alexander Harlap
4dc55a6593 8065402: G1 does not expand marking stack when mark stack overflow happens during concurrent marking
Simplified decision mechanism for marking stack expansion

Reviewed-by: kbarrett, tschatzl
2017-05-09 13:50:06 -04:00
Stefan Johansson
50ded710fd 8138888: Remove ExtendedOopClosure::apply_to_weak_ref_discovered_field
Reviewed-by: kbarrett, tschatzl
2017-05-09 11:03:45 +02:00
Kim Barrett
a65b58e18d 8178836: Improve PtrQueue index abstraction
Prefer element indexes where possible.

Reviewed-by: shade, mgerdin
2017-05-08 07:16:10 -04:00