Vladimir Kozlov
9d4cd45834
Merge
2009-07-01 15:06:54 -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
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
72afcb0285
6539464: Math.log() produces inconsistent results between successive runs
...
Reviewed-by: kvn
2009-04-06 11:53:17 -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
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
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
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
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
8c0f3ead78
Merge
2009-03-02 16:56:51 -07: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
Tom Rodriguez
48d4a43c2a
6811384: MacroAssembler::serialize_memory may touch next page on amd64
...
Reviewed-by: kvn, phh, twisti
2009-03-01 20:49:46 -08: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
Christian Thalinger
0723dab28b
6808589: Merge vm_version_x86_{32,64}.{cpp,hpp}
...
There is very much duplicated code in vm_version_x86_{32,64}.{cpp,hpp}. Refactoring these would help maintainability.
Reviewed-by: kvn, never
2009-02-23 12:02:30 -08:00
Vladimir Kozlov
681eb89b31
Merge
2009-02-17 14:30:24 -08:00
Christian Thalinger
f72a09355f
6805950: Typos in andL_rReg_imm instructions in x86_64.ad
...
There are two typos in andL_rReg_imm instructions in x86_64.ad.
Reviewed-by: kvn
2009-02-17 11:19:31 +01:00
Xiaobin Lu
5ee6e7f6ed
6795913: A few remaining wrong casts need to be fixed for building hotspot successfully on Mac OS
...
Use NULL_WORD in the places where intptr_t is expected due to incompatible types between intptr_t & int32_t
Reviewed-by: phh, coleenp, never
2009-01-26 12:07:54 -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
Xiaobin Lu
74a472983b
6792301: StackAlignmentInBytes not honored for compiled native methods
...
Fixed the stack misalignment when generate_native_wrapper is called.
Reviewed-by: never, kamg, kvn, phh
2009-01-13 17:39:03 -08:00