2275 Commits

Author SHA1 Message Date
Man Cao
f05dc2fa2f 8223227: Rename acquire_tag_map() to tag_map_acquire() in jvmtiEnvBase
Reviewed-by: dholmes, jcbeyler
2019-05-01 20:25:31 -07:00
Zhengyu Gu
7c54f240ba 8222992: Shenandoah: Pre-evacuate all roots
Reviewed-by: shade
2019-05-02 09:49:52 -04:00
Stefan Karlsson
bbd9000753 8223064: Minor cleanups in ResolvedMethodTable
Reviewed-by: hseigel, coleenp
2019-05-02 10:32:28 +02:00
Stefan Karlsson
13cd1ce5af 8222986: Add parameter to skip clearing CHeapBitMaps when resizing
Reviewed-by: pliden
2019-05-02 10:32:14 +02:00
Stefan Karlsson
087c03a0c7 8198505: Remove CollectorPolicy and its subclasses
Reviewed-by: pliden, shade
2019-04-15 11:47:46 +02:00
Man Cao
37be9ccd6c 8223177: Data race on JvmtiEnvBase::_tag_map in double-checked locking
Add memory fences on accesses to JvmtiEnvBase::_tag_map

Reviewed-by: dholmes, jcbeyler, sspitsyn
2019-04-30 18:44:41 -07: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
Rahul Raghavan
fee481d5a2 8202414: Unsafe write after primitive array creation may result in array length change
Avoided collecting unaligned stores in Initialize node by making can_capture_store return false for same

Reviewed-by: dlong, kvn, vlivanov
2019-05-01 22:02:48 +05:30
Coleen Phillimore
6f95cac0e2 8223190: Test gc/arguments/TestShrinkHeapInSteps.java breaks with change for JDK-8074355
Remove too strict assert.

Reviewed-by: hseigel
2019-05-01 10:54:07 -04:00
Zhengyu Gu
142c9b4907 8223184: Shenandoah: Missing roots in SRP::process_all_roots_slow
Reviewed-by: shade
2019-05-01 10:12:51 -04: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
Coleen Phillimore
0ab425c187 8213399: DecoderLocker is unused
Remove DecoderLocker

Reviewed-by: iklam, dholmes
2019-05-01 07:12:14 -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
Tobias Hartmann
048c3dc026 8219807: C2 crash in IfNode::up_one_dom(Node*, bool)
Guard against regions degraded to copies.

Reviewed-by: kvn
2019-04-30 14:49:19 +02:00
Serguei Spitsyn
e3aa6f7907 8222934: mark new VM option AllowRedefinitionToAddOrDeleteMethods as deprecated
Mark new option depricated

Reviewed-by: dcubed, coleenp, dholmes
2019-04-30 01:56:28 -07:00
Dean Long
61f35bf898 8219403: JVMCIRuntime::adjust_comp_level should be replaced
Reviewed-by: kvn, dnsimon, never
2019-04-24 09:10:45 -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
Tobias Hartmann
919b40be45 8221592: C2 compilation failed with assert(!q->is_MergeMem())
Transform the original MergeMem after transforming the slices to get rid of MergeMem inputs.

Reviewed-by: kvn, neliasso
2019-04-29 09:04:25 +02:00
Per Lidén
bb5c98fe7a 8223016: ZGC: Fix misaligned statistics printout
Reviewed-by: tschatzl
2019-04-26 12:05:34 +02:00
Robbin Ehn
1814ecf475 8222637: Obsolete NeedsDeoptSuspend
Reviewed-by: dlong, coleenp, dholmes
2019-04-26 10:18:47 +02:00
David Holmes
ded4f6b5cf 8222518: Remove unnecessary caching of Parker object in java.lang.Thread
Reviewed-by: dcubed, rehn
2019-04-26 00:57:03 -04:00
Coleen Phillimore
508601bd9f 8222977: Fix shenandoah broken with JDK-8222811
Reviewed-by: dcubed, shade
2019-04-25 12:33:19 -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
Robin Westberg
37281369f0 8220795: Rework naked_short_nanosleep on Windows to improve time-to-safepoint
Reviewed-by: dholmes, rehn
2019-04-24 14:03:20 +02:00
Per Lidén
80240eb399 8222469: ZGC: Generalize ZPageCache::flush()
Reviewed-by: stefank
2019-04-25 08:55:50 +02:00
Per Lidén
86808b9d47 8221786: ZGC: Increase max heap size to 16TB
Reviewed-by: stefank
2019-04-25 08:55:50 +02: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
Daniel D. Daugherty
baf1349a2f 8222295: more baseline cleanups from Async Monitor Deflation project
Reviewed-by: coleenp, acorn, dholmes
2019-04-24 10:20:25 -04:00
Harold Seigel
ef40115621 8221685: -XX:BytecodeVerificationRemote and -XX:BytecodeVerificationLocal should be diagnostic options
Make the options diagnostic and add -XX:+UnlockDiagnosticVMOptions to tests where needed.

