209 Commits

Author SHA1 Message Date
Serguei Spitsyn
6d8c81f694 8245126: Kitchensink fails with: assert(!method->is_old()) failed: Should not be installing old methods
Fix the method->is_old() assert

Reviewed-by: dlong, chagedorn
2020-06-11 06:04:05 +00:00
Coleen Phillimore
5314d28f84 8245289: Clean up offset code in JavaClasses
Make offset member names consistent and private, move static initializations near owning classes

Reviewed-by: fparain, lfoltan
2020-05-29 15:00:19 -04:00
Xiaohong Gong
bc669dfc82 8243339: AArch64: Obsolete UseBarriersForVolatile option
Reviewed-by: adinn, aph, drwhite
2020-05-27 15:17:09 +08:00
Mikael Vidstedt
1401fe0087 8245521: Remove STACK_BIAS
Reviewed-by: dholmes, mbaesken, kvn
2020-05-26 12:36:59 -07:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Ioi Lam
92d1c4a61a 8244775: Remove unnecessary dependency to jfrEvents.hpp
Reviewed-by: kbarrett, kvn
2020-05-13 10:56:51 -07:00
Claes Redestad
c2780c9556 8244550: Unsafe::allocateInstance does redundant transitions
Reviewed-by: coleenp, mchung, dholmes
2020-05-07 14:09:20 +02:00
Dean Long
03f8e6ccd8 8219607: Add support in Graal and AOT for hidden class
Reviewed-by: kvn
2020-04-27 14:23:15 -07:00
Coleen Phillimore
90ada6a314 8238048: Close alignment gaps in InstanceKlass
Moved fields around and some constant fields into ConstantPool

Reviewed-by: cjplummer, dlong, iklam
2020-04-23 16:29:22 -04:00
Vladimir Kozlov
8da1ee7833 8242357: [JVMCI] Incorrect use of JVMCI_CHECK_ on return statement
Reviewed-by: dholmes, xliu
2020-04-20 13:13:56 -07:00
Tom Rodriguez
12f8b52fb8 8231756: [JVMCI] need support for deoptimizing virtual byte arrays encoding non-byte primitives
Reviewed-by: kvn
2020-04-17 09:31:37 -07:00
Yudi Zheng
46963fc14f 8241234: Unify monitor enter/exit runtime entries
Reviewed-by: dcubed, coleenp
2020-04-16 10:14:25 +02:00
Jamsheed Mohammed C M
211e529373 8193210: [JVMCI/Graal] add JFR compiler phase/inlining events
C++ EventCompilerPhase/EventCompilerInlining definitions are extended for JVMCI use.

Reviewed-by: dnsimon, egahlin, kvn, mgronlun, thartmann
2020-03-27 09:47:13 -07:00
Vladimir Ivanov
7753422909 8241433: x86: Add VBMI CPU feature detection
Reviewed-by: kvn
2020-03-25 00:10:22 +03:00
Tom Rodriguez
d743518243 8241458: [JVMCI] add mark value to expose CodeOffsets::Frame_Complete
Reviewed-by: kvn
2020-03-24 13:12:19 -07:00
Vladimir Kozlov
d01f67193f 8237497: vmStructs_jvmci.cpp does not check that the correct field type is specified
Add missed checks for declarations in vmStructs_jvmci.cpp

Reviewed-by: iklam, thartmann
2020-03-24 09:34:39 -07:00
Jie Fu
dd63eec6e5 8241232: -XX:+BootstrapJVMCI is not compatible with TieredStopAtLevel < CompLevel_full_optimization
Reviewed-by: kvn, thartmann
2020-03-19 16:34:01 +08:00
Vladimir Kozlov
6083173f9b 8237045: JVM uses excessive memory with -XX:+EnableJVMCI -XX:JVMCICounterSize=2147483648
Limit JVMCICounterSize flag's value range to 1M

Reviewed-by: thartmann, redestad
2020-03-17 12:42:48 -07:00
Vladimir Kozlov
ec5bd02186 8240976: [JVMCI] MethodProfileWidth flag is broken
Remove JVMCI code which is not used

Reviewed-by: thartmann, redestad
2020-03-17 10:38:40 -07:00
Yudi Zheng
21d3eaf587 8240831: [JVMCI] Export missing vmStructs entries used by JVMCI compilers
Reviewed-by: kvn, thartmann
2020-03-12 13:20:53 +01:00
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