Roland Westrelin
07537703cc
8048170: Test closed/java/text/Normalizer/ConformanceTest.java failed
...
PhaseIdealLoop::split_if_with_blocks_post() shoulnd't reorder range checks adjusted by range check smearing
Reviewed-by: kvn, jrose
2014-12-04 14:34:11 +01:00
David Chase
f454e5e02c
Merge
2014-11-13 11:35:15 -05:00
Jesper Wilhelmsson
c72d5c48e2
Merge
2014-11-13 12:29:09 +01:00
Roland Westrelin
4bc2edad15
8054478: C2: Incorrectly compiled char[] array access crashes JVM
...
Dead backbranch in main loop results in erroneous array access
Reviewed-by: kvn, iveresov
2014-11-13 09:19:46 +01:00
Vladimir Ivanov
5a00d5f6b5
8058148: MaxNodeLimit and LiveNodeCountInliningCutoff
...
Reviewed-by: kvn, roland
2014-11-24 07:29:03 -08:00
Tobias Hartmann
9adb455ba8
8065339: Failed compilation does not always trigger a JFR event 'CompilerFailure'
...
CompilerFailure JFR event should be triggered in ciEnv.
Reviewed-by: kvn
2014-11-24 08:48:15 +01:00
Vladimir Kozlov
f36e847523
8065618: C2 RA incorrectly removes kill projections
...
Don't remove KILL projections if their "defining" nodes have SCMemProj projection (memory side effects).
Reviewed-by: iveresov
2014-11-21 17:17:41 -08:00
Vladimir Ivanov
f3d9096e4d
8062258: compiler/debug/TraceIterativeGVN.java segfaults in trace_PhaseIterGVN
...
Reviewed-by: kvn
2014-11-17 14:02:45 -08:00
David Chase
fbe3993153
Merge
2014-11-07 13:58:52 -05:00
Staffan Larsen
bcb6a1586a
Merge
2014-11-06 19:59:32 +00: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
Goetz Lindenmaier
0aa09022fa
8062370: Various minor code improvements
...
A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Jesper Wilhelmsson
b59b80b068
Merge
2014-11-03 15:53:48 +01:00
Bengt Rutisson
4601eb634a
8061308: Remove iCMS
...
Reviewed-by: mgerdin, jmasa
2014-10-31 09:10:51 +01:00
Roland Westrelin
79738069b0
8060252: JDK-7173584 compiler changes regress SPECjvm2008 on SPARC
...
Arraycopy code misses opportunities to optimize copies to just allocated array.
Reviewed-by: kvn
2014-10-20 22:53:37 +02:00
Vladimir Kozlov
8cd1a874e8
8059780: SPECjvm2008-MPEG performance regressions on x64 platforms
...
Back-out 8052081 changes made in lcm.cpp.
Reviewed-by: iveresov, roland
2014-11-03 12:02:40 -08:00
Vladimir Kozlov
74def215cd
8054492: Casting can result in redundant null checks in generated code
...
Add C2 intrinsic for Class.cast() method and force inline it too.
Reviewed-by: jrose, roland, drchase, iignatyev
2014-10-31 16:51:57 -07:00
Jesper Wilhelmsson
1570e4c406
Merge
2014-10-16 15:59:39 +00:00
Zoltan Majo
ed26c7e640
8059604: Add CompileThresholdScaling flag to control when methods are first compiled (with and withour TieredCompilation)
...
This patch adds a new flag (CompileThresholdScaling) to control when methods are first compiled
Reviewed-by: anoll, iveresov, kvn
2014-10-15 14:00:41 +02:00
Zoltan Majo
bde7fd61b4
8060215: per-method PrintIdealGraphLevel
...
Use CompileCommand=option to set PrintIdealGraphLevel on a per-method level. Introduce the PrintIdealGraph develop to control/check if printing the graph is enabled for any method
Reviewed-by: kvn, dlong, thartmann
2014-10-15 10:51:43 +02:00
Jesper Wilhelmsson
1934c66969
Merge
2014-10-13 16:05:46 +02:00
Staffan Friberg
8b424b422f
8057737: Avoid G1 write barriers on newly allocated objects
...
Reviewed-by: mgerdin, kvn, iveresov
2014-10-09 13:06:15 -07:00
Albert Noll
82171aa7ab
8059331: Print additional information for the assert in Compile::start()
...
Add additional output that shows the failure reason
Reviewed-by: kvn
2014-10-06 06:51:37 -07:00
Roland Westrelin
f575843d51
8058746: escape analysis special case code for array copy broken by 7173584
...
Escape analysis doesn't handler arraycopy nodes properly
Reviewed-by: kvn, iveresov, vlivanov
2014-10-06 14:53:30 +02:00
Vladimir Kozlov
d124a839ce
8059299: assert(adr_type != NULL) failed: expecting TypeKlassPtr
...
Use top() for dead paths when initializing Phi node of exceptions klasses in Parse::catch_inline_exceptions().
Reviewed-by: jrose, vlivanov
2014-10-02 11:36:44 -07:00
Vladimir Ivanov
5a5f718b6f
8059556: C2: crash while inlining MethodHandle invocation w/ null receiver
...
Reviewed-by: kvn, jrose
2014-10-01 12:34:45 -07:00
Tobias Hartmann
ea755702aa
8059468: Fix PrintCodeCache output changed by JDK-8059137
...
Change output of PrintCodeCache to print "CodeCache" instead of "Code Cache" and change name of non-method code heap to non-nmethod code heap.
Reviewed-by: vlivanov, anoll
2014-09-30 15:44:43 +02:00
Vladimir Ivanov
55291de970
8058825: EA: ConnectionGraph::split_unique_types does incorrect scalar replacement
...
Reviewed-by: kvn
2014-09-29 11:46:05 -07: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
cd01de591a
8015774: Add support for multiple code heaps
...
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.
Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:00:07 +02:00
Roland Westrelin
2d59d215e2
8057758: Tests run TypeProfileLevel=222 crash with guarantee(0) failed: must find derived/base pair
...
Use TypeAryPtr::INT type with offset 0 in inline_multiplyToLen().
Reviewed-by: kvn, iveresov
2014-09-09 15:47:18 -07:00
Niclas Adlertz
1b124f9f48
Merge
2014-09-09 16:14:40 +02:00
Vladimir Kozlov
98f413fa1f
Merge
2014-09-04 22:59:17 -07:00
Aleksey Shipilev
13329b5040
8050147: StoreLoad barrier interferes with stack usages
...
Reviewed-by: jrose, kvn, drchase
2014-09-04 13:11:25 +04:00
Serguei Spitsyn
f1aa6a6d0c
Merge
2014-08-29 11:35:03 -07:00
Coleen Phillimore
73d759e533
8049105: Move array component mirror to instance of java/lang/Class (hotspot part 2)
...
This removes component mirrors from arrayKlass metadata and the C2 intrinsic for them.
Reviewed-by: kvn, twisti, mgerdin
2014-08-28 11:29:09 -04:00
Zoltan Majo
6ec9232c46
8051415: TypeTuple::make_domain() and TypeTuple::make_range() allocate too much memory
...
Change memory allocation in TypeTuple::make_domain() and TypeTuple::make_range() to not allocate memory for TypeFunc::Parms.
Reviewed-by: kvn, roland
2014-08-27 10:02:58 +02:00
Roland Westrelin
400f0f7a8f
8055153: nsk/stress/jck60/jck60014 crashes on sparc
...
Missing control for LoadRange and LoadKlass nodes created during arraycopy node expansion
Reviewed-by: kvn, iveresov
2014-08-19 17:23:38 +02:00
Tobias Hartmann
8b9a829836
8048879: "unexpected yanked node" opto/postaloc.cpp:139
...
MemBarAcquireNode prevents deletion of dead LoadNNode. Added condition to 'has_special_unique_user' to trigger deletion.
Reviewed-by: kvn, iveresov
2014-08-19 07:36:11 +02:00
Vladimir Kozlov
b86cece468
Merge
2014-08-15 12:27:50 -07:00
Igor Veresov
8ed4cb5a02
8054883: Segmentation error while running program
...
Fix pattern matching of range check
Reviewed-by: kvn
2014-08-13 17:37:11 -07:00
Vladimir Kozlov
ed5be50e9e
8054927: Missing MemNode::acquire ordering in some volatile Load nodes
...
Fixed memory ordering parameter and added missing barriers for volatile loads.
Reviewed-by: roland, iveresov
2014-08-13 13:05:04 -07:00
Zhengyu Gu
8a690a1250
6424123: JVM crashes on failed 'strdup' call
...
Calling os::malloc()/os::strdup() and new os::strdup_check_oom() instead of ::malloc()/::strdup() for native memory tracking purpose
Reviewed-by: coleenp, ctornqvi, kvn
2014-08-11 10:18:09 -07:00
Zhengyu Gu
d595244c27
Merge
2014-08-11 07:20:39 -07:00
Roland Westrelin
dc1afd4abe
Merge
2014-08-11 13:02:44 +00:00
Roland Westrelin
a56ade07c7
7173584: Implement arraycopy as a macro node
...
Delay the conversion of arraycopy to stub calls to macro expansion
Reviewed-by: kvn, iveresov
2014-08-11 14:12:51 +02:00
Tobias Hartmann
a67aa1e3df
8043284: Optimize signed integer comparison
...
Folding of BoolNode if input add/sub of CmpI overflows and we can prove that compared value is not in the two resulting ranges. Added test for CmpI and CmpU optimizations.
Reviewed-by: kvn, rbackman, roland
2014-08-11 13:01:37 +02:00
Zhengyu Gu
f0cf82f571
8046598: Scalable Native memory tracking development
...
Enhance scalability of native memory tracking
Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-07 12:18:58 -07:00
Vladimir Kozlov
c620214d18
8041984: CompilerThread seems to occupy all CPU in a very rare situation
...
Add new timeout checks to EA.
Reviewed-by: iveresov, drchase
2014-10-24 10:28:19 -07:00
Vladimir Ivanov
916697af2c
8036748: assert(_base == Int) failed: Not an Int w/ -XX:+TraceIterativeGVN
...
Reviewed-by: kvn, roland
2014-10-24 09:14:41 -07:00