419 Commits

Author SHA1 Message Date
Kim Barrett
872e04a6a6 8226793: Replace OopStorage dup_name with os::strdup
Use os::strdup and os::free.

Reviewed-by: tschatzl
2019-07-04 13:26:41 -04:00
Roman Kennke
4b821f00f3 8226822: GC interface for C1 runtime calls
Reviewed-by: neliasso, roland
2019-07-04 17:02:17 +02:00
Antonios Printezis
dacaff48e2 8223575: add subspace transitions to gc+metaspace=info log lines
Reviewed-by: stuefe, tschatzl
2019-07-03 15:46:48 -04:00
Mikael Vidstedt
c200fc1f34 Merge 2019-07-03 07:56:41 -07:00
Poonam Bajaj
58d760898e 8227178: Backout of 8215523
Reviewed-by: tschatzl
2019-07-03 14:33:40 +00:00
Poonam Bajaj
355346c10a 8215523: jstat reports incorrect values for OU for CMS GC
Reviewed-by: tschatzl, sgehwolf
2019-07-01 18:24:06 +00:00
Nils Eliasson
37a2e72937 8226287: Make process_users_of_allocation handle gc barriers
Reviewed-by: kvn, roland
2019-07-01 10:49:58 +02:00
Thomas Schatzl
d46d9318c1 8213108: Improve work distribution during remembered set scan
Before scanning the heap for roots into the collection set, merge them into a single remembered set (card table) and do work distribution based on location like other collectors do.

Reviewed-by: kbarrett, lkorinth
2019-06-27 11:48:32 +02:00
Kim Barrett
805258f3a9 8225255: Make SATB qset lock-free
Refactor PtrQueueSet, use lock-free stack for SATB completed buffers

Reviewed-by: tschatzl, shade
2019-06-26 13:18:38 -04:00
Per Lidén
0cc21805ba 8225779: Remove unused CollectedHeap::cell_header_size()
Reviewed-by: eosterlund, rkennke, shade
2019-06-19 08:43:23 +02:00
Robbin Ehn
21ab801a22 8226227: Missing include of thread.inline.hpp
Reviewed-by: coleenp
2019-06-18 11:06:29 +02:00
Aleksey Shipilev
5370654910 8225743: Remove ShenandoahBarrierSetC2::escape_is_barrier_node and related GC interface
Reviewed-by: roland, eosterlund
2019-06-14 16:47:58 +02:00
Kim Barrett
ae6dee44ed 8226366: Excessive ServiceThread wakeups for OopStorage cleanup
Drive wakes via safepoint cleanups with interval minimums.

Reviewed-by: coleenp, tschatzl
2019-07-02 18:24:47 -04:00
Erik Österlund
ec5bfaba53 8219687: G1 asserts nmethod should not be unloaded during parallel code cache unloading
Reviewed-by: tschatzl, kvn
2019-07-02 11:33:01 +02:00
Stefan Karlsson
2fded1c480 8223837: Add -XX:MinHeapSize flag to set the minimum heap size
Reviewed-by: pliden, tschatzl
2019-06-07 13:50:14 +02:00
Nils Eliasson
ccbc87cc31 8226287: Make process_users_of_allocation handle gc barriers
Reviewed-by: kvn, roland
2019-07-01 10:49:58 +02:00
Nils Eliasson
75e9d0a290 8224675: Late GC barrier insertion for ZGC
Reviewed-by: roland, eosterlund, pliden
2019-02-14 14:54:05 +01:00
Per Lidén
a6aa1030b4 8222145: Add -XX:SoftMaxHeapSize flag
Reviewed-by: eosterlund, tschatzl
2019-06-07 11:19:34 +02:00
Thomas Stuefe
dbc3f88d5c 8224600: Provide VM.events command
Reviewed-by: minqi, dholmes, mbaesken, clanger
2019-06-05 07:25:09 +02:00
Roland Westrelin
98b1d8c798 8173196: [REDO] C2 does not optimize redundant memory operations with G1
Reviewed-by: thartmann, kvn
2019-05-21 15:46:09 +02:00
Per Lidén
868ab3044f 8224185: ZGC: Introduce "High Usage" rule
Reviewed-by: eosterlund
2019-05-23 08:09:29 +02:00
Stefan Karlsson
4914e0ee95 8224203: Remove need to specify type when using FLAG_SET macros
Reviewed-by: rehn, pliden, coleenp
2019-05-22 13:06:31 +02:00
Stefan Karlsson
c9846fce19 8224201: Simplify JVM flag macro expansions
Reviewed-by: rehn, kvn, stuefe, tschatzl, coleenp, gziemski
2019-05-22 13:05:37 +02:00
Kim Barrett
54d0b2a8d6 8224167: Refactor PtrQueue completed buffer processing
Add handle_completed_buffer and refactor.

