Vladimir Kozlov
a74bc73598
6942326: x86 code in string_indexof() could read beyond reserved heap space
...
Copy small (<8) strings on stack if str+16 crosses a page boundary and load from stack into XMM. Back up pointer when loading string's tail.
Reviewed-by: never
2011-02-26 12:10:54 -08:00
Vladimir Kozlov
5d3ab72d1d
7017746: Regression : C2 compiler crash due to SIGSEGV in PhaseCFG::schedule_early()
...
Add TEMP edges (and KILL projections) before duplicated operands are removed in Expand() methods.
Reviewed-by: never
2011-02-10 14:25:59 -08:00
Christian Thalinger
4c567f5969
7018277: JSR 292 change test/compiler/6987555/Test6987555.java to new MH syntax
...
Test/compiler/6987555/Test6987555.java currently does not compile because the MH return-type syntax has changed.
Reviewed-by: never
2011-02-10 00:47:59 -08:00
Erik Trimble
64115cbb85
Merge
2011-01-07 22:56:35 -08:00
Erik Trimble
3c6a7c89ff
7010068: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - first pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: jcoomes
2011-01-03 15:30:05 -08: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
Igor Veresov
43280aa63e
7009231: C1: Incorrect CAS code for longs on SPARC 32bit
...
Fix CAS of longs on SPARC 32bit and cmove on SPARC 64bit.
Reviewed-by: kvn
2010-12-27 21:51:31 -08:00
Tom Rodriguez
ecddc15f7c
6579789: Internal error "c1_LinearScan.cpp:1429 Error: assert(false,"")" in debuggee with fastdebug VM
...
Reviewed-by: kvn, iveresov
2010-12-17 15:55:32 -08:00
Christian Thalinger
bd6731ae92
7003798: test/compiler/6991596 fails with true != false
...
The test of 6991596 fails on SPARCV9.
Reviewed-by: kvn, never, jrose
2010-12-03 06:14:37 -08:00
Tom Rodriguez
532dec3797
7002666: eclipse CDT projects crash with compressed oops
...
Reviewed-by: kvn, twisti
2010-12-01 10:16:31 -08:00
Igor Veresov
eb71d414e1
Merge
2010-11-11 17:36:50 -08:00
Vladimir Kozlov
ce2df719c6
6997311: SIGFPE in new long division asm code
...
Use unsigned DIV instruction
Reviewed-by: never
2010-11-06 18:52:07 -07:00
Lana Steuck
83b80f473c
Merge
2010-11-04 15:32:01 -07:00
Pavel Tisnovsky
f37b5faab7
6997495: correction of regression test compiler/6857159/Test6857159
...
Testcase correction.
Reviewed-by: never
2010-11-04 14:03:12 +01:00
Christian Thalinger
14d9ac3169
6991596: JSR 292 unimplemented adapter_opt_i2i and adapter_opt_l2i on SPARC
...
Reviewed-by: kvn, jrose, dsamersoff
2010-10-18 01:54:24 -07:00
Christian Thalinger
98e9ecf9da
6987555: JSR 292 unboxing to a boolean value fails on big-endian SPARC
...
Reviewed-by: never, jrose
2010-10-13 01:19:43 -07:00
Tom Rodriguez
f591ed981d
6968348: Byteswapped memory access can point to wrong location after JIT
...
Reviewed-by: twisti, kvn, iveresov
2010-10-04 17:09:18 -07:00
Tom Rodriguez
e65f42fe5e
6982370: SIGBUS in jbyte_fill
...
Reviewed-by: kvn
2010-09-14 14:09:24 -07:00
Abhijit Saha
a3319eba8a
6977952: Test: Sync missing tests from hs16.3 to hs17.x
...
Reviewed-by: wrockett
2010-08-17 22:52:50 -07:00
Vladimir Kozlov
b092cb33e6
6973329: C2 with Zero based COOP produces code with broken anti-dependency on x86
...
Recompile without subsuming loads if RA try to clone a node with anti_dependence.
Reviewed-by: never
2010-08-11 10:48:20 -07:00
Tom Rodriguez
154ae789ef
6958485: fix for 6879921 was insufficient
...
Reviewed-by: kvn
2010-06-07 14:17:01 -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
Hiroshi Yamauchi
cd48f31efe
6946040: add intrinsic for short and char reverseBytes
...
Reviewed-by: never, twisti
2010-04-26 11:27:21 -07:00
Abhijit Saha
0610f6846b
Merge
2010-04-06 22:06:57 -07:00
Abhijit Saha
845f11dd17
Merge
2010-03-24 17:16:33 -07:00
Tom Rodriguez
dac78c30b9
6930043: C2: SIGSEGV in javasoft.sqe.tests.lang.arr017.arr01702.arr01702.loop_forw(II)I
...
Reviewed-by: kvn
2010-03-17 16:40:25 -07:00
Vladimir Kozlov
72a7a6ffcf
6935535: String.indexOf() returns incorrect result on x86 with SSE4.2
...
Added missing counter decrement when substring search restarted.
Reviewed-by: twisti
2010-03-17 10:47:03 -07:00
Roland Westrelin
7dcf59914e
6932496: c1: deoptimization of jsr subroutine fails on sparcv9
...
Store jsr ret bci as intptr constant in c1 debug info
Reviewed-by: never
2010-03-05 13:58:34 +01:00
Tom Rodriguez
3e1688a8cd
6663854: assert(n != __null,"Bad immediate dominator info.") in C2 with -Xcomp
...
Reviewed-by: kvn
2010-02-18 15:05:10 -08:00
Vladimir Kozlov
22409a5704
6910618: C2: Error: assert(d->is_oop(),"JVM_ArrayCopy: dst not an oop")
...
Mark in PcDesc call sites which return oop and save the result oop across objects reallocation during deoptimization.
Reviewed-by: never
2010-02-09 01:31:13 -08:00
Vladimir Kozlov
3f7a94c3f2
6910605: C2: NullPointerException/ClassCaseException is thrown when C2 with DeoptimizeALot is used
...
Set the reexecute bit for runtime calls _new_array_Java when they used for _multianewarray bytecode.
Reviewed-by: never
2010-02-08 12:20:09 -08:00
Hiroshi Yamauchi
688398edef
6921969
: optimize 64 long multiply for case with high bits zero
...
Reviewed-by: never, twisti, kvn, rasbold
2010-02-03 15:56:37 -08:00
Tom Rodriguez
8cc63249e9
6916644: C2 compiler crash on x86
...
Reviewed-by: kvn, twisti
2010-01-29 22:51:41 -08:00
Tom Rodriguez
07c442542c
6792161: assert("No dead instructions after post-alloc")
...
Reviewed-by: kvn
2010-01-28 20:41:37 -08:00
Vladimir Kozlov
a0cb26b72d
6893701: compiler/6877254/Test.java fails because it combines -XX:+UseConcMarkSweepGC with other GC
...
Remove explicit GC flags in regression tests
Reviewed-by: never, ysr
2010-01-19 15:54:42 -08:00
Vladimir Kozlov
bb4f475e1b
6917931: compiler/6895383/Test.java don't compile due missed imports
...
Add missing imports.
Reviewed-by: never, twisti
2010-01-19 10:25:54 -08:00
Tom Rodriguez
96612c6e23
6909839: missing unsigned compare cases for some cmoves in sparc.ad
...
Reviewed-by: kvn, jrose
2010-01-09 00:59:35 -08:00
Vladimir Kozlov
eca996c10f
6910484: incorrect integer optimization (loosing and op-r in a given example)
...
Remove AND operation only if mask is equal to shift.
Reviewed-by: never
2010-01-08 09:51:24 -08:00
Vladimir Kozlov
8da8433a6f
6912517: JIT bug compiles out (and stops running) code that needs to be run. Causes NPE
...
Add missing check that value is used in memory expression in instructions with embedded load.
Reviewed-by: never, jrose
2010-01-07 16:26:31 -08:00
Vladimir Kozlov
00f583219f
6896727: nsk/logging/LoggingPermission/LoggingPermission/logperm002 fails with G1, EscapeAnalisys
...
Move instance store's memory users to corresponding memory slices when updating its memory edge.
Reviewed-by: never
2009-12-09 19:50:14 -08:00
Vladimir Kozlov
9f5ca0249d
6895383: JCK test throws NPE for method compiled with Escape Analysis
...
Add missing checks for MemBar nodes in EA.
Reviewed-by: never
2009-12-09 16:40:45 -08:00
Vladimir Kozlov
d19aa4e217
6892265: System.arraycopy unable to reference elements beyond Integer.MAX_VALUE bytes
...
Use size_t type cast to widen int values in typeArrayKlass::copy_array().
Reviewed-by: never, jcoomes
2009-12-03 14:20:22 -08:00
Changpeng Fang
8a9580b1a1
6901572: JVM 1.6.16 crash on loops: assert(has_node(i),"")
...
Skip the secondary induction variable handling if it is dead
Reviewed-by: never, kvn
2009-12-02 13:29:00 -08:00
Roland Westrelin
7eea7dcfe4
6769124: various 64-bit fixes for c1
...
Reviewed-by: never
2009-11-02 11:17:55 +01:00
Changpeng Fang
e3b5580ecc
6852078: HSX 14/16 in jdk 5.0: api/javax_management api/org_omg jck tests crashes or make tnameserv crash
...
Disable SuperWord optimization for unsafe read/write
Reviewed-by: kvn, phh
2009-10-30 10:12:52 -07:00
Tom Rodriguez
8eace255e1
6891750: deopt blob kills values in O5
...
Reviewed-by: kvn, twisti
2009-10-15 11:47:13 -07:00
Tom Rodriguez
9b306d03ee
6885584: A particular class structure causes large allocation spike for jit
...
Reviewed-by: kvn
2009-10-07 15:38:37 -07:00
Volker Simonis
930f3d4570
6880034: SIGBUS during deoptimisation at a safepoint on 64bit-SPARC
...
Fix problem with the double register encodings in sparc.ad
Reviewed-by: never, jrose
2009-10-06 10:15:38 -07:00
Christian Thalinger
e4541dcd08
6879902: CTW failure jdk6_18/hotspot/src/cpu/sparc/vm/assembler_sparc.hpp:845
...
For signatures with a large number of arguments the offset for the float store becomes too big and does not fit in 13-bit.
Reviewed-by: kvn, never
2009-10-06 02:11:49 -07:00
Changpeng Fang
9640e8148d
6886353: For DeoptimizeALot, JTreg tests should "IgnoreUnrecognizedVMOptions on a product build
...
Add IgnoreUnrecognizedVMOptions for JTreg tests (on a product build) to pass with DeoptimizeALot
Reviewed-by: kvn
2009-09-28 17:14:25 -07:00