874 Commits

Author SHA1 Message Date
Per Lidén
a4f21eeb03 8201646: Introduce ReferenceDiscoverer interface
Reviewed-by: stefank, tschatzl, rkennke
2018-04-19 07:54:50 +02:00
Stefan Johansson
ffd8b1f9bd 8196071: Change G1 Full GC heap and thread sizing ergonomics
Reviewed-by: tschatzl, sangheki
2018-04-19 09:15:17 +02:00
Lutz Schmidt
edbbeae978 8200450: Root cause analysis for JDK-8200366
Add safeguard checks to make sure CodeBlob if fully initialized

Reviewed-by: kvn
2018-04-18 21:10:09 -07:00
Coleen Phillimore
ddfd4c33c6 8201556: Disallow reading oops in ClassLoaderData if unloading
Move class_loader oop to an OopHandle, and assert that holder is alive when getting class_loader.

Reviewed-by: kbarrett, adinn
2018-04-18 18:43:04 -04:00
Coleen Phillimore
c215aa5889 8201537: Remove is_alive closure from Klass::is_loader_alive()
Remove is_alive closure from callers of Klass::is_loader_alive so that cleaning metadata doesn't require GC closure.

Reviewed-by: adinn, stefank
2018-04-18 13:37:39 -04:00
Thomas Schatzl
2006105114 8201527: Bump default value of G1RefProcDrainInterval
Due to high startup cost of marking, lower the frequency of draining the mark stack generated by reference processing.

Reviewed-by: sangheki, sjohanss
2018-04-18 19:00:32 +02:00
Coleen Phillimore
36d1d59425 8201505: Use WeakHandle for ProtectionDomainCacheTable and ResolvedMethodTable
8193524: Redefining a method that removes use of 1 or more lambda expressions causes the JVM to hang

Remove oop pointers from runtime data structures.

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Reviewed-by: lfoltan, stefank
2018-04-18 12:06:53 -04:00
Coleen Phillimore
1ee531afe9 8200555: OopHandle should use Access API
Add RootAccess<> to OopHandle.resolve() in runtime and interpreter code.  Add comments for compiler code for later.

Reviewed-by: eosterlund, stefank
2018-04-18 10:39:40 -04:00
John Paul Adrian Glaubitz
f491141467 8201616: Hotspot crashes on linux-sparc after 8189941
Reviewed-by: kvn, stuefe
2018-04-18 15:12:28 +02:00
Aleksey Shipilev
4c626b6272 8201799: Build failures after JDK-8195099 (Concurrent safe-memory-reclamation mechanism)
Reviewed-by: dholmes, tschatzl, eosterlund
2018-04-18 15:05:37 +02:00
Thomas Schatzl
6db76f1af6 8201172: Parallelize Remset Tracking Update Before Rebuild phase
Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
ebbd7cf90b 8201596: java.lang.ref.Reference processing total time logging broken
Fix "Reference Processing" and add "Weak Processing" time

Reviewed-by: kbarrett, sangheki
2018-04-18 11:36:48 +02:00
Thomas Schatzl
c62a6abe91 8201490: Improve concurrent mark keep alive closure performance
Avoid doing marking work unless absolutely required.

Reviewed-by: sjohanss, kbarrett
2018-04-18 11:36:48 +02:00
Thomas Schatzl
9b31b8f365 8201487: Do not rebalance reference processing queues if not doing parallel reference processing
Reviewed-by: sangheki, kbarrett
2018-04-18 11:36:48 +02:00
Thomas Schatzl
dc7aa2ca03 8200730: Fix debug=gc+phases time tracking in Remark and Cleanup
Timing in Remark and Cleanup pauses did not use instance variables for the scoped timing objects, so these durations were always zero.

Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
5b42f3ce0d 8200426: Make G1 code use _g1h members
Consistently use _g1h member names for cached G1CollectedHeap* variables.

Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
e11d1b311d 8200723: Suppress rs_length and predicted_cards sampling during mixed gcs
Due to the impact of these measurements on pause time, their high difference to other collections during mixed collections, and their non-use during mixed collections, do not use rs_length and predicted_cards measurements done during mixed gc for the predictor. This avoids the young gen sizing after the mixed phase to be negatively affected by mixed collections.

Reviewed-by: kbarrett, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
9db71579ee 8154528: Reclaim regions emptied by marking in Remark pause
Reviewed-by: shade, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
7c09cf644b 8178105: Switch mark bitmaps during Remark
Reviewed-by: sjohanss, sangheki
2018-04-18 11:36:48 +02:00
Robbin Ehn
a0a4b1981b 8195099: Concurrent safe-memory-reclamation mechanism
This implement a globalcounter with RCU semantics.

Reviewed-by: acorn, coleenp, dcubed, eosterlund, gziemski, mlarsson, kbarrett, dholmes
2018-04-18 09:25:51 +02:00
Henry Jen
1f1f480606 Merge 2018-04-17 16:13:30 -07:00
Calvin Cheung
894e8c6479 8197972: Always verify non-system classes during CDS dump time
Use -Verify:remote even if the user specifies -Xverify:none during CDS dump time

Reviewed-by: iklam, mseledtsov, jiangli
2018-04-17 16:19:48 -07:00
Jesper Wilhelmsson
72b7487789 Merge 2018-04-13 14:06:39 +02:00
Jesper Wilhelmsson
468c1c19bb Merge 2018-04-13 03:05:19 +02:00
Roman Kennke
d006828c41 8201442: objArrayOopDesc::atomic_compare_exchange_oop() must use obj+offset in HeapAccess call
Reviewed-by: shade, eosterlund
2018-04-12 23:10:19 +02:00
Kim Barrett
1b060b7406 8201450: Provide access to LogHandle tagset
Added LogHandle::tagset function.

