Tom Rodriguez
0c0705ca8c
7052219: JSR 292: Crash in ~BufferBlob::MethodHandles adapters
...
Reviewed-by: twisti, kvn, jrose
2011-06-14 14:41:33 -07:00
John R Rose
bb3a527f9a
7047697: MethodHandle.invokeExact call for wrong method causes VM failure if run with -Xcomp
...
Reviewed-by: never, twisti
2011-06-08 17:04:06 -07:00
Tom Rodriguez
a664e486bd
7045514: SPARC assembly code for JSR 292 ricochet frames
...
Reviewed-by: kvn, jrose
2011-06-03 22:31:43 -07:00
Igor Veresov
193c0ac698
7047491: C1: registers saved incorrectly when calling checkcast_arraycopy stub
...
Save and restore the argument registers around the call to checkcast_arraycopy
Reviewed-by: never, roland
2011-05-26 13:15:01 -07:00
Vladimir Kozlov
a1e18b9ed3
7048332: Cadd_cmpLTMask doesn't handle 64-bit tmp register properly
...
Use ins_encode %{ %} form to encode cadd_cmpLTMask() instruction and remove unused code.
Reviewed-by: never
2011-05-25 21:17:07 -07:00
Thomas Salter
da271b804e
7046893: LP64 problem with double_quadword in c1_LIRAssembler_x86.cpp
...
Fixed invalid casts in address computation
Reviewed-by: kvn, never
2011-05-24 15:30:05 -07:00
Tom Rodriguez
c2f2cb75fc
7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp
...
Reviewed-by: jrose
2011-05-17 19:11:51 -07:00
Christian Thalinger
db9005f0d3
6998541: JSR 292 implement missing return-type conversion for OP_RETYPE_RAW
...
Reviewed-by: jrose, kvn, never
2011-05-12 14:04:48 -07:00
Tom Rodriguez
e5357d4bee
7043461: VM crashes in void LinkResolver::runtime_resolve_virtual_method
...
Reviewed-by: kvn, coleenp
2011-05-12 10:29:02 -07:00
Tom Rodriguez
42e49be1bc
7043301: assert(locals < caller->fp() || locals > (caller->fp() + 16)) failed: locals in save area
...
Reviewed-by: kvn
2011-05-09 19:45:52 -07:00
Tom Rodriguez
6aeaca98d1
6939861: JVM should handle more conversion operations
...
Reviewed-by: twisti, jrose
2011-05-06 16:33:13 -07:00
Vladimir Kozlov
1ac79543d0
5091921: Sign flip issues in loop optimizer
...
Fix integer overflow problem in the code generated by loop optimizer.
Reviewed-by: never
2011-05-04 13:12:42 -07:00
Tom Rodriguez
33f0e50994
7009361: JSR 292 Invalid value on stack on solaris-sparc with -Xcomp
...
Reviewed-by: kvn, twisti
2011-05-02 18:53:37 -07:00
Vladimir Kozlov
6d0283ed8e
Merge
2011-04-29 11:15:30 -07:00
Christian Thalinger
868bf68a3e
6993078: JSR 292 too many pushes: Lesp points into register window
...
Reviewed-by: kvn, never
2011-04-21 00:25:40 -07:00
Jon Masamitsu
8328bb291e
Merge
2011-04-20 20:32:45 -07:00
Tom Deneau
e8d2ed978f
7037812: few more defaults changes for new AMD processors
...
Use PREFETCHW as default prefetch instruction, set UseXMMForArrayCopy and UseUnalignedLoadStores to true by default.
Reviewed-by: kvn
2011-04-19 09:30:17 -07:00
John Cuthbertson
236207402d
7036706: G1: Use LIR_OprDesc::as_pointer_register in code changes for 7035117
...
Use LIR_OprDesc::as_pointer_register() instead as_register/as_register_lo combination in the code changes for 7035117.
Reviewed-by: iveresov
2011-04-18 16:27:16 -07:00
Christian Thalinger
7fb4bcc550
7036960: TemplateTable::fast_aldc in templateTable_x86_64.cpp uses movptr instead of load_klass
...
Reviewed-by: kvn, iveresov
2011-04-18 06:50:57 -07:00
John Cuthbertson
7c844aba67
Merge
2011-04-14 13:45:41 -07:00
John Cuthbertson
20a3437a74
7035117: G1: nsk/stress/jni/jnistress002 fails with assertion failure
...
Allow long type for offset in G1 code in compiler implementations of Unsafe.getObject
Reviewed-by: never, iveresov
2011-04-13 17:56:43 -07:00
David Katleman
079c89189f
7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
...
Reviewed-by: ohair, trims
2011-05-25 13:31:51 -07:00
Tom Deneau
899faa3fec
7035713: 3DNow Prefetch Instruction Support
...
The upcoming processors from AMD are the first that support 3dnow prefetch without supporting the 3dnow instruction set.
Reviewed-by: kvn
2011-04-11 15:30:31 -07:00
John R Rose
41745904a3
Merge
2011-04-09 21:16:12 -07:00
Igor Veresov
e8447846ee
7034967: C1: assert(false) failed: error (assembler_sparc.cpp:2043)
...
Fix -XX:+VerifyOops
Reviewed-by: kvn, never
2011-04-08 17:03:31 -07:00
Jon Masamitsu
b6e631d446
Merge
2011-04-08 14:19:50 -07:00
John Cuthbertson
a08e1ce906
7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
...
A referent object that is only weakly reachable at the start of concurrent marking but is re-attached to the strongly reachable object graph during marking may not be marked as live. This can cause the reference object to be processed prematurely and leave dangling pointers to the referent object. Implement a read barrier for the java.lang.ref.Reference::referent field by intrinsifying the Reference.get() method, and intercepting accesses though JNI, reflection, and Unsafe, so that when a non-null referent object is read it is also logged in an SATB buffer.
Reviewed-by: kvn, iveresov, never, tonyp, dholmes
2011-04-07 09:53:20 -07:00
Erik Trimble
c9e484d473
7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
Tom Rodriguez
1a5a2ecd25
6777083: assert(target != __null,"must not be null")
...
Reviewed-by: iveresov, kvn
2011-04-05 00:31:09 -07:00
Roland Westrelin
f94d7776ca
7033154: Improve C1 arraycopy performance
...
Better static analysis. Take advantage of array copy stubs.
Reviewed-by: never
2011-04-03 12:00:54 +02:00
Christian Thalinger
c9e2dcda4b
6817525: turn on method handle functionality by default for JSR 292
...
After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default.
Reviewed-by: never, kvn, jrose, phh
2011-03-31 02:31:57 -07:00
Christian Thalinger
79c814c616
7032388: guarantee(VM_Version::supports_cmov()) failed: illegal instruction on i586 after 6919934
...
6919934 added some unguarded cmov instructions which hit a guarantee on older hardware.
Reviewed-by: never, iveresov, kvn, phh
2011-03-31 00:27:08 -07:00
Igor Veresov
431a861d74
7026307: DEBUG MESSAGE: broken null klass on amd64
...
Correct typo introduces in 7020521
Reviewed-by: never, kvn
2011-03-29 22:25:17 -07:00
Igor Veresov
546f3df880
6741940: Nonvolatile XMM registers not preserved across JNI calls
...
Save xmm6-xmm15 in call stub on win64
Reviewed-by: kvn, never
2011-03-29 17:35:34 -07:00
Eric Caspole
1c5ff7f80a
7032133: Enable sse4.2 for new AMD processors
...
New AMD processors support sse4.2. Enable corresponding instructions in Hotspot.
Reviewed-by: kvn
2011-03-29 09:11:51 -07:00
Christian Thalinger
f51036e9bc
7022998: JSR 292 recursive method handle calls inline themselves infinitely
...
Reviewed-by: never, kvn
2011-03-28 03:58:07 -07:00
Igor Veresov
36303f61b6
6964776: c2 should ensure the polling page is reachable on 64 bit
...
Materialize the pointer to the polling page in a register instead of using rip-relative addressing when the distance from the code cache is larger than disp32.
Reviewed-by: never, kvn
2011-03-27 13:17:37 -07:00
Roland Westrelin
4171ca786e
7029017: Additional architecture support for c2 compiler
...
Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it.
Reviewed-by: kvn, never
2011-03-25 09:35:39 +01:00
Tom Rodriguez
87c2f53c25
7030300: more nightly failures after statics in Class changes
...
Reviewed-by: iveresov, jcoomes, dcubed
2011-03-23 10:55:43 -07:00
Tom Rodriguez
6e8a263a06
7017732: move static fields into Class to prepare for perm gen removal
...
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -07:00
Tom Rodriguez
f5ef48f3b9
7028374: race in fix_oop_relocations for scavengeable nmethods
...
Reviewed-by: kvn
2011-03-18 15:52:42 -07:00
John Coomes
0317c7c485
Merge
2011-03-18 09:03:43 -07:00
Tom Deneau
998b726ce7
7028394: Newer AMD Processor Prefetch Defaults
...
This new default has shown improvement across many workloads.
Reviewed-by: kvn
2011-03-17 12:08:01 -07:00
Y. Srinivas Ramakrishna
7293fabc43
6896099: Integrate CMS heap ergo with default heap sizing ergo
...
6627787: CMS: JVM refuses to start up with -Xms16m -Xmx16m
7000125: CMS: Anti-monotone young gen sizing with respect to maximum whole heap size specification
7027529: CMS: retire CMSUseOldDefaults flag
Simplify CMS heap sizing code, relying on ergonomic initial sizing consistent with other collectors for the most part, controlling only young gen sizing to rein in pause times. Make CMS young gen sizing default statically cpu-dependant. Remove inconsistencies wrt generation sizing and policy code, allowing for the fixing for 6627787 and 7000125. For 7027529, retire the flag CMSUseOldDefaults which had been introduced as a bridge from JDK 5 to JDK 6 a number of years ago.
Reviewed-by: brutisso, poonam
2011-03-16 10:37:08 -07:00
John R Rose
f6344076f2
7012648: move JSR 292 to package java.lang.invoke and adjust names
...
Package and class renaming only; delete unused methods and classes
Reviewed-by: twisti
2011-03-11 22:34:57 -08:00
Igor Veresov
90a153aa38
6627983: G1: Bad oop deference during marking
...
Bulk zeroing reduction didn't work with G1, because arraycopy would call pre-barriers on uninitialized oops. The solution is to have version of arraycopy stubs that don't have pre-barriers. Also refactored arraycopy stubs generation on SPARC to be more readable and reduced the number of stubs necessary in some cases.
Reviewed-by: jrose, kvn, never
2011-03-01 14:56:48 -08:00
Christian Thalinger
cd6c0b147e
7012914: JSR 292 MethodHandlesTest C1: frame::verify_return_pc(return_address) failed: must be a return pc
...
Reviewed-by: never, bdelsart
2011-02-28 06:07:12 -08:00
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
Igor Veresov
1c5e7bf24a
7020521: arraycopy stubs place prebarriers incorrectly
...
Rearranged the pre-barrier placement in arraycopy stubs so that they are properly called in case of chained calls. Also refactored the code a little bit so that it looks uniform across the platforms and is more readable.
Reviewed-by: never, kvn
2011-02-22 15:25:02 -08:00
Tom Rodriguez
4b3ada699d
7016474: string compare intrinsic improvements
...
Reviewed-by: kvn
2011-02-09 15:02:23 -08:00