189 Commits

Author SHA1 Message Date
Yudi Zheng
75632a6df2 8240610: [JVMCI] Export VMVersion::_has_intel_jcc_erratum to JVMCI compiler
Reviewed-by: kvn, thartmann
2020-03-10 21:48:43 +01:00
Vladimir Ivanov
072cfd2e48 8238681: Make -XX:UseSSE flag x86-specific
Reviewed-by: dholmes, kvn
2020-03-10 20:51:07 +03:00
Harold Seigel
a1e9328367 8235225: Replace CHECK_0 with CHECK_NULL for non-integer returning methods
Change CHECK_0 to CHECK_NULL and CHECK_false where appropriate

Reviewed-by: mikael, dholmes, coleenp
2020-02-27 13:00:05 +00:00
Richard Reingruber
b0b8190ea2 8238782: Cleanup Deoptimization::deoptimize(): remove unused RegisterMap argument and don't update RegisterMap in callers if UseBiasedLocking is enabled
Reviewed-by: dholmes, kvn
2020-02-12 09:18:37 +01:00
Frederic Parain
9886cb401c 8237767: Field layout computation overhaul
Reviewed-by: dholmes, coleenp, lfoltan, shade
2020-02-10 09:49:12 -05:00
Lois Foltan
d19a396e96 8230199: consolidate signature parsing code in HotSpot sources
Add a new Signature class to support basic signature queries and enhance SignatureStream class to parse field signatures in addition to methods.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, dholmes, fparain, hseigel
2020-02-06 14:29:57 +00:00
Stefan Karlsson
46423b0f70 8237637: Remove dubious type conversions from oop
Reviewed-by: kbarrett, dholmes, mdoerr
2020-01-24 09:27:07 +01:00
Jesper Wilhelmsson
c6c828fa6e Merge 2020-01-23 22:59:49 +01:00
Tom Rodriguez
2f2594d5d0 8231515: [Graal] Crash during exception throwing in InterpreterRuntime::resolve_invoke
Reviewed-by: kvn, dlong, iveresov
2020-01-23 08:43:22 -08:00
David Holmes
245b61c506 8237747: Build broken on macOS by JDK-8235741 - wrong format specifier
Reviewed-by: mikael
2020-01-22 18:24:10 -05:00
David Holmes
7c27f9f5dd 8235741: Inappropriate uses of os::javaTimeMillis()
Reviewed-by: rehn, kbarrett, egahlin, shade
2020-01-17 00:52:10 -05:00
Thomas Schatzl
4aab3078a2 8235860: Obsolete the UseParallelOldGC option
Obsolete the UseParallelOldGC option by removing code and other mentions.

Reviewed-by: kbarrett, lkorinth
2020-01-20 11:15:45 +01:00
Vladimir Kozlov
4b1be3ecf9 8236000: VM build without C2 fails
C2 flags should be checked only when C2 is present.

Reviewed-by: kbarrett, thartmann
2019-12-18 12:32:34 -08:00
Tom Rodriguez
00ba4ea7b3 8229377: [JVMCI] Improve InstalledCode.invalidate for large code caches
Reviewed-by: kvn
2019-12-11 17:17:58 -08:00
Tom Rodriguez
bca86d6492 8229961: Assert failure in compiler/graalunit/HotspotTest.java
Reviewed-by: kvn
2019-12-11 09:47:41 -08:00
Doug Simon
25b5ddc05d 8235539: [JVMCI] -XX:+EnableJVMCIProduct breaks -XX:-EnableJVMCI
Reviewed-by: kvn, thartmann
2019-12-10 09:34:33 -08:00
Harold Seigel
7fc58a1020 8235678: Remove unnecessary calls to Thread::current() in MutexLocker calls
Add THREAD argument when available and make Thread* the first argument to relevant MutexLocker and MonitorLocker constructors

Reviewed-by: lfoltan, coleenp, dholmes
2020-01-16 13:48:23 +00:00
Ioi Lam
584db9818a 8236625: Remove writeable macro from JVM flags declaration
Reviewed-by: coleenp, hseigel, gziemski
2020-01-07 18:56:18 -08:00
Coleen Phillimore
c4b8e38de4 8236224: Obsolete the FieldsAllocationStyle and CompactFields options
Remove the options and code for options deprecated in JDK 14

Reviewed-by: dholmes, hseigel, fparain
2020-01-07 13:11:35 -05:00
Smita Kamath
995da6eb2a 8167065: Add intrinsic support for double precision shifting on x86_64
Reviewed-by: kvn
2019-12-23 14:42:21 -08:00
Vladimir Kozlov
41b4803cdf 8235438: [JVMCI] StackTraceElement::decode should use the original Method
Reviewed-by: coleenp, never
2019-12-06 14:47:05 -08:00
Stefan Karlsson
161333eeba 8234748: Clean up atomic and orderAccess includes
Reviewed-by: dholmes
2019-11-26 10:47:46 +01:00
Tom Rodriguez
f81c192da9 8234359: [JVMCI] invalidate_nmethod_mirror shouldn't use a phantom reference
Reviewed-by: kvn, eosterlund
2019-11-25 11:13:02 -08:00
Stefan Karlsson
0ad50c2b5c 8234740: Harmonize parameter order in Atomic - cmpxchg
Reviewed-by: rehn, dholmes
2019-11-25 12:33:15 +01:00
Dean Long
edf902a3c9 8234432: AOT tests failing with 'used 'epsilon gc' is different from current 'g1 gc'' after CMS removal
Reviewed-by: kvn
2019-11-22 19:23:30 -08:00
Coleen Phillimore
ed21b56269 8233913: Remove implicit conversion from Method* to methodHandle
Fix call sites to use existing THREAD local or pass down THREAD local for shallower callsites. Make linkResolver methods return Method* for caller to handleize if needed.

