1384 Commits

Author SHA1 Message Date
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
Alejandro Murillo
ff1f1235ab Merge 2016-07-21 19:50:41 -07:00
Vladimir Ivanov
1208854be7 8155781: C2: opaque unsafe access triggers an assert
Reviewed-by: kvn, lmesnik, ppunegov
2016-07-21 20:18:11 +03:00
Richard Reingruber
aa7a85dcbf 8134434: JVM_DoPrivileged() fires assert(_exception_caught == false) failed: _exception_caught is out of phase
Explicitly set exception detected inside rethrow_C

Reviewed-by: goetz, sspitsyn
2016-07-13 10:51:19 +03:00
Vladimir Kozlov
634a7fdebc Merge 2016-06-24 15:09:00 -07:00
Alejandro Murillo
f7095d870c Merge 2016-06-23 17:07:27 -07:00
Aleksey Shipilev
f6c1efe6ac 8156803: Turn StressLCM/StressGCM flags to diagnostic
Reviewed-by: kvn, ctornqvi
2016-06-22 13:29:09 +03:00
Carsten Varming
cc10eca0b0 8159720: Failure of C2 compilation with tiered prevents some C1 compilations
If C2 fails to compile a method with tiered compilation, then it should mark the method as not compileable on the C2 tier only.

Reviewed-by: twisti, thartmann
2016-06-20 08:11:22 -04:00
Tobias Hartmann
6294f0770b 8159715: Fix for 8072422 is incorrect
Fixed several issues introduced by 8072422.

Reviewed-by: zmajo, kvn
2016-06-20 09:32:44 +02:00
Zoltan Majo
cdc436922a 8157181: Compilers accept modification of final fields outside initializer methods
Track initialized final field updates; disable constant folding if an update is detected. Enforce final field update rules introduced by JVMS-7 (but only for JDK 9).

Reviewed-by: vlivanov, dnsimon, forax, never, kvn, coleenp
2016-06-15 14:27:58 +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
Tobias Hartmann
3fddb36924 8159244: Partially initialized string object created by C2's string concat optimization may escape
Emit release barrier after String creation to prevent partially initialized object from escaping.

Reviewed-by: kvn
2016-06-15 07:58:56 +02:00
Tobias Hartmann
35f9db149b 8156760: VM crashes if -XX:-ReduceInitialCardMarks is set
Fixed several compiler crashes with disabled ReduceInitialCardMarks.

Reviewed-by: roland, minqi, dlong, tschatzl, kvn
2016-06-02 08:46:52 +02:00
Tobias Hartmann
d1cfec7f7e 8155046: Parse::Block construction using undefined behavior
Blocks should be created via constructor and placement new.

Reviewed-by: kvn
2016-06-01 14:22:18 +02:00
Kim Barrett
83dbb0faba 8156548: gc/gctests/StringInternSyncWithGC2 fails with Test level exit status: 151
Avoid repeated verification.

Reviewed-by: jmasa, drwhite
2016-05-25 13:46:05 -04:00
Gerard Ziemski
f1c490f5fa 8152856: Xcode 7.3 -Wshift-negative-value compile failure on Mac OS X
Implement _lh_array_tag_type_value as const, not enum.

Reviewed-by: vlivanov, minqi
2016-05-24 12:42:43 -05:00
Cheleswer Sahu
93043ecb8f 8150900: Implement diagnostic_pd
Reviewed-by: twisti, gziemski, kevinw
2016-05-24 16:02:45 +05:30
Vladimir Ivanov
6dfcf1dd81 8154831: CastII/ConvI2L for a range check is prematurely eliminated
Reviewed-by: kvn, thartmann
2016-05-20 18:27:03 +03:00
Vladimir Ivanov
36daf60d8f Merge 2016-05-20 18:05:09 +03:00
Alejandro Murillo
7bd620bff1 Merge 2016-05-14 15:34:30 -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
Aleksey Shipilev
5e2fa37504 8153792: EA: assert(ptn->as_LocalVar()->edge_count() > 0) failed: sanity when compiling compareAndExchange
Reviewed-by: kvn, psandoz
2016-05-12 12:46:07 +03:00
Tobias Hartmann
8adbc20c87 8155241: Crash with assert in Xcomp mode and with disabled ReduceBulkZeroing
We should not assume that a CloneBasic arraycopy sets array initialization to complete.

Reviewed-by: kvn, roland
2016-05-12 08:25:42 +02:00
Tobias Hartmann
cf5a61530f 8155643: Java crash with assert in Xcomp mode and disabled ReduceInitialCardMarks
We should not emit a subtype check for CloneOop arraycopy.

