Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Rahul Raghavan
b2783bb80a
8175345: Reported null pointer dereference defect groups
...
Added required explicit NULL checks
Reviewed-by: thartmann, kvn
2017-03-09 00:16:51 -08:00
Tobias Hartmann
3fddb36924
8159244: Partially initialized string object created by C2's string concat optimization may escape
...
Emit release barrier after String creation to prevent partially initialized object from escaping.
Reviewed-by: kvn
2016-06-15 07:58:56 +02: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
Aleksey Shipilev
03174f3030
8149813: Move trusted final field handling from C2 LoadNode::Value to shared code
...
Reviewed-by: thartmann, kvn
2016-02-15 23:45:15 +03:00
Tobias Hartmann
01a4b31e78
8144212: JDK 9 b93 breaks Apache Lucene due to compact strings
...
String compress/inflate intrinsics need to capture char and byte memory.
Reviewed-by: aph, roland, kvn
2016-01-18 08:34:14 +01:00
Tobias Hartmann
0e1b2cd198
8136469: OptimizeStringConcat fails on pre-sized StringBuilder shapes
...
Cut off dead if branch already during parsing (GVN).
Reviewed-by: shade, kvn, roland
2016-01-12 12:55:37 +01:00
Tobias Hartmann
ea052022fa
8140390: Char stores/loads accessing byte arrays must be marked as unmatched
...
Mark unmatched char stores/loads emitted by CompactStrings.
Reviewed-by: roland, vlivanov, jrose
2015-11-20 10:09:42 +01:00
Tobias Hartmann
f3011455a2
8141443: jdk/test/java/util/regex/RegExTest.java fails: No match found
...
Do not sign extend when converting jbyte to jchar.
Reviewed-by: shade, kvn
2015-11-05 15:29:46 +01: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
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Aleksey Shipilev
e3007b79ad
8076758: new StringBuilder().append(String).toString() should be recognized by OptimizeStringConcat
...
Reviewed-by: kvn, thartmann
2015-09-01 12:57:41 +03: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
Axel Siebenborn
0520df8a92
8068909: SIGSEGV in c2 compiled code with OptimizeStringConcat
...
Reviewed-by: kvn
2015-01-16 13:58:22 +01: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
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
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
Igor Veresov
64b6d2b5e5
8009303: Tiered: incorrect results in VM tests stringconcat with -Xcomp -XX:+DeoptimizeALot on solaris-amd64
...
Do memory flow analysis in string concat optimizier to exclude cases when computation of arguments to StringBuffer::append has side effects
Reviewed-by: kvn, twisti
2013-10-16 11:13:15 -07:00
Roland Westrelin
73d6d417be
8005071: Incremental inlining for JSR 292
...
Post parse inlining driven by number of live nodes.
Reviewed-by: twisti, kvn, jrose
2012-12-23 17:08:22 +01:00
Roland Westrelin
b1c3e5ccc6
8005031: Some cleanup in c2 to prepare for incremental inlining support
...
Collection of small changes to prepare for incremental inlining.
Reviewed-by: twisti, kvn
2012-12-18 14:55:25 +01: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
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
Vladimir Kozlov
27e9d6f36d
7123926: Some CTW test crash: !_control.contains(ctrl)
...
Don't eliminate Integer::toString() call node during String concatenation optimization if it has several uses.
Reviewed-by: twisti
2012-07-13 17:48:26 -07:00
Vladimir Kozlov
8c4cefaa96
7179138: Incorrect result with String concatenation optimization
...
Check for and skip diamond shaped NULL check code for the result of toString()
Reviewed-by: twisti, roland
2012-06-26 09:06:16 -07:00
Vladimir Kozlov
eb4a860bc3
6924259: Remove String.count/String.offset
...
Allow a version of String class that doesn't have count and offset fields.
Reviewed-by: never, coleenp
2012-05-14 09:36:00 -07:00
Tom Rodriguez
a02fad04b2
7161796: PhaseStringOpts::fetch_static_field tries to fetch field from the Klass instead of the mirror
...
Reviewed-by: twisti
2012-04-18 16:08:34 -07:00
Vladimir Kozlov
8d44d62173
7046096: SEGV IN C2 WITH 6U25
...
Missing fail flag set in strings concatenation code.
Reviewed-by: never
2011-05-20 12:46:20 -07:00
Tom Rodriguez
eb8db40092
7032162: assert(flat != TypePtr::BOTTOM) failed: cannot alias-analyze an untyped ptr
...
Reviewed-by: kvn
2011-04-28 14:00:13 -07:00
Erik Trimble
c9e484d473
7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
John Coomes
cdd5139d91
Merge
2011-03-24 23:04:36 -07:00
John Coomes
fe899cc10d
6962931: move interned strings out of the perm gen
...
Reviewed-by: never, coleenp, ysr, jwilhelm
2011-03-22 13:36:33 -07:00
Vladimir Kozlov
3de260da41
7008866: Missing loop predicate for loop with multiple entries
...
Add predicates when loop head bytecode is parsed instead of when back branch bytecode is parsed.
Reviewed-by: never
2011-03-21 11:28:14 -07:00
Vladimir Kozlov
4286ac7947
7009359: HS with -XX:+AggressiveOpts optimize new StringBuffer(null) so it does not throw NPE as expected
...
Bailout StringConcat optimization if null is passed to StringBuffer constructor.
Reviewed-by: iveresov
2010-12-28 17:34:02 -08:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Tom Rodriguez
bce771e0fe
6986028: assert(_base == Int) failed: Not an Int in CmpINode::sub
...
Reviewed-by: kvn, twisti
2010-09-22 23:51:03 -07:00
Christian Thalinger
a4b2fe3b1c
6978355: renaming for 6961697
...
This is the renaming part of 6961697 to keep the actual changes small for review.
Reviewed-by: kvn, never
2010-08-25 05:27:54 -07:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Tom Rodriguez
c1be36be1b
6920293: OptimizeStringConcat causing core dumps
...
Reviewed-by: kvn, twisti
2010-02-05 11:07:40 -08:00
Tom Rodriguez
9db2092b1b
6892658: C2 should optimize some stringbuilder patterns
...
Reviewed-by: kvn, twisti
2009-11-12 09:24:21 -08:00