Thomas Schatzl
6fb4d7356b
8173229: Wrong assert whether all remembered set entries have been iterated over in presence of coarsenings
...
Remove asserts as they are almost useless.
Reviewed-by: mgerdin, ehelin
2017-01-27 13:12:53 +01:00
Arno Zeller
43b7b1bd77
8171924: Use SIZE_FORMAT to print size_t values
...
Reviewed-by: dholmes, tschatzl, coleenp, goetz
2016-12-22 16:51:25 +01:00
Stefan Johansson
5ff4b1bb78
8171235: Move archive object code from G1MarkSweep into G1ArchiveAllocator
...
Reviewed-by: tschatzl, kbarrett
2016-12-07 13:51:20 +01:00
Thomas Schatzl
3b93aefe93
8162104: Use in_cset() instead of obj_in_cs()
...
Reviewed-by: ehelin, sjohanss
2017-02-23 10:19:05 +01:00
Thomas Schatzl
342c0bc788
8160874: Remove typo in G1InitalMarkClosures
...
Reviewed-by: stefank, sjohanss
2017-02-23 10:18:21 +01:00
Bharadwaj Yadavalli
2841c5eb2b
8171008: Integrate AOT compiler into JDK
...
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Kirill Zhaldybin
8d6d1e4cda
8170490: Convert TestBufferingOopClosure_test to GTest
...
Reviewed-by: dfazunen, iignatyev
2016-12-01 12:09:02 +03:00
Leonid Mesnik
9a28eb0745
8166898: G1SATBCardTableLoggingModRefBS::invalidate() incorrect with whole_heap == true
...
Reviewed-by: tschatzl, kbarrett
2016-11-24 16:48:22 +03:00
Thomas Schatzl
06bd79afed
8057003: Large reference arrays cause extremely long synchronization times
...
Slice large object arrays into parts so that the synchronization of marking threads with an STW pause request does not take long.
Reviewed-by: ehelin, pliden
2016-11-24 11:27:57 +01:00
Thomas Schatzl
557d68a510
8169703: G1 crashes with guarantee(pretouch_gang != NULL) failed: No pretouch gang specified
...
Allow use of AlwaysPreTouch without passing a WorkGang.
Reviewed-by: kbarrett, dfazunen, ddmitriev
2016-11-24 10:05:47 +01:00
Kim Barrett
358f09e305
8166811: Missing memory fences between memory allocation and refinement
...
Refactored to have needed barrier
Reviewed-by: tschatzl, ehelin
2016-11-22 20:50:31 -05:00
Kim Barrett
213906ee83
8166607: G1 needs klass_or_null_acquire
...
Use acquire where needed, split refinment humongous and non to simplify.
Reviewed-by: tschatzl, ehelin
2016-11-22 20:24:47 -05:00
Kim Barrett
7d9d3aa1a0
8169423: Infinite loop in G1's ConcurrentMarkThread
...
Also terminate loop if has_aborted flag is set.
Reviewed-by: tschatzl, sjohanss
2016-11-15 19:39:51 -05:00
Erik Helin
d19575bfac
8167679: G1 phase logging is messy
...
Reviewed-by: sjohanss, tschatzl
2016-11-07 10:38:42 +01:00
Erik Helin
db9932fb37
8168904: Initialize and reset G1 phase times to zero
...
Reviewed-by: sjohanss, jprovino
2016-10-28 15:50:09 +02:00
Boris Molodenkov
ebdc27f789
8165451: Convert WorkerDataArray_test to GTest
...
Reviewed-by: jwilhelm
2016-10-26 17:29:47 +03:00
Vsevolod Tolstopyatov
9d95a1541b
8142749: HeapRegion::_predicted_bytes_to_copy is unused and can be removed
...
Reviewed-by: tschatzl, drwhite
2016-05-30 14:42:50 +03:00
Joseph Provino
af75e7389a
8160055: Misplaced call to ClassLoaderDataGraph::clear_claimed_marks during initial mark
...
The call to ClassLoaderDataGraph::clear_claimed_marks() during initial mark in g1CollectedHeap.cpp:4420 is misplaced.
Reviewed-by: tschatzl, kbarrett
2016-10-24 10:10:30 -04:00
Kirill Zhaldybin
5eff90fe32
8159817: Convert FreeRegionList_test to GTest
...
Reviewed-by: kbarrett
2016-10-20 23:09:03 +03:00
Dmitry Fazunenko
d530964acc
8165621: Convert TestG1BiasedArray_test to GTest
...
Reviewed-by: jwilhelm, kzhaldyb
2016-10-18 19:26:07 +04:00
Kirill Zhaldybin
7487c57399
8159818: Convert IHOP_test to GTest
...
Reviewed-by: tschatzl, iignatyev
2016-09-26 17:49:01 +03:00
Kim Barrett
7a9ceeb8ef
8166663: Simplify oops_on_card_seq_iterate_careful
...
Remove unnecessary parameter, change return value.
Reviewed-by: tschatzl, mgerdin
2016-09-26 14:38:35 -04:00
Erik Österlund
1d00efa1c6
8165858: heapRegionManager is missing volatile specifier for _claims
...
Added volatile specifier.
Reviewed-by: kbarrett, tschatzl
2016-09-24 16:02:29 -04:00
Joseph Provino
6e3a0f41c1
Merge
2016-09-20 22:38:26 +00:00
Joseph Provino
e11ceb441a
Merge
2016-09-20 20:45:35 +00:00
Erik Österlund
f6f5dfdb4a
8033552: Fix missing missing volatile specifiers in CAS operations in GC code
...
Add missing volatile specifiers.
Reviewed-by: kbarrett, tschatzl
2016-09-20 15:42:17 -04:00
Joseph Provino
0086595519
8164482: [REDO] G1 does not implement millis_since_last_gc which is needed by RMI GC
...
G1 does not return a correct value for the CollectedHeap::millis_since_last_gc()
Reviewed-by: tschatzl, kbarrett
2016-09-20 10:27:51 -04:00
Kim Barrett
9b7c58376f
8166228: Remove unused HeapRegion::object_iterate_mem_careful()
...
Removed unused function.
Reviewed-by: mgerdin, tschatzl
2016-09-19 19:59:28 -04:00
Thomas Schatzl
c354a62301
8166207: Use of Copy::conjoint_oops_atomic in global mark stack causes crashes on arm64
...
Use Copy::conjoint_memory_atomic() instead.
Reviewed-by: kbarrett
2016-09-19 22:55:26 +02:00
Thomas Schatzl
317f1aa044
8157952: Parallelize Memory Pretouch
...
Use multiple threads to pretouch memory using -XX:+AlwaysPreTouch to use more memory bandwidth
Reviewed-by: jmasa, sangheki
2016-09-16 11:33:47 +02:00
Thomas Schatzl
94bbcbd378
8159422: Very high Concurrent Mark mark stack contention
...
Decrease contention on mark stack by splitting locks, and minimizing the amount of time these locks are held. Improve mark stack management.
Reviewed-by: kbarrett, mgerdin, eosterlund
2016-09-15 16:44:19 +02:00
Thomas Schatzl
c719b0171c
8164948: Initializing stores of HeapRegions are not ordered with regards to their use in G1ConcurrentMark
...
Add a storestore barrier before publishing newly initialized HeapRegion instances, and place a loadload barrier before use of members.
Reviewed-by: sjohanss, sangheki
2016-09-13 11:32:45 +02:00
Stefan Johansson
f6a7898995
8114823: G1 doesn't honor request to disable class unloading
...
Reviewed-by: tschatzl, mgerdin
2016-09-12 16:34:36 +02:00
Thomas Schatzl
1075dcd335
8165313: Inserting freed regions during Free Collection Set serial phase takes very long on huge heaps
...
Sort the collection set in ascending order so that the optimization when adding free regions can be exploited.
Reviewed-by: sjohanss, mgerdin
2016-09-12 09:34:51 +02:00
Thomas Schatzl
c271d83599
8165292: The gc+task logging is repeated a lot, decreasing the usefulness of -Xlog:gc*=info
...
Separate number of workers used debugging information from adaptive worker sizing log messages.
Reviewed-by: ehelin, sjohanss, jmasa
2016-09-07 09:20:10 +02:00
Thomas Schatzl
e4f4b40488
8164936: G1 age table printout contains contents from previous GC
...
Split tenuring threshold update and printing into two separate parts so that they can be used independently.
Reviewed-by: jmasa, sangheki
2016-09-02 09:49:10 +02:00
Kirill Zhaldybin
d871b35f40
8164230: Convert TestCodeCacheRemSet_test to GTest
...
Reviewed-by: mgerdin, dfazunen
2016-08-29 20:15:12 +03:00
Kirill Zhaldybin
d65aa31fd5
8164028: Convert TestPredictions_test to GTest
...
Reviewed-by: jwilhelm, dfazunen, ehelin
2016-08-22 16:43:56 +03:00
Kim Barrett
66706edf15
8156500: Move Reference pending list into VM to prevent deadlocks
...
Move reference pending list and locking into VM
Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:48:16 -04:00
Alejandro Murillo
7b50aee93b
Merge
2016-08-26 10:02:47 -07:00
Erik Gahlin
c98e599afa
8164523: Clean up metadata for event based tracing
...
Reviewed-by: mlarsson, mgronlun
2016-08-23 19:21:48 +02:00
Jesper Wilhelmsson
4fc1987255
8164124: [BACKOUT] G1 does not implement millis_since_last_gc which is needed by RMI GC
...
Reviewed-by: jprovino
2016-08-19 17:19:47 +02:00
Joseph Provino
08bdecf0c4
8071770: G1 does not implement millis_since_last_gc which is needed by RMI GC
...
G1 does not return a correct value for the CollectedHeap::millis_since_last_gc
Reviewed-by: jmasa, tschatzl
2016-08-02 16:39:33 -04:00
David Holmes
5f1f4489ac
8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
...
Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Jon Masamitsu
d618ceab2e
8159073: : Error handling incomplete when creating GC threads lazily
...
Reviewed-by: drwhite, tschatzl, sangheki
2016-06-08 14:11:51 -07:00
Thomas Schatzl
2313844e20
8161993: G1 crashes if active_processor_count changes during startup
...
Use the initial active processor count for memory initialization instead of the current active one.
Reviewed-by: dholmes, mgerdin
2016-07-26 11:04:20 +02:00
Goetz Lindenmaier
da3339948e
8161258: Simplify including platform files
...
Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.
Reviewed-by: dholmes, coleenp, kbarrett
2016-07-13 12:23:05 +02:00
Erik Helin
b630a3ff47
8159464: DumpHeap.java hits assert in G1 code
...
Reviewed-by: mgerdin, tschatzl
2016-07-21 14:55:54 +02:00
Thomas Schatzl
ada5ab192f
8034842: Parallelize the Free CSet phase in G1
...
Reviewed-by: jmasa, ehelin
2016-07-19 10:31:41 +02:00
Thomas Schatzl
1244572841
8160897: Concurrent mark mark stack memory allocation leaks memory
...
Fix and clean up concurrent mark mark stack memory allocation.
Reviewed-by: jmasa, sangheki
2016-07-15 13:33:44 +02:00