Reviewed-by: lfoltan, acorn, dholmes
2019-04-24 08:27:00 -04:00
Aleksey Shipilev
b440ac2586 8222838: Shenandoah: SEGV on accessing cset bitmap for NULL ptr
Reviewed-by: rkennke
2019-04-24 11:40:04 +02:00
Aleksey Shipilev
6af2184d4b 8222843: Print Shenandoah cset map addresses in hs_err
Reviewed-by: rkennke
2019-04-24 11:39:56 +02:00
Yasumasa Suenaga
c576c3c3f5 8219566: JFR did not collect call stacks when MaxJavaStackTraceDepth is set to zero
Reviewed-by: egahlin, mgronlun
2019-04-24 17:09:24 +09:00
Lois Foltan
57aaf7a8cd 8218994: Consolidate indy and condy JVM information within a BootstrapInfo data structure
Introduce BootstrapInfo data structure and merge invocation of a bootstrap method for condy and indy into invoke_bootstrap_method.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp
2019-04-23 14:09:54 -04:00
Lois Foltan
4f2478e234 8222502: Replace 19,20 case alternatives with JVM_CONSTANT_Module/Package names
Add JVM_CONSTANT_Module and JVM_CONSTANT_Package to classfile_constants.h

Reviewed-by: coleenp, hseigel
2019-04-23 07:05:38 -04:00
Aleksey Shipilev
43b4c3732a 8222786: Shenandoah get_barrier_strength should accept all shapes of (Weak)CAS reference barriers
Reviewed-by: rkennke
2019-04-22 11:16:21 +02:00
Coleen Phillimore
6ebf2ce655 8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
Introduce new flag fo compatibility: -XX:AllowRedefinitionToAddOrDeleteMethods

Reviewed-by: jcbeyler, sspitsyn
2019-04-19 21:49:54 -07:00
Stefan Karlsson
3e581f13a0 8222558: Rework ResolvedMethodTable verification
Reviewed-by: coleenp
2019-04-17 07:41:09 +02:00
Coleen Phillimore
733d251078 8222379: JFR TestClassLoadEvent.java failed due to EXCEPTION_ACCESS_VIOLATION
Give fatal error if CDS loses archive mapping.

Reviewed-by: iklam, ccheung, jiangli
2019-04-18 07:02:07 -04:00
Erik Österlund
dce0c5c4ae 8219718: ZGC: Make nmethod entry barriers and nmethod::is_unloading use ZNMethodDataOops
Reviewed-by: pliden, stefank
2019-04-17 12:41:33 +02:00
Nils Eliasson
82cc38398d 8218468: Load barrier slow path node should be MachTypeNode
Reviewed-by: shade, pliden, kvn
2019-04-17 09:54:37 +02:00
Robbin Ehn
b4fb17d63c 8222327: java_lang_Thread _thread_status_offset, remove pre 1.5 code paths
Reviewed-by: dholmes, redestad
2019-04-17 09:29:25 +02:00
Robbin Ehn
8552ad776a 8218147: make_walkable asserts on multiple calls
Reviewed-by: dholmes, dcubed
2019-04-17 09:25:27 +02:00
Henry Jen
930f116ae7 Merge 2019-04-16 20:47:11 -07:00
Henry Jen
da6f620059 Merge 2019-04-15 18:24:37 -07:00
Zhengyu Gu
f37ec83209 8222419: Shenandoah: Remove unused _par_state_string in ShenandoahRootProcessor
Reviewed-by: rkennke
2019-04-12 16:30:19 -04:00
Zhengyu Gu
dcc0a38e8a 8222403: Shenandoah: Remove ShenandoahAlwaysTrueClosure, use AlwaysTrueClosure instead
Reviewed-by: shade
2019-04-12 09:55:30 -04:00
Coleen Phillimore
cebdd53c0f 8222297: IRT_ENTRY/IRT_LEAF etc are the same as JRT
Replace IRT entry points with JRT.

Reviewed-by: lfoltan, dcubed
2019-04-12 09:30:17 -04:00
Zhengyu Gu
96545959e8 8222188: Shenandoah: Adjust Shenandoah work gang types
Reviewed-by: shade, rkennke
2019-04-12 07:51:47 -04:00
Daniel D. Daugherty
a8e94de188 8222034: Thread-SMR functions should be updated to remove work around
Reviewed-by: mdoerr, eosterlund
2019-04-11 14:14:30 -04:00