Commit Graph

691 Commits

Author SHA1 Message Date
Roland Westrelin
c18a26c573 8142386: Octane crashes with assert(is_Load())
Unsafe access to an array is wrongly marked as mismatched

Reviewed-by: vlivanov, thartmann
2015-11-17 12:00:16 +01:00
Nils Eliasson
36d1144c83 8143059: TestUnsafeUnalignedMismatchedAccesses doens't build after 8139891
Use new Unsafe import path

Reviewed-by: roland, thartmann, shade
2015-11-16 20:57:49 +01:00
Nils Eliasson
c2892b5dce Merge 2015-11-16 20:56:18 +01:00
Hui Shi
854b8d1ff1 8139758: [REDO] Elide more final field's write memory barrier with escape analysis result
Membar for all final field initializations eliminated if possible

Reviewed-by: roland, vlivanov
2015-11-16 16:14:15 +01:00
Nils Eliasson
2f9e32256d Merge 2015-11-13 13:31:48 +01:00
Roland Schatz
eee22b283d 8142387: Various JVMCI tests fail on unexpected exception
Reviewed-by: iignatyev, twisti
2015-11-12 13:30:35 +01:00
Joseph Provino
539395ffbf Merge 2015-11-11 23:47:41 +00:00
Tatiana Pivovarova
163e0435dc 8139388: [TESTBUG] JVMCI test failed with RuntimeException profiling info wasn't changed after 100 invocations (assert failed: BaseProfilingInfo<> != BaseProfilingInfo<>)
Reviewed-by: twisti
2015-11-10 21:09:49 +03:00
Tatiana Pivovarova
e0d743ff05 8138810: rework tests for CompilerToVM::allocateCompiledId
Reviewed-by: twisti
2015-11-11 15:04:15 +03:00
Aleksey Shipilev
ac09d8a135 8140650: Method::is_accessor should cover getters and setters for all types
Reviewed-by: vlivanov, coleenp, sgehwolf
2015-11-11 01:27:36 +03:00
Vladimir Kozlov
6ed8c23581 8141624: Limit calculation of pre loop during super word optimization is wrong
Reviewed-by: vlivanov, kvn
2015-11-10 21:36:35 -08:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
1a5787d42e Merge 2015-11-05 19:31:57 +01:00
Christian Thalinger
a38ea495d6 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:23:23 -10:00
Pavel Punegov
b03077878d 8141129: 3 compiler control tests fail on product builds
UnlockDiagnosticVMOptions should be placed before the PrintAssembly

Reviewed-by: kvn
2015-11-03 18:42:40 +03:00
Tatiana Pivovarova
25bd94edfe 8138809: improve tests for CompilerToVM::hasCompiledCodeForOSR
Reviewed-by: kvn
2015-11-03 20:12:47 +03:00
Tobias Hartmann
7af927f9c1 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Andrew Haley
4e24e2cc6c 8079459: JCK test api/java_nio/ByteBuffer/index.html#GetPutXXX start failing after JDK-8026049
NextPutIndex used where nextGetIndex is correct.

Reviewed-by: alanb
2015-11-02 12:34:27 +00:00
Pavel Punegov
d64b0e82b2 8140776: CompilerControl: Remove UTF-16 from the tests
Remove UTF-16 from the generation until the failure reason isn't found

Reviewed-by: iignatyev
2015-10-29 21:31:47 +03:00
Igor Ignatyev
7a6c42b823 Merge 2015-10-29 10:56:58 +00:00
Zoltan Majo
c04398f782 8138651: -XX:DisableIntrinsic matches intrinsics overly eagerly
Improve parsing of DisableIntrinsic flag.

Reviewed-by: kvn, shade, neliasso
2015-10-29 09:24:00 +01:00
Pavel Punegov
9290f65010 8140668: Quarantine RandomValidCommandsTest
8140669: Quarantine ClearDirectivesFileStackTest

Quarantine two tests

Reviewed-by: iignatyev, neliasso, kvn
2015-10-29 01:16:56 +03:00
Gerard Ziemski
684ae3fa6e 8140539: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
Add back "-XX:+IgnoreUnrecognizedVMOptions" that was removed in a prototype.

Reviewed-by: dcubed, ddmitriev
2015-10-28 09:09:55 -05:00
Roland Westrelin
45b3ce816a 8140309: [REDO] failed: no mismatched stores, except on raw memory: StoreB StoreI
Mismatched stores on same slice possible with Unsafe.Put*Unaligned methods

Reviewed-by: kvn, thartmann
2015-10-28 10:20:33 +01:00
Dmitrij Pochepko
8d1f664989 8141552: [TESTBUG] compiler/jvmci/events/JvmciNotifyInstallEventTest failed after jvmci refresh
Fixed test bug, which used same CompilationResult object instance in 2 installCode calls

Reviewed-by: iignatyev, twisti
2015-11-06 15:07:00 +03:00
Dmitrij Pochepko
38339b3fe9 8138689: use package for /compiler/whitebox common classes
Moved CompilerWhiteBoxTest to package, updating tests accordingly