Reviewed-by: kvn
2016-05-12 08:23:25 +02:00
Vladimir Ivanov
cdc0b9792f Merge 2016-05-11 00:40:59 +00:00
Vladimir Ivanov
3fcc58a80d Merge 2016-05-11 00:31:28 +03:00
Gerard Ziemski
a991801b42 8073500: Prevent certain commercial flags from being changed at runtime
Implement new writeable mechanism for flag control

Reviewed-by: coleenp, iklam
2016-05-10 12:10:21 -05:00
Vladimir Ivanov
d14a64b0ed Merge 2016-05-11 00:38:58 +03:00
Roland Westrelin
a1e5418d19 8154826: AArch64: take advantage better of base + shifted offset addressing mode
Reshape address subtree to fit aarch64 addressing mode

Reviewed-by: kvn, aph
2016-05-09 11:34:09 +02:00
Rahul Raghavan
7adc4034cd 8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
Converted all intrinsics flags to diagnostic and updated related intrinsics tests to enable diagnostic options

Reviewed-by: kvn
2016-05-09 01:21:55 -07:00
Vladimir Ivanov
e704d47b85 Merge 2016-05-06 19:35:23 +03:00
Vladimir Ivanov
e1512b1e15 Merge 2016-05-06 18:37:58 +03:00
Aleksey Shipilev
ffc21de072 8155965: Unsafe.weakCompareAndSetVolatile entry points and intrinsics
Reviewed-by: psandoz, vlivanov
2016-05-06 17:59:35 +03:00
Jamsheed Mohammed C M
08dac03ddc 8156131: C2: MachProj dumps data on tty w/ -XX:+WizardMode
Made to dump on output stream on wizard mode.

Reviewed-by: vlivanov
2016-05-06 06:08:15 -07:00
Vladimir Ivanov
622a5ae6f0 Merge 2016-05-06 18:20:50 +03:00
Aleksey Shipilev
b3f1f110f4 8156068: Unsafe.{get|set}Opaque should be single copy atomic
Reviewed-by: psandoz, vlivanov
2016-05-06 15:41:15 +03:00
Paul Sandoz
107de3478c 8155794: Move Objects.checkIndex BiFunction accepting methods to an internal package
Reviewed-by: shade, vlivanov
2016-05-05 18:14:51 -07:00
Paul Sandoz
24b184b665 8155258: VarHandle implementation improvements
Relax return type check for call to linked method handle invocation

Reviewed-by: shade, vlivanov
2016-05-05 11:39:23 -07:00
Vladimir Ivanov
5dc9f56544 Merge 2016-05-09 13:13:07 +03:00
Goetz Lindenmaier
1e4b00b1dc 8140594: Various minor code improvements (compiler)
Various minor code improvements (compiler)

Reviewed-by: thartmann, kvn
2016-05-03 12:23:06 +02:00
Roland Westrelin
160798c7e7 8154943: AArch64: redundant address computation instructions with vectorization
Duplicated i2l nodes can be eliminated to optimize redundant address computations

Reviewed-by: kvn, dlong
2016-04-29 17:24:16 +02:00
Roland Westrelin
0ab61a6e28 8155717: Aarch64: enable loop superword's unrolling analysis
Reviewed-by: aph, kvn, mcberg
2016-05-04 13:32:03 -07:00
Goetz Lindenmaier
9722354d37 8155738: C2: fix frame_complete_offset
During scratch_emit_size wrong value was set. Also set offset of ppc.

Reviewed-by: kvn, dlong
2016-05-02 14:17:19 -07:00
Zoltan Majo
17cc8b583e Merge 2016-04-29 13:10:01 +02:00
Zoltan Majo
b5f1bd24d2 Merge 2016-04-29 12:05:31 +02:00
Zoltan Majo
413417522f 8153340: Disallow misconfiguration and improve the consistency of allocation prefetching
Improve allocation prefetching.

Reviewed-by: kvn
2016-04-29 08:32:42 +02:00
Martin Doerr
8f2a47ba2e 8154836: VM crash due to "Base pointers must match"
Improve the handling of AddP nodes in final graph reshaping.

Reviewed-by: kvn, zmajo
2016-04-28 10:32:12 +02:00
Stefan Karlsson
f8be292b88 8141501: Problems with BitMap buffer management
Reviewed-by: pliden, kbarrett
2016-05-03 22:45:27 +02:00
Roland Westrelin
23ce249250 8154939: 8153998 broke vectorization on aarch64
Reviewed-by: kvn, mcberg
2016-04-27 01:14:07 -07:00
Rickard Bäckman
b853eb7f5c 8151956: Support non-continuous CodeBlobs in HotSpot
Reviewed-by: iveresov, thartmann, simonis
2016-04-26 10:28:51 +02:00