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
Vladimir Ivanov
4dc79c2e05
8227236: assert(singleton != __null && singleton != declared_interface) failed
...
Reviewed-by: dlong
2019-09-03 17:45:02 +03: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
Roman Kennke
4b821f00f3
8226822: GC interface for C1 runtime calls
...
Reviewed-by: neliasso, roland
2019-07-04 17:02:17 +02:00
Vladimir Ivanov
e72bfe15ad
8223213: Implement fast class initialization checks on x86-64
...
Reviewed-by: kvn, redestad, dholmes, mdoerr, coleenp
2019-05-30 13:39:13 +03:00
Stefan Karlsson
c9846fce19
8224201: Simplify JVM flag macro expansions
...
Reviewed-by: rehn, kvn, stuefe, tschatzl, coleenp, gziemski
2019-05-22 13:05:37 +02:00
Thomas Stuefe
2257bae7a2
8224487: outputStream should not be copyable
...
Reviewed-by: kbarrett, coleenp
2019-05-22 07:10:54 +02:00
Stefan Karlsson
c90f3ee68b
8223624: Cleanup includes of universe.hpp
...
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Vladimir Ivanov
75d4f24c97
8223171: Redundant nmethod dependencies for effectively final methods
...
Reviewed-by: dlong
2019-05-06 12:15:49 -07: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
Dmitry Cherepanov
f16af8d4d5
8211100: hotspot C1 issue with comparing long numbers on x86 32-bit
...
Reviewed-by: iveresov, thartmann
2019-03-20 11:51:43 +03:00
Claes Redestad
23e0276cc9
8220502: Inefficient pre-sizing of PhiResolverState arrays in c1_LIRGenerator
...
Reviewed-by: thartmann, kvn
2019-03-14 15:31:13 +01:00
Stefan Karlsson
b9cf9e7ca4
8220411: Remove ScavengeRootsInCode=0 code
...
Reviewed-by: thartmann, coleenp
2019-03-14 09:08:17 +01:00
Kim Barrett
9f0417b0ae
8217576: C1 atomic access handlers use incorrect decorators
...
Fix decorator defaulting.
Reviewed-by: tschatzl, eosterlund
2019-03-12 11:13:39 -04:00
Claes Redestad
0761bc5fa8
8220515: Revert removal of for_each_lock_value removal
...
Reviewed-by: thartmann
2019-03-12 16:18:31 +01:00
Claes Redestad
ef38fb4bc2
8220501: Improve c1_ValueStack locks handling
...
Reviewed-by: thartmann, neliasso
2019-03-12 15:29:59 +01:00
Claes Redestad
8c047147f9
8220420: Cleanup c1_LinearScan
...
Reviewed-by: thartmann, neliasso
2019-03-11 17:33:55 +01:00
Tobias Hartmann
799c9a66fd
8218721: C1's CEE optimization produces safepoint poll with invalid debug information
...
Bail out of CEE if one of the gotos is a safepoint but the if is not.
Reviewed-by: vlivanov, mdoerr
2019-02-19 08:58:55 +01:00
Vladimir Ivanov
521039cc35
8218879: Keep track of memory accesses originated from Unsafe
...
Reviewed-by: thartmann
2019-02-14 15:27:12 -08:00
Vladimir Ivanov
6f437c6c9a
8218406: C1: Redundant nmethod dependency for private method is added
...
Reviewed-by: kvn
2019-02-04 17:35:38 -08:00
Vladimir Ivanov
ac3711e9cd
6986483: CHA: optimize calls through interfaces
...
Reviewed-by: neliasso, thartmann
2019-01-31 17:48:29 -08:00
Robbin Ehn
046a1f0ff7
8218041: Assorted wrong/missing includes
...
Reviewed-by: dholmes, kbarrett, stefank, shade
2019-01-31 10:31:39 +01:00
Jesper Wilhelmsson
e3621e678a
Merge
2019-01-28 21:44:57 +01:00
Per Lidén
7f6d6c8a8c
8217717: ZGC: Broken oop map in C1 load barrier stub
...
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: eosterlund, neliasso
2019-01-28 08:58:42 +01:00
Mikael Vidstedt
3b32c8aae5
8217266: Remove dead LIR_List::compare_to and LIR_Code::lir_compare_to
...
Reviewed-by: roland, kvn
2019-01-17 13:46:12 -08:00