9240 Commits

Author SHA1 Message Date
Roland Westrelin
d812f005c9 Merge 2015-11-16 16:39:29 +00: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
Tobias Hartmann
8ac86c17f8 8061436: Processing of options related to segmented code cache should be enhanced
Allow user to set code heap sizes individually and enhance checking of code cache flags.

Reviewed-by: kvn, roland
2015-11-16 15:35:43 +01:00
Roland Westrelin
a59fb9d9c1 Merge 2015-11-16 11:58:31 +00:00
Zoltan Majo
3afdae2f22 Merge 2015-11-16 10:54:47 +01:00
Roland Westrelin
baaa8f79ed 8042997: Make intrinsic some or all check index/range methods
Objects.checkIndex() intrinsic

Reviewed-by: vlivanov, shade
2015-11-16 09:55:25 +01:00
Zoltan Majo
5c32c8d2ab 8140327: segfault on solaris-amd64 with "-XX:CompilerThreadStackSize=1" option
Update range for the CompilerThreadStackSize flag. Remove flag from testing.

Reviewed-by: kvn
2015-11-16 09:42:20 +01:00
Tobias Hartmann
c9b5f58d7f 8142500: missing null checks in IfNode::has_only_uncommon_traps
IfNode::has_only_uncommon_traps needs to null-check the callers.

Reviewed-by: kvn, roland, rbackman
2015-11-16 08:03:24 +01:00
Konstantin Shefov
6de50f10f5 8131778: java disables UseAES flag when using VIS=2 on sparc
Reviewed-by: iignatyev, kvn
2015-11-13 18:14:41 +03:00
Roland Schatz
eee22b283d 8142387: Various JVMCI tests fail on unexpected exception
Reviewed-by: iignatyev, twisti
2015-11-12 13:30:35 +01:00
Christian Thalinger
6896030b96 8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
Reviewed-by: goetz, stefank
2015-11-11 16:32:17 -10:00
Gilles Duboscq
c4ce43c1ac 8141133: [JVMCI] crash during safepoint deopt if rethrow_exception is set
Reviewed-by: twisti
2015-11-11 14:40:38 -10: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
Gunter Haug
bace7d99aa 8142314: Bug in C1 ControlFlowOptimizer::delete_unnecessary_jumps with bytecode profiling
Reviewed-by: kvn
2015-11-10 11:01:28 +01: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
Tom Rodriguez
e73df9dee6 8142436: [JVMCI] fix management of nmethod::_installed_code field
Reviewed-by: twisti
2015-11-10 11:50:20 -10:00
Tom Rodriguez
323c22ecfa 8142435: [JVMCI] restore missing InstalledCode.version increment
Reviewed-by: twisti
2015-11-10 11:49:42 -10:00
Roland Schatz
3d745923ca 8142329: [JVMCI] pass Handle by value
Reviewed-by: coleenp, twisti
2015-11-10 10:34:39 -10:00
Roland Westrelin
fa6545ccc1 8137168: Replace IfNode with a new RangeCheckNode for range checks
New RangeCheckNode to enable optimization of explicit library level range checks

Reviewed-by: kvn, thartmann
2015-11-09 11:28:31 +01:00
Igor Veresov
51884084c1 Merge 2015-11-09 22:43:30 +00:00
Christian Thalinger
df31872e93 Merge 2015-11-09 20:01:29 +00:00
Michael C Berg
e86e38619e 8140779: Code generation fixes for avx512
Assembler refactoring. Abstract away instruction attributes.

Reviewed-by: kvn, roland, iveresov
2015-11-09 11:26:41 -08:00
Tobias Hartmann
88b4e7130a Merge 2015-11-09 13:27:18 +00:00
Tobias Hartmann
5d86db4b66 8067378: Add segmented code heaps info into jfr events: vm/code_cache/stats and vm/code_cache/config
Added code heap specific information to code cache JFR events.

Reviewed-by: twisti, mgronlun
2015-11-09 11:35:44 +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
Dmitrij Pochepko
48183cc207 8141353: Testlibrary: add various changes into testlibrary Utils
Added TEST_JDK, TEST_CLASSES properties and getMandatoryProperty method

Reviewed-by: iignatyev
2015-11-06 14:51:15 +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
Aleksey Shipilev
99b9a67ccd 8140389: Remove StringCharIntrinsics flag after JDK-8138651 is fixed
Reviewed-by: kvn, zmajo
2015-11-05 16:35:21 +03:00
Tobias Hartmann
f3011455a2 8141443: jdk/test/java/util/regex/RegExTest.java fails: No match found
Do not sign extend when converting jbyte to jchar.

Reviewed-by: shade, kvn
2015-11-05 15:29:46 +01:00
Erik Joelsson
2973587401 Merge 2015-11-05 15:08:58 +01:00
Aleksey Shipilev
dfb1ed8a19 8141044: C1 should fold (this == null) to false
Reviewed-by: jrose, roland
2015-11-05 13:33:18 +03:00
Volker Simonis
5bef4db912 8141416: "expr: syntax error" due to gcc -dumpversion excluding micro
Reviewed-by: erikj, stuefe
2015-11-05 10:55:58 +01:00
Christian Thalinger
a38ea495d6 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:23:23 -10:00
Konstantin Shefov
a4e16dd190 8139385: [TESTBUG]: JVMCI test crashes in constantPoolHandle::constantPoolHandle
Reviewed-by: kvn, iignatyev
2015-11-03 20:12:51 +03: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
Alejandro Murillo
f9d614575f Merge 2015-10-30 12:03:08 -07:00
Igor Ignatyev
72ec09dd64 Merge 2015-10-29 19:30:51 +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 Veresov
39f99d5815 8140604: Internal Error runtime/stubRoutines.hpp:392 assert(_intrinsic_log != 0L) failed: must be defined
Fix the faulty assert, remove remaining _intrinsic_log references

Reviewed-by: roland
2015-10-29 09:59:56 -07:00
Lana Steuck
3d29bacd20 Added tag jdk9-b89 for changeset 75e0112d3eb5 2015-10-29 08:42:24 -07:00
Aleksey Shipilev
3ebee2a2b9 Merge 2015-10-29 13:23:43 +00:00
Aleksey Shipilev
a7f471d8be 8140483: Atomic*FieldUpdaters final fields should be trusted
Add exceptions for A*FU subclasses that do the actual work.

Reviewed-by: jrose, vlivanov
2015-10-29 14:08:19 +03:00