475 Commits

Author SHA1 Message Date
Bill Pittore
de01ed0a09 8013633: Cleanup platform ifdefs in unsafe.cpp
Replace ifdefs with SUPPORTS_NATIVE_CX8 set in platform include file

Reviewed-by: dholmes, dlong
2013-05-07 10:19:33 -04:00
Jiangli Zhou
b769cd296f Merge 2013-04-26 16:58:18 -04:00
Dean Long
9c966207ef Merge 2013-04-24 21:11:02 -04:00
Goetz Lindenmaier
3f42e9e118 8003853: specify offset of IC load in java_to_interp stub
Refactored code to allow platform-specific differences

Reviewed-by: dlong, twisti
2013-04-24 20:55:28 -04:00
Jiangli Zhou
670aea401a 8013041: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
Change jmpb() to jmp().

Reviewed-by: coleenp, rdurbin, dcubed
2013-04-24 18:20:04 -04:00
Bharadwaj Yadavalli
b32dc11760 Merge 2013-04-19 03:13:04 -04:00
Bharadwaj Yadavalli
824a51963f Merge 2013-04-18 16:04:33 -07:00
Jiangli Zhou
a86e7e948c Merge 2013-04-18 17:00:16 -04:00
Martin Doerr
d61a4656e4 8012335: G1: Fix bug with compressed oops in template interpreter on x86 and sparc
In do_oop_store the uncompressed value of the oop being stored needs to be preserved and passed to g1_write_barrier_post. This is necessary for the heap region cross check to work correctly.

Reviewed-by: coleenp, johnc
2013-04-17 10:57:02 -07:00
Roland Westrelin
bad6728ea4 8011901: Unsafe.getAndAddLong(obj, off, delta) does not work properly with long deltas
Instruct xaddL_no_res shouldn't allow 64 bit constants.

Reviewed-by: kvn
2013-04-16 17:06:39 +02:00
Jiangli Zhou
2f703b2613 Merge 2013-04-15 21:25:23 -04:00
David Chase
25c31f3742 6443505: Ideal() function for CmpLTMask
Repair wrong code generation, added new matching rule

Reviewed-by: kvn, twisti
2013-04-12 19:14:47 -07:00
Jiangli Zhou
56370657b9 8010862: The Method counter fields used for profiling can be allocated lazily
Allocate the method's profiling related metadata until they are needed.

Reviewed-by: coleenp, roland
2013-04-09 17:17:41 -04:00
Daniel D. Daugherty
78339229bb Merge 2013-04-05 10:38:08 -07:00
Mikael Vidstedt
eeb83733a6 8003310: Enable -Wunused-function when compiling with gcc
Add the -Wunused-function flag and remove a number of unused functions.

Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Vladimir Kozlov
88f70d8026 8011102: Clear AVX registers after return from JNI call
Execute vzeroupper instruction after JNI call and on exits in jit compiled code which use 256bit vectors.

Reviewed-by: roland
2013-04-03 11:12:57 -07:00
Roland Westrelin
15178005e6 Merge 2013-03-21 22:00:14 -07:00
Morris Meyer
85aa7836de 8009584: [parfait] Null pointer deference in hotspot/src/cpu/x86/vm/relocInfo_x86.cpp
Added guarantee() to pd_address_in_code()

Reviewed-by: kvn
2013-03-21 10:11:24 -07:00
Thomas Wuerthinger
06ef4cddf7 7153771: array bound check elimination for c1
When possible optimize out array bound checks, inserting predicates when needed.

Reviewed-by: never, kvn, twisti
2013-03-21 09:27:54 +01:00
Roland Westrelin
8f1814d874 8008555: Debugging code in compiled method sometimes leaks memory
Support for strings that have same life-time as code that uses them.

Reviewed-by: kvn, twisti
2013-03-18 13:19:06 +01:00
Morris Meyer
e98f593fb0 8008328: [partfait] Null pointer defererence in hotspot/src/cpu/x86/vm/frame_x86.inline.hpp
Add guarantee() to oop_result inlines

Reviewed-by: kvn, twisti
2013-03-16 07:40:36 -07:00
Morris Meyer
5b2fed9809 Merge 2013-03-14 16:16:05 -07:00
Joseph Provino
e1f180f82e 8006498: #if <symbol> is wrong in the code
ASSERT and other symbols used incorrectly with #if are supposed to be defined or not.

Reviewed-by: dholmes, mikael
2013-03-06 13:46:55 -05:00
Rickard Bäckman
1a74b23a2f 8008340: [sampling] assert(upper->pc_offset() >= pc_offset) failed: sanity
Reviewed-by: kvn, sla
2013-02-26 14:09:52 +01:00
Roland Westrelin
05b1c69fc0 8009761: Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
Deoptimization doesn't set up callee frames so that they restore caller frames correctly.

