Ioi Lam
5144190ea0
8243208: Clean up JVMFlag implementation
...
Reviewed-by: dholmes, coleenp, gziemski
2020-09-11 04:05:18 +00:00
Yumin Qi
a588752fd6
8248337: sparc related code clean up after solaris removal
...
Reviewed-by: dholmes, kvn
2020-09-02 09:29:31 -07:00
Christian Hagedorn
6c4a27ccb1
8251093: Improve C1 register allocator logging and debugging support
...
Various printing and debug improvements to better analyze C1 register allocator problems.
Reviewed-by: kvn, thartmann
2020-08-26 13:46:46 +02:00
Christian Hagedorn
9885ac18ac
8249603: C1: assert(has_error == false) failed: register allocation invalid
...
Added bailout in combine_spilled_intervals() to avoid an overlap between two intervals
Reviewed-by: kvn, thartmann
2020-08-12 08:45:44 +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
Coleen Phillimore
42ac8e1856
8250042: Clean up methodOop and method_oop names from the code
...
Reviewed-by: dholmes, sspitsyn, cjplummer, chagedorn
2020-07-28 07:33:51 -04:00
Nils Eliasson
4506975561
8248398: Add diagnostic RepeatCompilation utility
...
Reviewed-by: redestad, kvn, thartmann
2020-07-03 11:46:41 +02:00
Christian Hagedorn
f7a65b7fff
8239083: C1 assert(known_holder == NULL || (known_holder->is_instance_klass() && (!known_holder->is_interface() || ((ciInstanceKlass*)known_holder)->has_nonstatic_concrete_methods())), "should be non-static concrete method");
...
Remove unnecessary preparation to profile the holder of a static method called by a method handle in C1.
Reviewed-by: thartmann, kvn
2020-06-02 11:05:34 +02:00
Tobias Hartmann
b5775c831d
8239477: jdk/jfr/jcmd/TestJcmdStartStopDefault.java fails -XX:+VerifyOops with "verify_oop: rsi: broken oop"
...
Use T_ADDRESS instead of T_OBJECT to load metadata.
Reviewed-by: kvn
2020-06-02 10:00:40 +02:00
Tobias Hartmann
f822eed55c
8245957: Remove unused LIR_OpBranch::type after SPARC port removal
...
Removed LIR_OpBranch::type after the only remaining usage was removed with the SPARC port removal.
Reviewed-by: kvn, mdoerr
2020-06-02 09:57:57 +02: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
Mikael Vidstedt
f702f4d93a
8246023: Obsolete LIRFillDelaySlot
...
Reviewed-by: thartmann, kvn
2020-05-28 09:26:11 -07: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
Xin Liu
612c38cdc9
8245051: c1 is broken if it is compiled by gcc without -fno-lifetime-dse
...
Initialize BlockBegin block id in constructor rather than operator new
Reviewed-by: kbarrett, thartmann
2020-05-20 11:29:11 -07:00
Martin Doerr
76b76654d2
8235673: [C1, C2] Split inlining control flags
...
Reviewed-by: neliasso, kvn, thartmann
2020-05-18 10:57:16 +02: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
Jamsheed Mohammed C M
2ec33aa077
8237949: CTW: C1 compilation fails with "too many stack slots used"
...
Old bailout code is preserved with changes in comments
Reviewed-by: vlivanov
2020-04-16 10:01:14 -07:00
Yudi Zheng
46963fc14f
8241234: Unify monitor enter/exit runtime entries
...
Reviewed-by: dcubed, coleenp
2020-04-16 10:14:25 +02:00
Tobias Hartmann
722a18d31e
8242090: Remove dead code from c1_LIR
...
Removed dead code.
Reviewed-by: redestad
2020-04-06 12:09:59 +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
Jamsheed Mohammed C M
136a1574ec
8237894: CTW: C1 compilation fails with assert(x->type()->tag() == f->type()->tag()) failed: should have same type
...
Field access instructions hash decalred_type in addition, indexed access instructions hash value type of the instruction in addition.
Reviewed-by: thartmann, shade
2020-03-20 05:19:56 -07:00
Vladimir Ivanov
072cfd2e48
8238681: Make -XX:UseSSE flag x86-specific
...
Reviewed-by: dholmes, kvn
2020-03-10 20:51:07 +03:00
Stefan Karlsson
e4b27a48a0
8183574: Unify the is_power_of_2 functions
...
Reviewed-by: kbarrett, redestad
2020-02-17 10:03:17 +01:00
Christian Hagedorn
8bdb972192
8238178: CTW: C1 compilation fails with assert(sux->loop_depth() != block->loop_depth() || sux->loop_index() == block->loop_index() || loop_through_xhandler) failed: Loop index has to be same
...
Fix verification of C1 IR involving xhandlers in one-time executed loops on the non-exceptional path.
Reviewed-by: thartmann, neliasso
2020-02-13 15:06:57 +01:00
Vladimir Ivanov
590f5996c6
8136414: Large performance penalty declaring a method strictfp on strict-only platforms
...
Reviewed-by: thartmann
2020-02-11 14:55:39 +03: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
Vladimir Ivanov
5b5a5353e7
7175279: Don't use x87 FPU on x86-64
...
Reviewed-by: kvn, roland
2020-01-30 00:46:43 +03: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
Matthias Baesken
4f35b4a65c
8236709: struct SwitchRange in HS violates C++ One Definition Rule
...
Reviewed-by: dholmes, kbarrett
2020-01-08 08:55:26 +01: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
Aditya Mandaleeka
f19738aba3
8236179: C1 register allocation error with T_ADDRESS
...
Reviewed-by: rkennke, vlivanov, roland, mdoerr
2019-12-20 19:51:00 +01:00
Xin Liu
f33087405a
8235383: C1 compilation fails with -XX:+PrintIRDuringConstruction -XX:+Verbose
...
Added check for printable bci.
Reviewed-by: thartmann
2019-12-10 10:34:31 +01:00
Vladimir Ivanov
a6daef527e
8234923: Missed call_site_target nmethod dependency for non-fully initialized ConstantCallSite instance
...
Reviewed-by: jrose
2019-12-03 20:13:21 +03:00
Tobias Hartmann
aff41433b6
8234617: C1: Incorrect result of field load due to missing narrowing conversion
...
Emit an explicit conversion to get the correct field value after the write.
Reviewed-by: vlivanov, mdoerr
2019-12-03 08:29:04 +01:00
Liu Xin
4e64af81a2
8234541: C1 emits an empty message when it inlines successfully
...
Use "inline" as the message when successfull
Reviewed-by: thartmann, mdoerr
2019-11-30 14:33:05 -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
Martin Doerr
7c242c709d
8233820: Test crashed with assert(phi->operand_count() != 1 || phi->subst() != phi) failed: missed trivial simplification
...
Verification code needs to skip illegal phi functions.
Reviewed-by: thartmann, vlivanov
2019-11-12 16:13:16 +01:00
Kim Barrett
89e3782f21
8233364: Fix undefined behavior in Canonicalizer::do_ShiftOp
...
Add java_shift_xxx helpers and use them.
Reviewed-by: aph, kvn
2019-11-07 16:22:22 -05:00
Erik Österlund
f07d377d6f
8233073: Make BitMap accessors more memory ordering friendly
...
Reviewed-by: kbarrett, pliden
2019-11-07 10:28:29 +00:00
Martin Doerr
c15dfbfd60
8233081: C1: PatchingStub for field access copies too much
...
Reviewed-by: thartmann, dlong
2019-11-05 11:53:46 +01:00
Thomas Stuefe
13cc1154f0
8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit
...
Reviewed-by: mdoerr, dlong, aph
2019-10-31 07:53:16 +01: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
Claes Redestad
35fb2da425
8232165: Reduce allocations in ValueStack copying constructor
...
Reviewed-by: neliasso, kvn
2019-10-14 20:58:08 +02: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
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
Martin Doerr
032819ee9d
8230669: [s390] C1: assert(is_bound() || is_unused()) failed: Label was never bound to a location, but it was used as a jmp target
...
Reviewed-by: phh, xliu
2019-09-09 15:42:16 +02:00
Martin Doerr
b0e727124f
8230434: [C1, C2] Release barrier for volatile field stores in constructors implemented inconsistently
...
Reviewed-by: shade, lucy
2019-09-04 14:21:54 +02:00