Tobias Hartmann
6294f0770b
8159715: Fix for 8072422 is incorrect
...
Fixed several issues introduced by 8072422.
Reviewed-by: zmajo, kvn
2016-06-20 09:32:44 +02:00
Tobias Hartmann
d1cfec7f7e
8155046: Parse::Block construction using undefined behavior
...
Blocks should be created via constructor and placement new.
Reviewed-by: kvn
2016-06-01 14:22:18 +02:00
Stefan Karlsson
f8be292b88
8141501: Problems with BitMap buffer management
...
Reviewed-by: pliden, kbarrett
2016-05-03 22:45:27 +02: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
Bharadwaj Yadavalli
cecf2d83d5
Merge
2016-04-08 12:36:27 -04: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
Zoltan Majo
69d14c811b
8072422: Cleanup: Remove some unused flags/code in loop optimizations
...
Remove unused flags, change test using them.
Reviewed-by: kvn, twisti
2016-04-04 12:52:11 +02:00
Claes Redestad
ea5a3565b8
8150720: Cleanup code around PrintOptoStatistics
...
Reviewed-by: kvn, shade, vlivanov
2016-02-29 15:05:45 +01:00
Hui Shi
3767315e75
8144993: Elide redundant memory barrier after AllocationNode
...
Elide memory barrier for AllocationNode when it doesn't escape in initializer and has an MemBarRelease node at exit of initializer method.
Reviewed-by: aph, mdoerr, goetz, kvn, asiebenborn
2015-12-27 05:15:14 -08: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
Volker Simonis
350b04eab2
8141551: C2 can not handle returns with inccompatible interface arrays
...
Reviewed-by: kvn
2015-11-16 14:19:10 +01:00
Nils Eliasson
c2892b5dce
Merge
2015-11-16 20:56:18 +01:00
Hui Shi
854b8d1ff1
8139758: [REDO] Elide more final field's write memory barrier with escape analysis result
...
Membar for all final field initializations eliminated if possible
Reviewed-by: roland, vlivanov
2015-11-16 16:14:15 +01: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
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
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Zoltan Majo
9d6b3c1d71
8067374: Use %f instead of %g for LogCompilation output
...
Changed format string from %g to %f.
Reviewed-by: kvn
2015-01-15 11:30:13 +01:00
Roland Westrelin
186ca57447
8055530: assert(_exits.control()->is_top() || !_gvn.type(ret_phi)->empty()) failed: return value must be well defined
...
Concurrent class loading causes return phi to become top
Reviewed-by: kvn
2014-12-22 11:21:20 +01:00
Zoltan Majo
49b224a4f7
8057622: java/util/stream/test/org/openjdk/tests/java/util/stream/InfiniteStreamWithLimitOpTest: SEGV inside compiled code (sparc)
...
In Parse::array_store_check(), add control edge FROM IfTrue branch of runtime type check of the destination array TO loading _element_klass from destination array.
Reviewed-by: kvn, roland, anoll
2014-11-06 09:40:58 +01:00
Aleksey Shipilev
f824f8c3cb
8058968: Compiler time traces should be improved
...
Use CITime consistently, make C2 to report to CompilerBroker, more probes.
Reviewed-by: vlivanov, jrose
2014-09-25 12:10:57 +04:00
Tobias Hartmann
70a55eac34
8054033: Remove unused references to Compile*
...
Removed unused references to Compile* missed by JDK-8034812.
Reviewed-by: kvn, roland
2014-08-05 09:58:52 +02:00
Filipp Zhinkin
e8d1955b5e
8051344: JVM crashed in Compile::start() during method parsing w/ UseRTMDeopt turned on
...
Call rtm_deopt() only if there were no compilation bailouts before.
Reviewed-by: kvn
2014-07-28 15:06:38 -07:00
Roland Westrelin
2838bcc3bf
8026796: Make replace_in_map() on parent maps generic
...
Propagate node replacements along control flow edges to callers
Reviewed-by: kvn, vlivanov
2014-06-10 13:37:16 +02:00
Tobias Hartmann
2a0815a55e
8034812: remove IDX_INIT macro hack in Node class
...
The IDX_INIT macro used by Node::Node(...) to retrieve the Compile object is removed and replaced by a call to Compile::current(). The Node constructor, new operator and all calls to it are adapted accordingly.
Reviewed-by: kvn, jrose, iveresov, goetz
2014-06-02 08:07:29 +02:00
Igor Veresov
54db2c2d61
8032463: VirtualDispatch test timeout with DeoptimizeALot
...
Introduce code aging for warm method detection
Reviewed-by: kvn, twisti
2014-05-13 11:32:10 -07:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Morris Meyer
6db303a301
8001532: C2 node files refactoring
...
Split C2 node files into cast, convert, countbits, intrinsic, move, narrowptr and opaquenode classes
Reviewed-by: kvn, morris
2014-04-01 09:05:20 -07:00
Vladimir Kozlov
97a51c5c2a
8031320: Use Intel RTM instructions for locks
...
Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed
2014-03-20 17:49:27 -07: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
Vladimir Kozlov
7d92dc4d79
Merge
2014-01-28 12:28:17 -08:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
Roland Westrelin
c19a7e0fa3
8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
...
Type methods shouldn't always operate on speculative part
Reviewed-by: kvn, twisti
2014-01-24 09:31:53 +01:00
Martin Doerr
0306737032
8029101: PPC64 (part 211): ordering of Independent Reads of Independent Writes
...
Reviewed-by: dholmes, kvn
2014-01-16 14:25:51 +01:00
Mikael Vidstedt
a0da47fd66
8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
...
Copyright year updated for files modified during 2013
Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Goetz Lindenmaier
13b13f5259
8024921: PPC64 (part 113): Extend Load and Store nodes to know about memory ordering
...
Add a field to C2 LoadNode and StoreNode classes which indicates whether the load/store should do an acquire/release on platforms which support it.
Reviewed-by: kvn
2013-11-15 11:05:32 -08:00
Roland Westrelin
1b5bd82335
8024070: C2 needs some form of type speculation
...
Record unused type profile information with type system, propagate and use it.
Reviewed-by: kvn, twisti
2013-10-23 12:40:23 +02:00
Roland Westrelin
3f8ae3e9b9
8024069: replace_in_map() should operate on parent maps
...
Type information gets lost because replace_in_map() doesn't update parent maps
Reviewed-by: kvn, twisti
2013-10-19 12:16:43 +02:00
Vladimir Kozlov
b4977e887a
6934604: enable parts of EliminateAutoBox by default
...
Resurrected autobox elimination code and enabled part of it by default.
Reviewed-by: roland, twisti
2013-05-08 15:08:01 -07:00
Christian Thalinger
a55305503e
8005418: JSR 292: virtual dispatch bug in 292 impl
...
Reviewed-by: jrose, kvn
2013-01-09 15:37:23 -08:00
Bharadwaj Yadavalli
2d2532e740
7092905: C2: Keep track of the number of dead nodes
...
Keep an (almost) accurate running count of the reachable (live) flow graph nodes.
Reviewed-by: kvn, twisti, jrose, vlivanov
2012-11-27 17:24:15 -08:00
Christian Thalinger
31411dbc32
7172640: C2: instrinsic implementations in LibraryCallKit should use argument() instead of pop()
...
Reviewed-by: kvn, jrose
2012-11-26 17:25:11 -08:00
Vladimir Ivanov
822deb6ee6
7177003: C1: LogCompilation support
...
Add LogCompilation support in C1 - both client and tiered mode.
Reviewed-by: twisti, kvn
2012-10-05 18:57:10 -07:00
Vladimir Kozlov
8d8d00ff00
7199742: A lot of C2 OSR compilations of the same method's bci
...
Don't clone head of OSR loop.
Reviewed-by: jrose, twisti
2012-10-02 14:49:21 -07:00
Bharadwaj Yadavalli
d5d2e78faa
7193318: C2: remove number of inputs requirement from Node's new operator
...
Deleted placement new operator of Node - node(size_t, Compile *, int).
Reviewed-by: kvn, twisti
2012-09-27 09:38:42 -07:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Vladimir Kozlov
5e05a0d592
7187454: stack overflow in C2 compiler thread on Solaris x86
...
Added new FormatBufferResource class to use thread's resource area for error message buffer.
Reviewed-by: twisti
2012-07-30 09:49:25 -07:00
Christian Thalinger
12901d0e5b
7023639: JSR 292 method handle invocation needs a fast path for compiled code
...
6984705: JSR 292 method handle creation should not go through JNI
Remove assembly code for JDK 7 chained method handles
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, kvn, mhaupt
2012-07-24 10:51:00 -07:00
Vladimir Kozlov
337666a80c
7128355: assert(!nocreate) failed: Cannot build a phi for a block already parsed
...
Do not common BoxLock nodes and avoid creating phis of boxes.
Reviewed-by: never
2012-01-12 14:45:04 -08:00
Vladimir Kozlov
94927c382b
7125896: Eliminate nested locks
...
Nested locks elimination done before lock nodes expansion by looking for outer locks of the same object.
Reviewed-by: never, twisti
2012-01-07 13:26:43 -08:00