Reviewed-by: iklam, thartmann, hseigel
2019-11-13 08:23:23 -05:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Doug Simon
301e068935 8233900: [JVMCI] improve help text for EnableJVMCIProduct option
Reviewed-by: kvn
2019-11-12 10:19:04 +01:00
Coleen Phillimore
b4d28f36fc 8232735: Convert PrintJNIResolving to Unified Logging
Converted the existing output at debug level because it is noisy

Reviewed-by: iklam, dholmes
2019-11-11 12:11:34 -05:00
David Holmes
1d50b2761c 8229516: Thread.isInterrupted() always returns false after thread termination
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
2019-11-03 18:02:29 -05:00
Vladimir Kozlov
5c506779b2 8233035: Update JVMCI
Reviewed-by: dlong
2019-10-29 15:35:06 -07:00
Bob Vandette
25d6a33eb5 8232118: Add JVM option to enable JVMCI compilers in product mode
Reviewed-by: kvn, dholmes
2019-10-28 16:06:08 +00:00
Vladimir Kozlov
e15849a0f8 8232904: Update JVMCI
Reviewed-by: dnsimon
2019-10-24 16:58:39 -07:00
Claes Redestad
36ac846d35 8232881: Remove unnecessary InstanceKlass::casts
Reviewed-by: coleenp
2019-10-23 18:34:25 +02:00
Lois Foltan
fce4320369 8231844: Enhance type signature characters in classfile_constants.h and improve the JVM to use type signature characters more consistently
Increase the use of type signature constants instead of hard coded characters within the JVM.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, dholmes, fparain
2019-10-21 13:13:16 -04:00
Tom Rodriguez
81da915128 8231659: [JVMCI] Could not work PrintAssembly for JVMCI installed code
Reviewed-by: ysuenaga
2019-10-10 11:40:59 -07:00
Xin Liu
1ad5c5bfb7 8165056: move JIT Compiler related files from runtime/ to compiler/ directory
Reviewed-by: kvn, coleenp, dholmes
2019-10-09 12:43:32 -07:00
Claes Redestad
88d28a2bf9 8232050: Improve inlining of Klass accessors
Reviewed-by: lfoltan, tschatzl, coleenp, dholmes, jiangli
2019-10-10 13:26:22 +02:00
Coleen Phillimore
6e1aa9065c 8226690: SIGSEGV in MetadataOnStackClosure::do_metadata
Dont create nmethod if classes have been redefined since compilation start.

Reviewed-by: sspitsyn, dlong, eosterlund, gdub
2019-09-26 09:22:49 -04:00
David Holmes
23ec926327 8230395: Code checks for NULL value returned from NEW_C_HEAP_ARRAY which can not happen
Reviewed-by: lkorinth, hseigel, thartmann, dnsimon
2019-09-24 03:28:42 -04:00
Lois Foltan
0c507f3180 8230505: Replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type
Consistently use is_reference_type when comparing type for T_OBJECT or T_ARRAY.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dlong, coleenp, hseigel
2019-09-23 14:49:04 -04:00
Robbin Ehn
35a9f6864a 8226705: [REDO] Deoptimize with handshakes
Reviewed-by: eosterlund, dcubed, dlong, pchilanomate
2019-09-19 10:52:22 +02:00
David Holmes
5bca86f9f4 8230424: Use platform independent code for Thread.interrupt support
8231094: os::sleep in assert message should be changed to JavaThread::sleep

Reviewed-by: rehn, dcubed
2019-09-17 19:09:37 -04:00
Per Lidén
2d6874b861 8230841: Remove oopDesc::equals()
Reviewed-by: rkennke, tschatzl
2019-09-17 09:51:02 +02:00
David Holmes
99252bd9d6 8230423: Move os::sleep to JavaThread::sleep
Reviewed-by: rehn, dcubed
2019-09-11 22:09:05 -04:00
Leo Korinth
4b6f9ed07f 8230398: Remove NULL checks before FREE_C_HEAP_ARRAY
Reviewed-by: dholmes, kbarrett, tschatzl
2019-09-11 14:16:30 +02:00
David Holmes
394d6ac55b 8230422: Convert uninterruptible os::sleep calls to os::naked_short_sleep
Reviewed-by: kbarrett, dcubed, shade
2019-09-07 18:48:57 -04:00
Erik Österlund
f869706f5f 8224815: Remove non-GC uses of CollectedHeap::is_in_reserved()
Reviewed-by: stefank, coleenp
2019-09-05 08:26:49 +02:00
Doug Simon
6a48a4e5ed 8229797: [JVMCI] Clean up no longer used JVMCI::dependencies_invalid value
Co-authored-by: Xiaohong Gong <xiaohong.gong@arm.com>
Reviewed-by: dlong, coleenp
2019-08-30 09:38:40 +08:00
Patricio Chilano Mateo
85dbabe345 8229844: Remove attempt_rebias parameter from revoke_and_rebias()
Removed attempt_rebias parameter and merged fast_enter() and slow_enter() into enter()

Reviewed-by: dholmes, rehn, coleenp, dcubed
2019-08-27 20:10:06 +00:00