Reviewed-by: stefank
2018-04-12 15:50:03 -04:00
Daniel D. Daugherty
d974f0b162 8200374: Add ThreadsSMRSupport::verify_hazard_pointer_scanned() to verify threads_do()
Add verification for the threads_do() part of the Thread-SMR protocol.

Reviewed-by: eosterlund, dholmes, rehn
2018-04-12 09:03:46 -04:00
John Paul Adrian Glaubitz
3e27d7412e 8201480: ISA/CPU feature detection code crashes on linux-sparc
Reviewed-by: dholmes, shade, stuefe
2018-04-12 14:27:23 +02:00
Per Lidén
ec504ecf84 8201362: Remove CollectedHeap::barrier_set()
Reviewed-by: shade, rkennke
2018-04-12 11:22:24 +02:00
Thomas Stuefe
23c1371590 8201475: 8199417 breaks AIX and non-pch on s390 (and presumably aarch64)
Reviewed-by: eosterlund, shade, mdoerr
2018-04-12 11:05:42 +02:00
Per Lidén
6825739d3f 8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
Reviewed-by: shade, rehn
2018-04-12 08:25:56 +02:00
Per Lidén
4c60e69b97 8201316: Move G1-related static members from JavaThread to G1BarrierSet
Reviewed-by: stefank, shade
2018-04-12 08:25:30 +02:00
Magnus Ihse Bursie
70e23d4ded 8200298: Unify all unix versions of libjsig/jsig.c
Reviewed-by: dholmes, stuefe
2018-04-10 19:46:02 +02:00
Harold Seigel
b89ae10df2 8200261: Regression with JVM anonymous class
Restore resolved anonymous class when creating a new constantpool because of overpass methods

Reviewed-by: coleenp, lfoltan
2018-04-05 13:19:25 -04:00
Kim Barrett
094178fdba 8200630: Globally suppress Visual Studio warning C4351
Globally suppress warning, remove sole instance of local suppression.

Reviewed-by: gtriantafill, tschatzl
2018-04-04 18:19:46 -04:00
Boris Ulasevich
9924d7748e 8200628: aarch32 - Broken build after JDK-8199809
Reviewed-by: shade, coleenp
2018-04-04 23:05:13 +03:00
Boris Ulasevich
222d07fba4 8200627: aarch32 - Broken build after JDK-8198949
Reviewed-by: shade, eosterlund
2018-04-04 23:02:58 +03:00
Daniel Stewart
0dbf179502 8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
AArch64 VM_Version::features and flags are correspondingly set in CPUFeature and Flags

Reviewed-by: kvn, fyang
2018-03-30 13:39:43 -04:00
Thomas Schatzl
e5ec636e7d 8200305: Update gc,liveness output with remset state after rebuild remset concurrently changes
Reviewed-by: sjohanss, sangheki
2018-04-04 14:51:26 +02:00
Aleksey Shipilev
d2ad998e7d 8200608: Build failures after JDK-8191101 (Show register content in hs-err file on assert)
Reviewed-by: dholmes, tschatzl
2018-04-04 12:06:31 +02:00
Per Lidén
e3752f15c9 8200607: Add missing include dependency in bitMap.hpp
Reviewed-by: shade, stefank
2018-04-04 11:59:48 +02:00
Per Lidén
15263a27f8 8200429: Adjust object pinning interface on CollectedHeap
Reviewed-by: dholmes, rkennke
2018-04-04 11:59:47 +02:00
Thomas Schatzl
94d2a9db4c 8200074: Remove G1ConcurrentMark::_concurrent_marking_in_progress
Reviewed-by: sjohanss, sangheki
2018-04-04 11:21:14 +02:00
Thomas Schatzl
ee1bd0136b 8200255: Remove G1CMTask::_concurrent
Reviewed-by: sangheki, sjohanss
2018-04-04 11:21:14 +02:00
Thomas Schatzl
5780affe90 8200234: Cleanup Remark and Cleanup pause code
Remove redundant methods, factor out verification code and simplify code in Remark and Cleanup pause code.

Reviewed-by: sangheki, sjohanss
2018-04-04 11:21:14 +02:00
Thomas Stuefe
397e628d12 8200384: jcmd help output should be sorted
Reviewed-by: sspitsyn, clanger
2018-03-28 22:03:57 +02:00
Boris Ulasevich
c130c8137f 8189101: AARCH32 - 'minimal' build fails because CMS bits are referred unconditionally
Reviewed-by: shade, dholmes
2018-04-11 20:56:56 +03:00
Erik Österlund
2a0986b882 8199417: Modularize interpreter GC barriers
Reviewed-by: coleenp, rkennke
2018-04-11 16:07:42 +02:00
Harold Seigel
1094fd9927 8201265: Native memory leak in ClassLoader::add_to_exploded_build_list
Allocate from temporary thread local memory instead of C heap memory.

Reviewed-by: coleenp, dholmes, lfoltan
2018-04-11 10:05:02 -04:00
Stefan Karlsson
623c83dad9 8201427: Fix Minimal VM builds on Linux x64
Reviewed-by: shade
2018-04-11 13:52:23 +02:00