Vladimir Kozlov
9d4cd45834
Merge
2009-07-01 15:06:54 -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
Jon Masamitsu
46dcdf10e6
Merge
2009-06-10 14:57:21 -07:00
Tom Rodriguez
0f4f530213
6849574: VM crash using NonBlockingHashMap (high_scale_lib)
...
Reviewed-by: kvn
2009-06-10 12:19:48 -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
Igor Veresov
8c764e214c
6484957: G1: parallel concurrent refinement
...
6826318: G1: remove traversal-based refinement code
Removed traversal-based refinement code as it's no longer used. Made the concurrent refinement (queue-based) parallel.
Reviewed-by: tonyp
2009-05-11 16:30:56 -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
Tom Rodriguez
60e1a19b44
6833573: C2 sparc: assert(c < 64 && (c & 1) == 0,"bad double float register")
...
Reviewed-by: twisti
2009-04-24 15:08:30 -07:00
Christian Thalinger
b9f27b5eea
Merge
2009-04-22 06:09:24 -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
Christian Thalinger
57d945fd3d
6822110: Add AddressLiteral class on SPARC
...
The Address class on SPARC currently handles both, addresses and address literals, what makes the Address class more complicated than it has to be.
Reviewed-by: never, kvn
2009-04-21 11:16:30 -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
e36afee3bd
Merge
2009-04-02 10:49:41 -07:00
Andrey Petrusenko
a8f9284064
Merge
2009-04-02 05:22:02 -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
Andrey Petrusenko
cf2ae8d98d
6543938: G1: remove the concept of popularity
...
Reviewed-by: iveresov, tonyp
2009-03-25 13:10:54 -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
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
Christian Thalinger
de67e52949
6378821: bitCount() should use POPC on SPARC processors and AMD+10h
...
BitCount() should use POPC on SPARC processors where POPC is implemented directly in hardware.
Reviewed-by: kvn, never
2009-03-13 11:35:17 -07:00
Erik Trimble
8d6035660e
Merge
2009-03-12 18:16:36 -07:00
Vladimir Kozlov
69f9ddee90
6791178: Specialize for zero as the compressed oop vm heap base
...
Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb.
Reviewed-by: never, twisti, jcoomes, coleenp
2009-03-12 10:37:46 -07:00
Christian Thalinger
66cecec230
6812587: Use auxv to determine SPARC hardware features on Solaris
...
A similar function to getisax(2) should be used to determine all possible instruction set extensions.
Reviewed-by: never, kvn
2009-03-11 14:16:13 -07:00
Vladimir Kozlov
7a871160ec
Merge
2009-03-10 08:52:16 -07:00
Xiomara Jayasena
2be2e027b0
6814575: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 03/09
Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:46 -07:00
Christian Thalinger
89cea91c48
6797305: Add LoadUB and LoadUI opcode class
...
Add a LoadUB (unsigned byte) and LoadUI (unsigned int) opcode class so we have these load optimizations in the first place and do not need to handle them in the matcher.
Reviewed-by: never, kvn
2009-03-09 03:17:11 -07:00
John R Rose
26d192003f
6812831: factor duplicated assembly code for megamorphic invokeinterface (for 6655638)
...
Code in vtableStubs and templateTable moved into MacroAssembler.
Reviewed-by: kvn
2009-03-06 21:36:50 -08:00
Karen Kinnear
a23cbf5b96
Merge
2009-03-05 22:07:29 -05:00
John R Rose
07321dec65
6812678: macro assembler needs delayed binding of a few constants (for 6655638)
...
Minor assembler enhancements preparing for method handles
Reviewed-by: kvn
2009-03-04 09:58:39 -08:00
Daniel D. Daugherty
8aa430beb0
Merge
2009-03-02 14:43:36 -07:00
Daniel D. Daugherty
da3f81559f
6805864: 4/3 Problem with jvmti->redefineClasses: some methods don't get redefined
...
Remove incorrect optimization in klassItable::adjust_method_entries(). Add RedefineClasses() tracing support for obsolete method entry.
Reviewed-by: acorn, swamyv
2009-03-02 14:03:03 -07:00
Christian Thalinger
05d1de7727
6810672: Comment typos
...
I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never
2009-02-27 13:27:09 -08:00
Vladimir Kozlov
681eb89b31
Merge
2009-02-17 14:30:24 -08:00
Christian Thalinger
3b8452da93
6796746: rename LoadC (char) opcode class to LoadUS (unsigned short)
...
Renaming LoadC to LoadUS would round up the planned introduction of LoadUB and LoadUI.
Reviewed-by: phh, kvn
2009-01-26 16:22:12 +01:00
Vladimir Kozlov
1ff1bdc3e6
6790182: matcher.cpp:1375: assert(false,"bad AD file")
...
Add a match rule for regD_low in regD definition.
Reviewed-by: never
2009-01-07 11:23:28 -08:00
Xiaobin Lu
f05b009ce8
6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2
...
Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2
Reviewed-by: jcoomes, acorn, phh, never
2008-12-24 19:13:53 -08:00
Coleen Phillimore
f58e193de0
6474243: suspicious jvmti code that uses oop unsafely across GC point
...
Oop stored in unsafely in Lscratch noticed by visual inspection will not be updated by GC.
Reviewed-by: kamg, never, kvn
2008-11-24 14:45:47 -05:00
Keith McGuigan
8db365aa80
Merge
2008-11-12 11:23:13 -05:00
Vladimir Kozlov
7aae40a95f
6462850: generate biased locking code in C2 ideal graph
...
Inline biased locking code in C2 ideal graph during macro nodes expansion
Reviewed-by: never
2008-11-07 09:29:38 -08:00
Coleen Phillimore
0cecb67ae7
6760773: UseCompressedOops is broken with UseParNewGC
...
Sparc code for gen_subtype_check was doing an ld for a compressed oop with the sign bit set so not comparing, leading to a ClassCastException.
Reviewed-by: phh, never, acorn, kvn, xlu
2008-11-07 11:03:32 -05:00
Tom Rodriguez
429a95440a
6754519: don't emit flag fixup for NaN when condition being tested doesn't need it
...
Reviewed-by: kvn, rasbold
2008-10-28 09:31:30 -07:00
Andrey Petrusenko
b6aabd98fc
Merge
2008-09-17 16:49:18 +04:00
Tom Rodriguez
26c780da72
5108146: Merge i486 and amd64 cpu directories
...
6459804: Want client (c1) compiler for x86_64 (amd64) for faster start-up
Reviewed-by: kvn
2008-08-27 00:21:55 -07:00
Antonios Printezis
615777b6da
Merge
2008-08-21 23:36:31 -04:00
Erik Trimble
2d6f42d18c
Merge
2008-07-11 01:14:44 -07:00