Reviewed-by: iignatyev
2015-11-06 14:54:02 +03:00
Roland Schatz
26f02e4686 8139589: [JVMCI] throw exceptions in faulty code installation operations
Reviewed-by: twisti
2015-11-06 10:06:51 -10:00
Tobias Hartmann
7e827560be Merge 2015-11-06 08:45:13 +00:00
Tobias Hartmann
af2e00ae90 8140574: C2 must re-execute checks after deoptimizing from merged uncommon traps
Before merging uncommon traps we have to check for proper bci domination and compatible JVMStates to guarantee correct re-execution of the checks.

Reviewed-by: kvn, roland
2015-11-06 09:36:47 +01:00
Dmitrij Pochepko
df5a5904ce 8141331: Test hotspot/compiler/oracle/MethodMatcher.java fails with NPE
Reviewed-by: iignatyev
2015-11-04 00:59:44 +03:00
Dean Long
206767c0a2 Merge 2015-10-27 01:45:01 -04:00
Igor Ignatyev
8cb3dad077 Merge 2015-10-28 16:01:45 +00:00
Zoltan Majo
d8c5daffb0 8139907: compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java fails with timeout
Change MontgomeryMultiplyTest.java test to execute only on platforms on which the tested intrinsics are available.

Reviewed-by: kvn, neliasso
2015-10-28 15:15:59 +01:00
Pavel Punegov
1c3f45d213 8066158: JEP-JDK-8046155: Test task: directive parser
Check directive file parser with correct and incorrect files

Reviewed-by: kvn
2015-10-28 16:38:30 +03:00
Pavel Punegov
c95fc22507 8140453: compiler control test failed with RuntimeException: CompileCommand: nonexistent missing
Replace incorrect check for validity of method pattern with full command check

Reviewed-by: kvn
2015-10-28 16:26:42 +03:00
Pavel Punegov
2abe5caf98 8140350: compiler control tests fail with compiled: true, but should: false on required level: 1
Replace isMethodCompiled with isMethodCompilable with particular level

Reviewed-by: kvn
2015-10-28 16:00:54 +03:00
Dean Long
374baee57f Merge 2015-10-21 18:34:36 -04:00
Dean Long
42c3dcab55 8140267: assert(is_native_ptr || alias_type->adr_type() == TypeOopPtr::BOTTOM || alias_type->field() != __null || alias_type->element() != __null) failed: field, array element or unknown
Back out 8136473

Reviewed-by: twisti
2015-10-21 18:05:45 -04:00
Nils Eliasson
3ee545ab1d 8140240: Missing test files in CompilerControl tests
Add missing files

Reviewed-by: kvn, neliasso
2015-10-21 19:31:23 +02:00
Pavel Punegov
169541f4f9 8066166: JEP-JDK-8046155: Test task: dcmd tests
Tests for diagnostic command in CompilerControl

Reviewed-by: kvn
2015-10-20 21:12:25 +03:00
Pavel Punegov
0ea5332014 8066153: JEP-JDK-8046155: Test task: cover existing
Tests for CompilerCommand and CompilerControl's directives

Reviewed-by: kvn
2015-10-20 21:09:57 +03:00
Nils Eliasson
5a5faf94bf 8137167: JEP165: Compiler Control: Implementation task
Compiler Control JEP

Reviewed-by: roland, twisti, zmajo, simonis
2015-10-20 18:07:28 +02:00
Alejandro Murillo
cfbb592424 Merge 2015-10-19 12:30:17 -07:00
Roland Westrelin
096fa934a8 8136473: failed: no mismatched stores, except on raw memory: StoreB StoreI
Mismatched stores on same slice possible with Unsafe.Put*Unaligned methods

Reviewed-by: kvn, thartmann
2015-10-16 16:53:02 +02:00
Igor Ignatyev
c1408bb0c8 8139707: [TESTBUG] Quarantine unstable compiler/jvmci tests
Reviewed-by: twisti
2015-10-16 02:05:54 +03:00
Konstantin Shefov
a4cb6b3eb4 8072369: [TESTBUG] Remove potentially insecure class cast in some hotspot tests
Reviewed-by: twisti, kvn, iignatyev, tpivovarova
2015-10-15 18:00:00 +03:00
Dmitrij Pochepko
72de147944 8139438: [TESTBUG] JVMCI test fails with RuntimeException: Has no virtual object before materialization
Reviewed-by: iignatyev, twisti
2015-10-15 02:46:51 +03:00
Tatiana Pivovarova
d3ad64d9d6 8139375: [TESTBUG] compiler/jvmci/SecurityRestrictionsTest checks are too tight
Reviewed-by: twisti, iignatyev
2015-10-15 01:58:28 +03:00
Chris Hegarty
ca4787d77b 8139891: Prepare Unsafe for true encapsulation
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:18:56 +00:00
Igor Ignatyev
815be268ee 8139376: [TESTBUG] ExecuteInstalledCodeTest should be run only on amd64 and sparcv9
Reviewed-by: twisti, kvn
2015-10-13 16:21:25 +03:00