Reviewed-by: tschatzl, shade
2019-05-21 19:19:44 -04:00
Yasumasa Suenaga
a5c506b411 8223186: HotSpot compile warnings from GCC 9
Reviewed-by: dholmes, aeubanks
2019-05-11 01:17:18 +09:00
Coleen Phillimore
77d60eff6a 8223626: move print() functions to cpp files
Improve debugging experience

Reviewed-by: dholmes, dlong
2019-05-10 09:05:29 -04:00
Stefan Karlsson
c90f3ee68b 8223624: Cleanup includes of universe.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Stefan Karlsson
2841f70585 8223622: Move Universe usage out of memAllocator.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Stefan Karlsson
cd6079acdd 8223620: Move IsGCActiveMark implementation out of header
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Stefan Karlsson
e321fd163d 8223619: Move VerifyOption out of Universe
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Stefan Karlsson
5a8ba256df 8223136: Move compressed oops functions to CompressedOops class
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Kim Barrett
a8e13a5839 8221359: Eliminate SATBMarkQueueSet::filter_thread_buffers
Removed filter_thread_buffers

Reviewed-by: tschatzl, sangheki
2019-05-03 23:35:12 -04:00
Stefan Karlsson
087c03a0c7 8198505: Remove CollectorPolicy and its subclasses
Reviewed-by: pliden, shade
2019-04-15 11:47:46 +02:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Coleen Phillimore
6fb8502b77 8074355: make MutexLocker smarter about non-JavaThreads
Use safepoint_check_always/safepoint_check_never instead of safepoint_check_sometimes for locks that are taken by JavaThreads and non-JavaThreads

Reviewed-by: dholmes, rehn, dcubed, lmesnik
2019-05-01 08:56:38 -04:00
Jean Christophe Beyler
4b6adaa5f1 8215113: Sampling interval not always correct
Fix the sampling interval

Reviewed-by: phh, sspitsyn
2019-04-30 15:39:42 -07:00
Coleen Phillimore
ccb2e9d925 8222988: Use MonitorLocker rather than MutexLocker when wait/notify used
Fixed use cases in code except CMS.

Reviewed-by: rehn, dcubed
2019-04-29 16:01:52 -04:00
Coleen Phillimore
fbafef11c0 8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.

Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Per Lidén
2accc59e60 8222462: Introduce CollectedHeap::unused()
Reviewed-by: stefank, eosterlund
2019-04-25 08:55:49 +02:00
Per Lidén
72491e961c 8222664: runtime/appcds/sharedStrings/SharedStringsStress.java assert GC active during NoGCVerifier
Reviewed-by: iklam, stefank
2019-04-25 08:55:49 +02:00
Stefan Karlsson
23f02171c8 8221393: ResolvedMethodTable too small for StackWalking applications
Reviewed-by: coleenp, rehn
2019-04-10 15:41:04 +02:00
Claes Redestad
89a267ca46 8221836: Avoid recalculating String.hash when zero
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: jrose, adinn
2019-04-10 12:05:50 +02:00
Thomas Schatzl
884545e54f 8218668: Clean up evacuation of optional collection set
Better integrate optional collection set evacuation into the existing evacuation scheme, fixing a few minor issues with the initial implementation.

Reviewed-by: kbarrett, sangheki
2019-04-08 20:37:52 +02:00
Kim Barrett
e7e00f7ae0 8221102: Allow GC threads to participate in threads claiming protocol
Expand claim counter from 1bit to uintx, with rare overflow handling.

Reviewed-by: tschatzl, rkennke
2019-04-02 13:08:38 -04:00
Per Lidén
a5cec7fe04 8221732: Introduce CollectedHeap::hash_oop()
Reviewed-by: kbarrett, tschatzl, stefank
2019-04-02 10:04:25 +02:00
Per Lidén
a7dd794beb 8221648: Remove CollectedHeap::is_in_closed_subset()
Reviewed-by: kbarrett, tschatzl
2019-04-02 10:04:25 +02:00
Kim Barrett
757e6ecfec 8220671: Initialization race for non-JavaThread PtrQueues
Include on_thread_(attach|detach) under NJTList_lock.

Reviewed-by: pliden, rkennke
2019-04-01 17:11:38 -04:00
Stefan Karlsson
abb2d67803 8220610: Make CollectedHeap nmethod functions pure virtual
Reviewed-by: shade
2019-04-01 18:34:39 +02:00
Per Lidén
53c904df4a 8221394: Clean up ConcurrentGCThread
Reviewed-by: kbarrett, eosterlund
2019-03-28 19:43:59 +01:00
Per Lidén
8e258756bb 8221392: Reduce ConcurrentGCThreads spinning during start up
Reviewed-by: eosterlund, kbarrett
2019-03-27 10:38:49 +01:00