Igor Veresov
1875cfefc6
7033732: C1: When calling c2 arraycopy stubs offsets and length must have clear upper 32bits
...
With 7033154 we started calling c2 arraycopy stubs from c1. On sparcv9 we must clear the upper 32bits for offset (src_pos, dst_pos) and length parameters when calling them.
Reviewed-by: never, kvn
2011-04-04 16:00:34 -07:00
Gary Benson
80dfa0e342
7032458: Zero and Shark fixes
...
Reviewed-by: twisti
2011-04-04 03:02:00 -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
John Coomes
cdd5139d91
Merge
2011-03-24 23:04:36 -07: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
Christian Thalinger
a3e259c335
7027232: JSR 292: wrong numeric value returned by MH on solaris-sparc
...
Reviewed-by: kvn, never
2011-03-21 02:30:49 -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
Vladimir Kozlov
ddd4d3ad73
Merge
2011-02-14 14:36:29 -08:00
Christian Thalinger
c2b37037c6
7018378: JSR 292: _bound_int_mh produces wrong result on 64-bit SPARC
...
Reviewed-by: kvn
2011-02-14 03:21:18 -08:00
Vladimir Kozlov
5d3ab72d1d
7017746: Regression : C2 compiler crash due to SIGSEGV in PhaseCFG::schedule_early()
...
Add TEMP edges (and KILL projections) before duplicated operands are removed in Expand() methods.
Reviewed-by: never
2011-02-10 14:25:59 -08:00
Coleen Phillimore
cba53708ec
6588413: Use -fvisibility=hidden for gcc compiles
...
Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions.
Reviewed-by: kamg, never
2011-02-01 11:23:19 -05:00
Christian Thalinger
561c090437
7009309: JSR 292: compiler/6991596/Test6991596.java crashes on fastdebug JDK7/b122
...
Reviewed-by: kvn, never
2011-02-01 03:38:44 -08:00
Coleen Phillimore
7b4f8073f0
6990754: Use native memory and reference counting to implement SymbolTable
...
Move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
Christian Thalinger
099978400a
Merge
2011-01-27 08:47:02 -08:00
Igor Veresov
18fcb81cff
7014247: CTW fails when compile sun/misc/AtomicLongCSImpl (REMOVED from JDK7)
...
Use lea to compute field address in AtomicLongCSImpl::attemptUpdate() intrinsic on x86.
Reviewed-by: never, kvn
2011-01-25 14:38:15 -08:00
Tom Rodriguez
4739203b6c
7008809: should report the class in ArrayStoreExceptions from compiled code
...
Reviewed-by: iveresov, twisti
2011-01-24 13:34:18 -08:00
Igor Veresov
9256b1a02a
7013812: C1: deopt blob too far from patching stub
...
Use long jumps to get from patching stubs to deopt blob
Reviewed-by: kvn, never
2011-01-21 00:01:41 -08:00
John Cuthbertson
d31ff8a886
Merge
2011-01-20 13:57:12 -08:00
John Cuthbertson
2ad5e5ace5
7012642: G1: JumbleGC002 test aborts with segmentation violation due to uncaught stack overflow
...
With recent G1 allocation path changes, the value of StackShadowPages in fast debug builds of the JVM, is no longer large enough to prevent the JVM C++ code from touching the stack guard pages. Increase the value of StackShadowPages to a suitable value.
Reviewed-by: ysr, tonyp, coleenp
2011-01-19 13:01:11 -08:00
Igor Veresov
00e24ca7ca
7012766: assert(false) failed: DEBUG MESSAGE in MacroAssembler::debug32
...
Interpreter expects to see methodOop in rbx on method entry, which needs to be restored after call to profile_method.
Reviewed-by: kvn, never
2011-01-18 18:00:06 -08:00
Daniel D. Daugherty
1ce36e3055
Merge
2011-01-13 08:32:15 -08:00
Christian Thalinger
6aa9bf4152
Merge
2011-01-13 07:28:47 -08:00
Christian Thalinger
53c79c908e
Merge
2011-01-13 07:20:32 -08:00
Igor Veresov
18619a6ed6
7011627: C1: call_RT must support targets that don't fit in wdisp30
...
Make both compilers emit near and far calls when necessary.
Reviewed-by: never, kvn, phh
2011-01-12 18:33:25 -08:00
Paul Hohensee
6931aa0a24
7011463: Sparc MacroAssembler::incr_allocated_bytes() needs a RegisterOrConstant argument
...
Replaced incr_allocated_bytes() formals var_size_in_bytes and con_size_in_bytes with a single RegisterOrConstant formal.
Reviewed-by: twisti, jcoomes
2011-01-11 17:33:21 -05:00
Igor Veresov
6a80d2126c
4930919: race condition in MDO creation at back branch locations
...
Reuse set_method_data_for_bcp() to setup mdp after MDO creation.
Reviewed-by: kvn, never
2011-01-10 18:46:29 -08:00
Christian Thalinger
b2f607fcb6
7010180: JSR 292 InvokeDynamicPrintArgs fails with: assert(_adapter == NULL) failed: init'd to NULL
...
Reviewed-by: never
2011-01-10 00:56:39 -08:00
Daniel D. Daugherty
0c7a73dc8c
Merge
2011-01-07 15:54:32 -08:00
Paul Hohensee
7b0134a7cb
7003271: Hotspot should track cumulative Java heap bytes allocated on a per-thread basis
...
Track allocated bytes in Thread's, update on TLAB retirement and direct allocation in Eden and tenured, add JNI methods for ThreadMXBean.
Reviewed-by: coleenp, kvn, dholmes, ysr
2011-01-07 10:42:32 -05:00
Igor Veresov
c6f34365c2
7010618: C1: array length should be treated at int on 64bit during array allocation
...
Sign-extend the length argument during array allocation
Reviewed-by: never, kvn
2011-01-06 16:03:20 -08:00
Igor Veresov
43280aa63e
7009231: C1: Incorrect CAS code for longs on SPARC 32bit
...
Fix CAS of longs on SPARC 32bit and cmove on SPARC 64bit.
Reviewed-by: kvn
2010-12-27 21:51:31 -08:00
Christian Thalinger
a8a98509e7
7007377: JSR 292 MethodHandlesTest.testCastFailure fails on SPARC with -Xcomp +DeoptimizeALot
...
Reviewed-by: kvn, jrose
2010-12-22 02:02:53 -08:00