Reviewed-by: kvn
2013-03-13 09:44:45 +01:00
Vladimir Kozlov
231bbf39f4 8007708: compiler/6855215 assert(VM_Version::supports_sse4_2())
Added missing UseSSE42 check. Also added missing avx2 assert for vpermq instruction.

Reviewed-by: roland, twisti
2013-02-08 15:07:17 -08:00
Vladimir Danushevsky
ac1a75df8c Merge 2013-02-07 20:40:14 -05:00
Bill Pittore
9cad40fca6 Merge 2013-02-07 16:05:48 -05:00
Vladimir Ivanov
268a4d605c Merge 2013-02-07 12:23:51 -08:00
Karen Kinnear
3f92d0764c Merge 2013-01-27 21:58:34 -05:00
Dean Long
0a2347e0ba Merge 2013-01-27 01:07:09 -08:00
Morris Meyer
6c80586b40 8005811: Turn off TierdCompilation in JDK8 trunk for all platforms
Disable tiered compilation in jdk8 because of CodeCache and performance anomalies

Reviewed-by: kvn, twisti
2013-01-25 16:31:47 -08:00
Zhengyu Gu
fc0efc91c8 8000692: Remove old KERNEL code
Removed depreciated kernel VM source code from hotspot VM

Reviewed-by: dholmes, acorn
2013-01-25 10:04:08 -05:00
Krystal Mo
c06a8276fe Merge 2013-01-24 09:06:16 -08:00
Vladimir Kozlov
8915295560 8003878: compiler/7196199 test failed on OS X since 8b54, jdk7u12b01
Limit vectors size to 16 bytes on BSD until the problem is fixed

Reviewed-by: twisti
2013-01-23 15:11:03 -08:00
Joseph Provino
698fba94ef 8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.

Reviewed-by: coleenp, stefank
2013-01-23 13:02:39 -05:00
Vladimir Kozlov
9e0c61f822 6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
Use SSE4.2 and AVX2 instructions for encodeArray intrinsic.

Reviewed-by: roland
2013-01-22 15:34:16 -08:00
Karen Kinnear
706efde6df Merge 2013-01-21 16:11:24 -05:00
Harold Seigel
68f3dd76c9 7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems
Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro.

Reviewed-by: dholmes, coleenp, mikael, kvn
2013-01-17 10:25:16 -05:00
Karen Kinnear
4ce43bafa5 Merge 2013-01-16 18:23:37 -05:00
Aleksey Shipilev
0614ed6542 8003985: Support @Contended Annotation - JEP 142
HotSpot changes to support @Contended annotation.

Reviewed-by: coleenp, kvn, jrose
2013-01-14 15:17:47 +01:00
Mikael Vidstedt
e7e6443c6d 8004747: Remove last_entry from VM_STRUCT macros
Instead of passing in last_entry to all the VM_ macros just expand it in the main vmStructs.cpp file.

Reviewed-by: dholmes, sspitsyn, minqi
2013-01-10 17:06:26 -08:00
Vladimir Kozlov
38c81fb411 8005419: Improve intrinsics code performance on x86 by using AVX2
Use 256bit vpxor,vptest instructions in String.compareTo() and equals() intrinsics.

Reviewed-by: twisti
2013-01-08 11:30:51 -08:00
Morris Meyer
b3fe91a803 8004537: replace AbstractAssembler emit_long with emit_int32
Reviewed-by: jrose, kvn, twisti
2013-01-07 14:08:28 -08:00
Vladimir Kozlov
7b9133b99c 8005544: Use 256bit YMM registers in arraycopy stubs on x86
Use YMM registers in arraycopy and array_fill stubs.

Reviewed-by: roland, twisti
2013-01-03 16:30:47 -08:00
Vladimir Kozlov
cfcd28fd9d 8005522: use fast-string instructions on x86 for zeroing
Use 'rep stosb' instead of 'rep stosq' when fast-string operations are available.

Reviewed-by: twisti, roland
2013-01-03 15:09:55 -08:00
Roland Westrelin
42c79d741b Merge 2012-12-21 01:39:34 -08:00
Morris Meyer
113e9ab39d 8004250: replace AbstractAssembler a_byte/a_long with emit_int8/emit_int32
Reviewed-by: jrose, kvn, twisti
2012-12-20 18:53:44 -08:00
Vladimir Kozlov
960d969ade 8004835: Improve AES intrinsics on x86
Enable AES intrinsics on non-AVX cpus, group together aes instructions in crypto stubs.

Reviewed-by: roland, twisti
2012-12-19 15:40:35 -08:00
Morris Meyer
52da261983 8004536: replace AbstractAssembler emit_word with emit_int16
Reviewed-by: jrose, kvn, twisti
2012-12-18 10:47:23 -08:00