103 Commits

Author SHA1 Message Date
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
Coleen Phillimore
154a1a02bf 8216167: Update include guards to reflect correct directories
Use script and some manual fixup to fix directores names in include guards.

Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Eric Caspole
1b9d9fd1ae 8216375: Revert JDK-8145579 after JDK-8076988 is resolved
Remove obsolete code

Reviewed-by: thartmann, dlong
2019-01-09 12:02:38 -05:00
Martin Doerr
b83df1e1fc 8214352: C1: Unnecessary "compilation bailout: block join failed" with JVMTI
Invalidate Phi functions for conflicting types and avoid bailout.

Reviewed-by: kvn, iveresov
2018-12-14 09:59:08 +01:00
Tobias Hartmann
4b27547977 8177899: Tests fail due to code cache exhaustion on machines with many cores
Implemented upper limit on CICompilerCount based on code cache size.

Reviewed-by: kvn, mdoerr
2018-10-30 09:06:08 +01:00
Mandy Chung
5e6d6b8642 8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
David Holmes
a3cd6a1a70 8188764: Obsolete AssumeMP and then remove all support for non-MP builds
Reviewed-by: mikael, mdoerr, bulasevich, eosterlund
2018-10-03 03:41:57 -04:00
Andrew Haley
768f091086 8210972: Add comment text to C1 patching code
Reviewed-by: kvn
2018-09-20 18:29:05 +01:00
Sandhya Viswanathan
092fe55fb1 8210764: Update avx512 implementation
Reviewed-by: kvn
2018-09-24 16:37:28 -07:00
Dean Long
e51b1f0cf6 8187078: -XX:+VerifyOops finds numerous problems when running JPRT
Reviewed-by: kvn
2018-09-05 13:10:40 -07:00
Erik Österlund
1c727102ab 8210158: Accessorize JFR getEventWriter() intrinsics
Reviewed-by: kvn, neliasso, roland, rbackman
2018-09-05 10:11:42 +02:00
Gunter Haug
e2081b42b5 8208480: Test failure: assert(is_bound() || is_unused()) after JDK-8206075 in C1
Reviewed-by: kvn, phh, lucy
2018-08-20 12:08:07 +02:00
Roman Kennke
83d1dd7d9a 8209667: Explicit barriers for C1/LIR
Reviewed-by: eosterlund, roland
2018-08-19 20:00:57 +02:00