2237 Commits

Author SHA1 Message Date
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
Patricio Chilano Mateo
e8e561e471 8220724: TestBiasedLockRevocationEvents fails while matching revoke events to VMOperation events
Safepoint id used by JavaThread when posting event is now set inside appropiate safepoint

Reviewed-by: dholmes, rehn
2019-05-03 12:33:08 -04:00
Vladimir Kozlov
c642ba3d7c 8223262: [AOT] jaotc crashes with assert(!(((ThreadShadow*)__the_thread__)->has_pending_exception())) failed: Should not allocate with exception pending
Added missing checks for pending exception.

Reviewed-by: never, gdub, dnsimon
2019-05-03 09:07:30 -07:00
Patric Hedlin
e08506e683 8216137: assert failed: Live node limit exceeded
8219520: assert failed: Live node limit exceeded

Adding simplistic node budget support for loop-transformations. This /should/attempts to/ resolve most cases of: "assert(Compile::current()->live_nodes() < Compile::current()->max_node_limit()) failed: Live Node limit exceeded limit".

Reviewed-by: vlivanov, neliasso
2019-04-17 14:57:53 +02:00
Patric Hedlin
8088ed8317 8223143: Restructure/clean-up for 'loopexit_or_null()'
Minor restructure and clean-up for 'loopexit_or_null()' and its use.

Reviewed-by: vlivanov
2019-04-17 14:56:45 +02:00
Patric Hedlin
7bb9062f84 8223142: Clean-up WS and CB
Reviewed-by: vlivanov
2019-04-17 14:55:37 +02:00
Patric Hedlin
55e3cc8f6f 8223141: Change (count) suffix _ct into _cnt
Reviewed-by: vlivanov
2019-04-17 14:55:29 +02:00
Patric Hedlin
f4faee7bae 8223140: Clean-up in 'ok_to_convert()'
Simplify logic in function. Added precond/postcond macros.

Reviewed-by: vlivanov, neliasso
2019-04-17 14:55:11 +02:00
Patric Hedlin
ceef0f69dc 8223139: Rename mandatory policy-do routines
Rename 'policy_do_remove_empty_loop' to 'do_remove_empty_loop', 'policy_do_one_iteration_loop' to 'do_one_iteration_loop'.

Reviewed-by: vlivanov, dl
2019-04-17 14:55:01 +02:00
Patric Hedlin
205085d8d5 8223138: Small clean-up in loop-tree support
Rename predicate 'is_inner()' to 'is_innermost()' to be accurate. Added 'is_root()' predicate for root parent test in loop-tree. Changed definition of 'is_loop()' to always lazy-read the tail, since it should never be NULL. Cleanup of 'tail()' definition.

Reviewed-by: vlivanov, neliasso
2019-05-02 11:05:47 +02:00
Patric Hedlin
fcbca82247 8223137: Rename predicate 'do_unroll_only()' to 'is_unroll_only()'
Reviewed-by: vlivanov
2019-04-17 14:52:25 +02:00
Zhengyu Gu
8e1bb92b09 8223258: Shenandoah: SRP::process_all_roots_slow processes JvmtiExport weak oops twice
Reviewed-by: rkennke
2019-05-02 15:20:06 -04:00
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