Zoltan Majo
cdc436922a
8157181: Compilers accept modification of final fields outside initializer methods
...
Track initialized final field updates; disable constant folding if an update is detected. Enforce final field update rules introduced by JVMS-7 (but only for JDK 9).
Reviewed-by: vlivanov, dnsimon, forax, never, kvn, coleenp
2016-06-15 14:27:58 +02:00
Tobias Hartmann
e45caa8cba
8158228: C1 incorrectly folds mismatched loads from stable arrays
...
Disable constant folding for mismatched loads from stable arrays.
Reviewed-by: vlivanov
2016-06-07 18:20:44 +02:00
Mikael Vidstedt
fd9f92e18d
8150921: Update Unsafe getters/setters to use double-register variants
...
Reviewed-by: dholmes, shade, psandoz, jrose
2016-05-06 15:59:26 -07:00
Stefan Karlsson
f8be292b88
8141501: Problems with BitMap buffer management
...
Reviewed-by: pliden, kbarrett
2016-05-03 22:45:27 +02:00
Vladimir Ivanov
72747f47fd
Merge
2016-04-29 02:13:40 +03:00
Vladimir Ivanov
67ff4391ec
8154172: C1: NPE is thrown instead of linkage error when invoking nonexistent method
...
Reviewed-by: kvn
2016-04-25 21:25:22 +03:00
Alejandro Murillo
f9426642c6
Merge
2016-04-22 01:04:00 -07:00
Bharadwaj Yadavalli
b2ead5ac2d
Merge
2016-04-12 14:17:42 -04:00
Daniel D. Daugherty
4397e85e26
Merge
2016-04-07 09:47:48 -07:00
Filipp Zhinkin
6b6686bd43
8149374: Replace C1-specific collection classes with universal collection classes
...
Reviewed-by: kvn, mgerdin, coleenp
2016-04-06 18:51:03 +03:00
Vladimir Ivanov
7fc81004e3
8152590: C2: @Stable support doesn't always work w/ incremental inlining
...
Reviewed-by: kvn
2016-04-11 21:42:55 +03:00
Joseph Provino
5cef85023b
8132524: Missing includes to resourceArea.hpp
...
Files that use ResourceMark are missing the include of resourceArea.hpp
Reviewed-by: tschatzl, jwilhelm
2016-04-04 12:57:48 -04:00
Aleksey Shipilev
d8f23ea33b
8152698: Remove obsolete Unsafe.putOrdered{X} methods, usages, runtime and compiler support
...
Reviewed-by: kvn, psandoz
2016-03-25 15:34:30 +03:00
Vladimir Ivanov
6ea5772a9b
8143407: C1: @Stable array support
...
Reviewed-by: twisti
2016-03-14 12:35:52 +03:00
Vladimir Ivanov
28cf824b60
8150320: C1: Illegal bci in debug info for MH::linkTo* methods
...
Reviewed-by: kvn, dlong
2016-03-14 12:35:48 +03:00
Vladimir Ivanov
7adcd9a503
8140659: C1: invokedynamic call patching violates JVMS-6.5.invokedynamic
...
Reviewed-by: roland
2015-12-18 20:23:27 +03:00
Frederic Parain
ef800bd53f
8046936: JEP 270: Reserved Stack Areas for Critical Sections
...
Reviewed-by: acorn, dcubed
2015-12-11 09:07:07 -08:00
Coleen Phillimore
200784d505
8132051: Better byte behavior
...
Co-authored-by: Roland Westerlin <roland.westerlin@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: bdelsart, roland, kvn, jrose, ahgross
2015-10-13 18:13:34 -04:00
Nils Eliasson
2f9e32256d
Merge
2015-11-13 13:31:48 +01:00
Christian Thalinger
6896030b96
8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
...
Reviewed-by: goetz, stefank
2015-11-11 16:32:17 -10:00
Nils Eliasson
3307d0f163
Merge
2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
1a5787d42e
Merge
2015-11-05 19:31:57 +01:00
Aleksey Shipilev
dfb1ed8a19
8141044: C1 should fold (this == null) to false
...
Reviewed-by: jrose, roland
2015-11-05 13:33:18 +03:00
Tobias Hartmann
7af927f9c1
8141132: JEP 254: Compact Strings
...
Adopt a more space-efficient internal representation for strings.
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Martin Doerr
9a5f4d56ff
8138894: C1: Support IRIW on weak memory platforms
...
Reviewed-by: twisti, goetz
2015-10-21 10:37:50 +02:00
Nils Eliasson
5a5faf94bf
8137167: JEP165: Compiler Control: Implementation task
...
Compiler Control JEP
Reviewed-by: roland, twisti, zmajo, simonis
2015-10-20 18:07:28 +02:00
Goetz Lindenmaier
83b3b21342
8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
...
Reviewed-by: stuefe, coleenp, roland
2015-10-22 13:07:10 -04:00
Jesper Wilhelmsson
e75e2e04f7
Merge
2015-10-07 01:03:24 +02:00
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Nils Eliasson
5ca8983920
8135068: Extract method matchers from CompilerOracle
...
Ecapsulate code to enable reuse
Reviewed-by: roland, kvn
2015-09-18 10:11:11 +02:00
Nils Eliasson
559bf7ef6e
8135067: Preparatory refactorings for compiler control
...
Extract CompileTask and clean up
Reviewed-by: roland
2015-09-04 12:47:57 +02:00
Zoltan Majo
26cd440c55
8132457: Unify command-line flags controlling the usage of compiler intrinsics
...
Cleanup processing of command-line flags controlling intrinsics.
Reviewed-by: kvn
2015-08-03 09:39:29 +02:00
Zoltan Majo
422cd18f23
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
...
Add a new method, sun.hotspot.WhiteBox.isIntrinsicAvailable, that can be used to determine if an intrinsic is available.
Reviewed-by: kvn, jrose
2015-07-28 19:20:42 +02:00
Zoltan Majo
9245cdc214
8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
...
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.
Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:25:03 +02:00
Zoltan Majo
a452b030ce
8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
...
Introduce the PreserveFramePointer flag to control if RBP is used as the frame pointer or as a general purpose register.
Reviewed-by: kvn, roland, dlong, enevill, shade
2015-04-27 10:49:43 +02:00
Andrew Haley
1dfbc44c1f
8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
...
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.
Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:31:18 -07:00
Igor Ignatyev
140bf2be86
8073607: add trace events for inlining
...
Reviewed-by: kvn, fzhinkin, mgronlun
2015-03-13 21:53:13 +03:00
Jesper Wilhelmsson
d7f5fccbc6
Merge
2015-02-16 21:24:39 +01:00
Stefan Karlsson
4913ad5d7d
8072911: Remove includes of oop.inline.hpp from .hpp files
...
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Paul Sandoz
c002e71565
8068977: Remove unused sun.misc.Unsafe prefetch intrinsic support
...
Reviewed-by: kvn, vlivanov
2015-02-10 21:32:05 +01:00
Serguei Spitsyn
b0367c3bea
Merge
2014-07-18 23:53:59 -07:00
Coleen Phillimore
c9b2bc62c9
Merge
2014-07-14 10:15:21 -04:00
Vladimir Ivanov
c24909197f
8049532: LogCompilation: C1: inlining tree is flat (no depth is stored)
...
Reviewed-by: roland, iveresov
2014-07-14 03:28:13 -07:00
Vladimir Ivanov
3dd313825d
8043546: C1 optimizes @Stable instance fields with default values
...
Reviewed-by: kvn, jrose
2014-07-14 03:25:40 -07:00
Goetz Lindenmaier
25f33c005d
8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
...
Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Roland Westrelin
b5e96ad985
8046542: [I.finalize() calls from methods compiled by C1 do not cause IllegalAccessError on Sparc
...
Call to Object.finalize() sometimes allowed by compilers on array type
Reviewed-by: iveresov, vlivanov
2014-07-02 22:54:18 +02:00
Rickard Bäckman
0915147727
8031994: java/lang/Character/CheckProp test times out
...
Reviewed-by: iveresov, roland
2014-06-04 10:01:28 +02:00
Roland Westrelin
633a96c2e3
8041481: JVM crashes with collect_args_for_profiling
...
Method handle call to c1 intrinsic tries to profile popped argument
Reviewed-by: kvn, twisti
2014-04-25 09:22:16 +02:00
Vladimir Ivanov
132fd335eb
8035887: VM crashes trying to force inlining the recursive call
...
Reviewed-by: kvn, twisti
2014-03-04 02:19:04 -08:00
Aleksey Shipilev
1d10b6813e
8031818: Experimental VM flag for enforcing safe object construction
...
-XX:+AlwaysSafeConstructors to unconditionally emit the trailing constructor barrier.
Reviewed-by: kvn, roland
2014-03-03 15:31:27 +04:00