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
Coleen Phillimore
a1442ea7ff
6791168: Fix invalid code in bytecodeInterpreter that can cause gcc ICE
...
Fix compilation errors from latest gcc in CC_INTERP including offending missing void* cast.
Reviewed-by: xlu
2009-01-13 14:41:44 -05:00
Coleen Phillimore
76f79d82ad
Merge
2009-01-09 14:39:07 -05: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
Xiaobin Lu
1362b9fd1d
6787106: Hotspot 32 bit build fails on platforms having different definitions for intptr_t & int32_t
...
Avoid casting between int32_t and intptr_t specifically for MasmAssembler::movptr in 32 bit platforms.
Reviewed-by: jrose, kvn
2008-12-24 13:06:09 -08:00
Xiomara Jayasena
99f0eac1a2
6785258: Update copyright year
...
Update copyright for files that have been modified starting July 2008 to Dec 2008
Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:11 -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
Vladimir Kozlov
2f7409dee4
Merge
2008-11-19 09:09:31 -08:00
Keith McGuigan
8db365aa80
Merge
2008-11-12 11:23:13 -05:00
Tim Bell
12fd79632c
6764892: VS2008 changes required to compile hotspot sources
...
Minor changes required to build using the Visual Studio 2008 compiler
Reviewed-by: kvn, ohair
2008-11-11 22:01:08 -08:00