1445 Commits

Author SHA1 Message Date
Coleen Phillimore
25e581d03d 8159284: bigapps/Jetty - assert(jfa->last_Java_sp() > sp()) failed with JFR in use
Test condition in assert in frame::safe_for_sender() for entry frames and return false.

Reviewed-by: mgronlun, fparain
2016-08-03 09:40:21 -04:00
David Holmes
71e69edb42 7008747: Header files with conditional behaviour can not be precompiled
Reviewed-by: kvn, gthornbr
2016-08-02 16:24:04 -04:00
Rickard Bäckman
5ce5d9f4cc Merge 2016-07-29 09:23:05 +02:00
David Holmes
5c9019c64a 8140723: Remove source code conditionalized on JAVASE_EMBEDDED
Reviewed-by: twisti, fparain, cjplummer
2016-07-26 23:52:25 -04:00
Goetz Lindenmaier
da3339948e 8161258: Simplify including platform files
Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.

Reviewed-by: dholmes, coleenp, kbarrett
2016-07-13 12:23:05 +02:00
Yang Zhang
cabbc68c64 8161190: AArch64: Fix overflow in immediate cmp instruction
Use subs instead of cmp to compare BlockZeroingLowLimit. Subs can check and handle immediate out of range correctly.

Reviewed-by: aph
2016-07-22 17:05:08 +01:00
Goetz Lindenmaier
6cf9b5c453 8160245: C1: Clean up platform #defines in c1_LIR.hpp
Also add fnoreg on x86, LIR_Address constructor without scale, clean up templateInterpreterGenerator.hpp and remove PPC32 special cases.

Reviewed-by: coleenp, thartmann
2016-06-23 22:33:46 +02:00
Andrew Haley
8c7da4b546 Merge 2016-07-14 15:18:15 +01:00
Andrew Haley
0ad282bb4c 8159467: AArch64: Enable compact strings
Reviewed-by: roland
2016-07-13 15:19:34 +01:00
Andrew Haley
bb341f3b11 8161072: AArch64: jtreg compiler/uncommontrap/TestDeoptOOM failure
Reviewed-by: roland
2016-07-08 17:11:37 +01:00
Andrew Haley
e22a63d1c6 8141633: Implement VarHandles/Unsafe intrinsics on AArch64
Reviewed-by: roland
2016-07-07 15:07:13 +01:00
Goetz Lindenmaier
d442aea3c9 8056950: Compiled code (64-bit) on SPARC should sign extend INT parameters passed on registers to runtime or native methods
Reviewed-by: thartmann, simonis
2016-07-04 16:28:27 +02:00
Ningsheng Jian
0bfd10d69e 8160969: aarch64: CDS is broken after 8079507
Reviewed-by: roland
2016-07-08 17:02:10 +01:00
Tobias Hartmann
9ab5f632b5 8160651: StubRoutines::_dtan does not restore callee save register rbx
Pop rbx before leaving stub.

Reviewed-by: vlivanov, vdeshpande
2016-07-04 09:14:02 +02:00
Ed Nevill
6a56a5f255 8156943: aarch64: string compare does not support CompactStrings
Implement LL, UL and LU encodings for StrComp

Reviewed-by: aph
2016-05-24 01:13:57 -07:00
Tobias Hartmann
d99ab903b7 8160425: Vectorization with signalling NaN returns wrong result
Should not use doubles/floats for vector constants in the C code.

Reviewed-by: kvn, vlivanov
2016-06-30 08:24:51 +02:00
Ed Nevill
27cd22b69a 8160534: aarch64: fails to build after 8157834
Add missing #include

Reviewed-by: aph
2016-06-29 11:24:13 +00:00
Dmitrij Pochepko
490625cd8b 8132318: -XX:TraceJumps is broken on Sparc
Reviewed-by: kvn, thartmann
2016-06-27 17:23:15 +03:00
Vladimir Kozlov
cd75cb6a26 Merge 2016-06-24 15:30:50 -07:00
Vladimir Kozlov
634a7fdebc Merge 2016-06-24 15:09:00 -07:00
Andrew Haley
dd9f85e74d 8160189: Fix for 8159335 breaks AArch64
Reviewed-by: kvn
2016-06-23 16:27:34 +00:00
Martin Doerr
1621ac0b42 8159976: PPC64: Add missing intrinsics for sub-word atomics
Reviewed-by: shade, goetz
2016-06-23 17:38:29 +02:00
Andrew Dinn
6c974f899f 8160006: Fix AArch64 after changes made by 8151661
Reviewed-by: kvn
2016-06-21 13:15:56 -04:00
Ed Nevill
5db23a3b07 8159063: aarch64: optimise unaligned array copy long
Reviewed-by: aph, adinn
2016-06-16 06:42:08 -04:00
Volker Simonis
87f15c2bcf 8159620: -XX:-UseOnStackReplacement does not work together with -XX:+TieredCompilation on ppc64 and sparc
Reviewed-by: goetz, kvn, thartmann
2016-06-22 17:05:40 +02:00
Gustavo Romero
0fd874e9c5 8158260: PPC64: unaligned Unsafe.getInt can lead to the generation of illegal instructions
Adjust instruction generation.

