Keith McGuigan
01b706e9f9
Merge
2009-11-11 09:13:12 -05:00
Changpeng Fang
2c40841f3f
Merge
2009-11-10 17:00:18 -08:00
Roland Westrelin
7eea7dcfe4
6769124: various 64-bit fixes for c1
...
Reviewed-by: never
2009-11-02 11:17:55 +01:00
Xiaobin Lu
f5e722511a
Merge
2009-10-30 17:24:14 -07:00
John R Rose
903247cf85
6858164: invokedynamic code needs some cleanup (post-6655638)
...
Fix several crashers, remove needless paths for boxed-style bootstrap method call, refactor & simplify APIs for rewriter constantPoolOop, remove sun.dyn.CallSiteImpl
Reviewed-by: kvn
2009-10-30 16:22:59 -07:00
Antonios Printezis
56b1d0c435
Merge
2009-10-30 13:31:11 -04:00
John Cuthbertson
bf0f699b33
6889740: G1: OpenDS fails with "unhandled exception in compiled code"
...
Incorrect code was being generated for the store operation in the null case of the aastore bytecode template. The bad code was generated by the store_heap_oop routine which takes a Register as its second argument. Passing NULL_WORD (0) as the second argument causes the value to be converted to Register(0), which is rax. Thus the generated store was "mov (dst), $rax" instead of "mov (dst), $0x0". Changed calls to store_heap_oop that pass NULL_WORD as the second argument to a new routine store_heap_oop_null.
Reviewed-by: kvn, twisti
2009-10-29 09:42:26 -07:00
Paul Hohensee
2f7d60fa36
6887571: Increase default heap config sizes
...
Apply modification of existing server heap size ergo to all collectors except CMS.
Reviewed-by: jmasa, ysr, xlu
2009-10-28 16:25:51 -04:00
John R Rose
2134a92922
6815692: method handle code needs some cleanup (post-6655638)
...
Correctly raise exceptions, support safe bitwise "raw" conversions, fix bugs revealed by VerifyMethodHandles, remove dead code, improve debugging support
Reviewed-by: never, twisti
2009-10-17 19:51:05 -07:00
Changpeng Fang
35ca20c546
Merge
2009-10-16 14:08:44 -07:00
Vladimir Kozlov
34324e30c0
6890984: Comparison of 2 arrays could cause VM crash
...
Restore original null checks.
Reviewed-by: never, cfang
2009-10-14 15:03:32 -07:00
John Coomes
7e76feaf42
6888953: some calls to function-like macros are missing semicolons
...
Reviewed-by: pbk, kvn
2009-10-11 16:19:25 -07:00
John Cuthbertson
83f1d02a67
6946056: assert((intptr_t) sp()<=(intptr_t) result,"result must>=than stack pointer"), frame_x86.cpp:295
...
Frame::interpreter_frame_monitor_end() will spuriously assert for a frame that spans 0x80000000. Cast values to intptr_t* (rather than intptr_t) so that an unsigned pointer compare is performed.
Reviewed-by: never, jcoomes, pbk
2010-04-27 18:13:47 -07:00
Erik Trimble
8cea3ed3b4
Merge
2009-10-09 15:18:52 -07:00
Erik Trimble
652ccb8d21
Merge
2009-09-25 12:17:06 -07:00
John R Rose
40d52710f6
Merge
2009-09-23 23:56:15 -07:00
Xiomara Jayasena
15f08eb80e
6884624: Update copyright year
...
Update copyright for files that have been modified in 2009 through Septermber
Reviewed-by: tbell, ohair
2009-09-22 14:06:10 -07:00
John R Rose
e261aecad8
6863023: need non-perm oops in code cache for JSR 292
...
Make a special root-list for those few nmethods which might contain non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr
2009-09-15 21:53:47 -07:00
Karen Kinnear
ffb85ff832
Merge
2009-09-15 16:28:57 -04:00
Vladimir Kozlov
243514d483
6827605: new String intrinsics may prevent EA scalar replacement
...
6875866: Intrinsic for String.indexOf() is broken on x86 with SSE4.2
Modify String intrinsic methods to pass char[] pointers instead of string oops.
Reviewed-by: never
2009-09-14 12:14:20 -07:00
Poonam Bajaj
c04761e799
6858208: jvm crash when specifying TypeProfileWidth=0 on jdk 6.0
...
Add an explicit check for TypeProfileWidth == 0 in record_klass_in_profile_helper() functions.
Reviewed-by: never, coleenp
2009-09-01 23:34:08 -07:00
Tom Rodriguez
57a92290f4
6855215: Calculation error (NaN) after about 1500 calculations
...
Reviewed-by: kvn
2009-08-31 17:07:53 -07:00
Tom Rodriguez
9966801c6c
6875329: fix for 6795465 broke exception handler cloning
...
Reviewed-by: kvn
2009-08-24 22:26:15 -07:00
Changpeng Fang
f6f2d510b9
6829127: Deoptimization Failure on Specjvm98 _227_mtrt with -XX:+DeoptimizeALot since Hs11 b01
...
Make sure the control word is correct in deopt_blob after restore_result_registers
Reviewed-by: kvn, never
2009-08-17 09:48:02 -07:00
Vladimir Kozlov
ab7a29cdcc
Merge
2009-08-06 09:37:26 -07:00
Vladimir Kozlov
9f97cf13e8
6864914: SPECjvm2008 produces invalid result with zero based Compressed Oops
...
Always use "lea" instruction for narrow oop decoding instead of "shift".
Reviewed-by: never
2009-07-30 16:05:56 -07:00
Erik Trimble
e846382e12
Merge
2009-07-29 16:00:35 -07:00
Xiomara Jayasena
a63ef10004
6862919: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 07/09
Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -07:00
Vladimir Kozlov
1a7cfb7023
Merge
2009-07-24 09:01:00 -07:00
Y. Srinivas Ramakrishna
075c1335cb
6700789: G1: Enable use of compressed oops with G1 heaps
...
Modifications to G1 so as to allow the use of compressed oops.
Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
2009-07-14 15:40:39 -07:00
Tom Rodriguez
5a409d142f
6859338: amd64 native unverified entry point pushes values before implicit null check
...
Reviewed-by: kvn, twisti
2009-07-13 14:58:17 -07:00
Tom Rodriguez
986d570981
6851908: interpreter null check profiling broken causing extra compilation invalidation
...
Reviewed-by: kvn
2009-06-26 16:14:31 -07:00
Christian Thalinger
a9ad90fa87
5057225: Remove useless I2L conversions
...
The optimizer should be told to normalize (AndL (ConvI2L x) 0xFF) to (ConvI2L (AndI x 0xFF)), and then the existing matcher rule will work for free.
Reviewed-by: kvn
2009-06-26 07:26:10 -07:00
Changpeng Fang
0429abd38a
6848466: frame::frame_size() assertion failure with -XX:+DebugDeoptimization
...
Add a RegisterMap* argument to frame::frame_size() to correctly compute the sender frame
Reviewed-by: never
2009-06-05 10:25:39 -07:00
Christian Thalinger
8a262ce04b
6814842: Load shortening optimizations
...
6797305 handles load widening but no shortening which should be covered here.
Reviewed-by: never, kvn
2009-05-13 00:45:22 -07:00
Vladimir Kozlov
34ee921399
6788527: Server vm intermittently fails with assertion "live value must not be garbage" with fastdebug bits
...
Cache Jvmti and DTrace flags used by Compiler.
Reviewed-by: never
2009-05-08 10:44:20 -07:00
Christian Thalinger
6a270f9f19
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
...
These methods can be instrinsified by using bit scan, bit test, and population count instructions.
Reviewed-by: kvn, never
2009-05-06 00:27:52 -07:00
John R Rose
34c1d72421
6655646: dynamic languages need dynamically linked call sites
...
Invokedynamic instruction (JSR 292 RI)
Reviewed-by: twisti, never
2009-04-21 23:21:04 -07:00
John R Rose
ce0c084720
6655638: dynamic languages need method handles
...
Initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.)
Reviewed-by: kvn, twisti, never
2009-04-08 10:56:49 -07:00
John R Rose
318da3f68c
6827505: sizing logic for vtable and itable stubs needs self-check
...
Asserts and comments to help maintain the correct sizing of certain stubs
Reviewed-by: kvn
2009-04-08 00:12:59 -07:00
Tom Rodriguez
72afcb0285
6539464: Math.log() produces inconsistent results between successive runs
...
Reviewed-by: kvn
2009-04-06 11:53:17 -07:00
Tom Rodriguez
f3946ad215
Merge
2009-03-31 19:20:34 -07:00
Tom Rodriguez
b857081608
6824463: deopt blob is testing wrong register on 64-bit x86
...
Reviewed-by: jrose, phh, kvn
2009-03-31 15:09:45 -07:00
Changpeng Fang
c0d62ad9e6
6761600: Use sse 4.2 in intrinsics
...
Use SSE 4.2 in intrinsics for String.{compareTo/equals/indexOf} and Arrays.equals.
Reviewed-by: kvn, never, jrose
2009-03-31 14:07:08 -07:00
Vladimir Kozlov
705188bb7b
6821700: tune VM flags for peak performance
...
Tune C2 flags default values for performance.
Reviewed-by: never, phh, iveresov, jmasa, ysr
2009-03-30 18:19:31 -07:00
Tom Rodriguez
134debb0ba
6822204: volatile fences should prefer lock:addl to actual mfence instructions
...
Reviewed-by: kvn, phh
2009-03-26 14:31:45 -07:00
John R Rose
cfb08c72ba
6814659: separable cleanups and subroutines for 6655638
...
Preparatory but separable changes for method handles
Reviewed-by: kvn, never
2009-03-20 23:19:36 -07:00
Vladimir Kozlov
41463d1d3a
Merge
2009-03-19 09:13:24 -07:00
Vladimir Kozlov
f210928e73
6816308: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
...
Allow Hotspot builds with latest Windows SDK 6.1 on 64bit Windows 2003
Reviewed-by: ohair, tbell, jcoomes
2009-03-16 15:06:33 -07:00
John R Rose
b8dbe8d8f6
6813212: factor duplicated assembly code for general subclass check (for 6655638)
...
Code in interp_masm, stubGenerator, c1_LIRAssembler, and AD files moved into MacroAssembler.
Reviewed-by: kvn
2009-03-13 18:39:22 -07:00