Vladimir Kozlov
b83ea8b391
8251369: [JVMCI] Backout 8246347 changes
...
Reviewed-by: dholmes
2020-08-10 16:26:08 -07:00
Doug Simon
e64a25b256
8246347: [JVMCI] Set is_method_handle_invoke flag accordingly when describing scope in jvmciCodeInstaller
...
Reviewed-by: kvn, dlong
2020-08-10 21:52:02 +02:00
Coleen Phillimore
0c9e0c2e7f
8244997: Convert the JavaThread::_threadObj oop to use OopStorage
...
Move the oop and handle releasing it in the service thread. Remove Universe::oops_do from callers.
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: dholmes, zgu, eosterlund, cjplummer
2020-08-07 07:53:26 -04:00
Lois Foltan
deaadfad52
8247938: Change various JVM enums like LinkInfo::AccessCheck and Klass::DefaultsLookupMode to enum class
...
Use C++11 scoped enumeration declarations for several different Klass and LinkInfo enumerations.
Reviewed-by: coleenp, hseigel, kbarrett
2020-08-06 18:13:56 +00:00
Vladimir Kozlov
c79e6346d0
8250233: -XX:+CITime triggers guarantee(events != NULL) in jvmci.cpp:173
...
Add missing EnableJVMCI flag check. Refactoring compiler print statistic code.
Reviewed-by: thartmann
2020-08-04 13:16:45 -07:00
Coleen Phillimore
9798a0846b
8249837: Avoid direct or implicit Thread::current() calls when we already have a current thread variable
...
Add current thread OR remove unneeded HandleMark
Reviewed-by: kvn, dholmes
2020-07-30 10:41:31 -04:00
Aleksey Shipilev
3349e10b7f
8250612: jvmciCompilerToVM.cpp declares jio_printf with "void" return type, should be "int"
...
Reviewed-by: thartmann, kvn
2020-07-29 09:48:08 +02:00
Doug Simon
f2e69156c8
8250556: revert JVMCI part of JDK-8230395
...
Reviewed-by: never, dholmes
2020-07-27 22:59:27 +02:00
Doug Simon
63d2421c3b
8249888: failure to create a libgraal JavaVM should result in a VM crash
...
Reviewed-by: never, kvn
2020-07-23 11:47:20 +02:00
Bob Vandette
a764279daa
8249880: JVMCI calling register_nmethod without CodeCache lock
...
Reviewed-by: eosterlund, kvn, never
2020-07-22 17:59:33 +00:00
David Holmes
73c75ed838
8249650: Optimize JNIHandle::make_local thread variable usage
...
Reviewed-by: kbarrett, dcubed, kvn, coleenp, sspitsyn
2020-07-22 01:27:08 -04:00
Kim Barrett
a8d6a05ce8
8248391: Unify handling of all OopStorage instances in weak root processing
...
OopStorage instance now owned by subsystems, and generalize dead entry notification
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: coleenp, tschatzl
2020-07-16 17:41:14 -04:00
Mikael Vidstedt
1f5e21a16e
Merge
2020-07-15 21:24:39 -07:00
Tom Rodriguez
8cfc7e39df
8248524: [JVMCI] Memory corruption / segfault during NumPy installation
...
Reviewed-by: kvn
2020-07-15 12:17:19 -07:00
Ioi Lam
3d1b1a6bc9
8248170: Excessive include of compiledMethod, codeCache, javaClasses and systemDictionary
...
Reviewed-by: dholmes, kvn, coleenp, stefank
2020-07-06 23:11:37 -07:00
Nils Eliasson
4506975561
8248398: Add diagnostic RepeatCompilation utility
...
Reviewed-by: redestad, kvn, thartmann
2020-07-03 11:46:41 +02:00
Doug Simon
4e962f9675
8248321: [JVMCI] improve libgraal logging and fatal error handling
...
Reviewed-by: kvn, never
2020-07-02 18:02:20 +02:00
Doug Simon
03d47d58d6
8248359: Update JVMCI
...
Reviewed-by: kvn, never
2020-07-01 12:06:44 +02:00
Tom Rodriguez
29936542ad
8247246: Add explicit ResolvedJavaType.link and expose presence of default methods
...
Reviewed-by: kvn
2020-06-24 10:42:26 -07:00
Doug Simon
6469685285
8247992: [JVMCI] HotSpotNmethod.executeVarargs can try execute a zombie nmethod
...
Reviewed-by: eosterlund, kvn, never
2020-06-23 09:57:30 +02:00
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