Co-authored-by: Hiroshi H Horii <horii@jp.ibm.com>
Reviewed-by: goetz
2016-06-17 11:31:24 +02:00
Goetz Lindenmaier
8a945875b6 8159335: Fix problems with stack overflow handling
Reviewed-by: dlong, coleenp, mdoerr
2016-06-13 09:28:25 +02:00
Michihiro Horie
2ade029123 8158232: PPC64: improve byte, int and long array copy stubs by using VSX instructions
Reviewed-by: goetz, mdoerr
2016-06-15 13:47:17 +02:00
Aleksey Shipilev
c6c73deca4 8157726: VarHandles/Unsafe should support sub-word atomic ops
Reviewed-by: psandoz, vlivanov, lagergren
2016-06-15 11:21:36 +03:00
Felix Yang
067e915c50 8158913: aarch64: SEGV running Spark terasort
Use signed instead of unsigned test for end of loop in gen_write_ref_array_post_barrier

Reviewed-by: aph
2016-06-07 10:17:28 +00:00
Vladimir Kozlov
47b35cab0e Merge 2016-06-06 12:56:40 -07:00
Tobias Hartmann
cf967f79ab Merge 2016-06-02 14:54:35 +00:00
Fei Yang
2e85bb45ff 8149418: AArch64: replace tst+br with tbz instruction when tst's constant operand is 2 power
Replace tst+br with tbz instruction when tst's constant operand is 2 power

Reviewed-by: aph
2016-06-02 21:12:46 +08:00
Tobias Hartmann
f92cc0c836 8158214: Crash with "assert(VM_Version::supports_sse4_1()) failed" if UseSSE < 4 is set
Do not emit unsupported SSE 4.1 instructions in CRC32 intrinsic.

Reviewed-by: kvn, zmajo
2016-06-02 13:19:05 +02:00
Tobias Hartmann
e4102fbe67 8157842: indexOfChar intrinsic is not emitted on x86
Matcher::match_rule_supported() should check for !UseSSE42Intrinsics.

Reviewed-by: roland, rbackman, shade, kvn
2016-06-01 16:36:44 +02:00
Vladimir Ivanov
2a6a1c6b01 Merge 2016-05-30 15:04:03 +03:00
Vladimir Ivanov
a7ec30ae19 Merge 2016-05-27 17:01:27 +03:00
Teng Lu
cf20f6fff8 8157906: aarch64: some more integer rotate instructions are never emitted
Fix wrong definition of source operand of left rotate instructions

Reviewed-by: aph
2016-05-27 20:38:38 +08:00
Fei Yang
60fabf15a7 8156731: aarch64: java/util/Arrays/Correct.java fails due to _generic_arraycopy stub routine
Fix address calculation considering compressed oops _generic_arraycopy stub routine

Reviewed-by: aph
2016-05-27 01:02:16 +08:00
Ed Nevill
75909b48f3 8157841: aarch64: prefetch ignores cache line size
Fix prefetch to take account of cache line size

Co-authored-by: Stuart Monteith <stuart.monteith@linaro.org>
Reviewed-by: aph
2016-05-25 13:30:07 +00:00
Ed Nevill
7694596568 8157834: aarch64: Hello World crashes with fastdebug build
Support LL, UL and LU encodings of StrIndexOf

Reviewed-by: aph
2016-05-25 15:05:26 +00:00
Dmitrij Pochepko
fdf9e5a63e 8156585: Cosmetic: AARCH64 defines in c1_LIRAssembler_aarch64.hpp
Reviewed-by: kvn
2016-05-25 16:20:02 +03:00
Vladimir Ivanov
3221da3cf7 Merge 2016-05-24 14:13:57 +03:00
Gustavo Romero
066208e368 8154156: PPC64: improve array copy stubs by using vector instructions
Reviewed-by: goetz, mdoerr
2016-05-23 10:35:51 -03:00
Vivek Deshpande
489b38091e 8154473: Update for CompilerDirectives to control stub generation and intrinsics
Use -XX:DisableIntrinsic flag to control intrinsics usage in Interpreter.

Reviewed-by: twisti, neliasso, kvn, simonis
2016-05-20 14:17:55 -07:00
Vladimir Ivanov
36daf60d8f Merge 2016-05-20 18:05:09 +03:00
Vladimir Kozlov
1246644d4d Merge 2016-06-10 10:13:30 -07:00
Stefan Karlsson
23e05cabc5 8155638: Resource allocated BitMaps are often cleared twice
Reviewed-by: neliasso, kvn
2016-06-08 11:15:49 +02:00
Vladimir Kozlov
5acfcd3615 8157184: java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java failed with a fatal error
Add missing cache_line_size > 0 checks.

Reviewed-by: vlivanov, kbarrett
2016-05-19 11:01:38 -07:00
Martin Doerr
cb6496c297 8141635: Implement VarHandles/Unsafe intrinsics on POWER
Reviewed-by: shade, kvn, simonis
2016-05-13 22:21:54 +03:00