6661 Commits

Author SHA1 Message Date
Iris Clark
56bda8e672 Merge 2015-09-21 20:08:38 -07:00
Jesper Wilhelmsson
7f7b300f89 Merge 2015-09-21 17:49:57 +02:00
Harold Seigel
d01e8e3c74 8135265: VM fails on 'empty' interface public <init>()V method with VerifyError
Don't check for calls to super() or this() fro <init>()V methods if they are in interfaces.  Because, they are not ctors.

Reviewed-by: acorn, gtriantafill
2015-09-22 14:24:31 -04:00
Harold Seigel
1890d7a430 8135208: VM permits illegal <clinit> access_flags, versions 51-52
Check access flags for <clinit> methods that are not class init methods.

Reviewed-by: kamg, gtriantafill
2015-09-22 09:48:19 -04:00
Eric Caspole
d3653c4ca3 8131645: [ARM64] crash on Cavium when using G1
Add a fence when creating the CodeRootSetTable so the readers do not see invalid memory.

Reviewed-by: aph, tschatzl
2015-09-21 10:36:36 -04:00
Doug Simon
7112a8bb9e 8143151: [JVMCI] assertion for allocation of "too many" CompileTasks must take JVMCI into account
Reviewed-by: iignatyev, twisti
2015-11-18 10:46:21 -10:00
Doug Simon
09c6215e3e 8141330: [JVMCI] avoid deadlock between application thread and JVMCI compiler thread under -Xbatch
Reviewed-by: twisti
2015-11-18 09:43:31 -10:00
Vladimir Ivanov
1cfbe2dec5 8139595: MethodHandles::remove_dependent_nmethod is not MT safe
Reviewed-by: jrose, coleenp
2015-11-18 03:03:43 +03:00
Goetz Lindenmaier
f0c12f35cb 8141137: C2 fails rematerializing nodes using flag registers
Don't rem. if input stretches several live ranges. If rem., don't add SpillCopy on RegFlags edge.

Reviewed-by: kvn, vlivanov
2015-11-02 15:52:37 +01:00
Christian Thalinger
be5f538dbc Merge 2015-11-17 23:35:55 +01:00
Doug Simon
9d87b3e725 8142511: [JVMCI] must eagerly initialize classes with static fields accessed by JVMCI native code
Reviewed-by: twisti
2015-11-17 11:29:23 -10:00
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
c2892b5dce Merge 2015-11-16 20:56:18 +01:00
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
Nils Eliasson
2f9e32256d Merge 2015-11-13 13:31:48 +01:00
Nils Eliasson
5ea0e0d066 8141585: CompilerDirectivesDCMDTest intermittently SEGVs in MethodMatcher::matcher
Missing methodHandle and read before lock

Reviewed-by: twisti
2015-11-13 10:08:44 +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
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
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
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
Martin Doerr
9a5f4d56ff 8138894: C1: Support IRIW on weak memory platforms
Reviewed-by: twisti, goetz
2015-10-21 10:37:50 +02:00
Roland Westrelin
f8abd0e843 8136820: Generate better code for some Unsafe addressing patterns
Reshape address computation to move invariant part out of loops

Reviewed-by: kvn
2015-09-17 16:53:42 +02:00
Roland Westrelin
92af9b015c 8136926: phi == NULL assert in PhaseIdealLoop::try_move_store_after_loop
Multiple phis on same slice are possible in a loop

Reviewed-by: kvn, mcberg
2015-09-22 15:25:34 +02:00
Hui Shi
0f4b248b18 8136596: Remove aarch64: MemBarRelease when final field's allocation is NoEscape or ArgEscape
Elide MemBar when AllocateNode _is_non_escaping

Reviewed-by: kvn, roland
2015-09-21 10:51:33 +02:00
Coleen Phillimore
f55f5b8148 Merge 2015-09-18 16:37:12 -04:00
Nils Eliasson
5ca8983920 8135068: Extract method matchers from CompilerOracle
Ecapsulate code to enable reuse

Reviewed-by: roland, kvn
2015-09-18 10:11:11 +02:00
Igor Veresov
ff77d8762c Merge 2015-09-17 13:42:50 -07:00
Martin Doerr
99c37e9ee2 8136525: Generate interpreter entries only once and avoid unnecessary jump to jump
Reviewed-by: coleenp, twisti, aph
2015-09-17 09:03:57 +02:00
Tobias Hartmann
f298249547 8134739: compiler/loopopts/superword/TestVectorizationWithInvariant crashes in loop opts
Bail out of superword optimization if loop was removed (i.e., if zero-trip Opaque1Node was removed).

Reviewed-by: kvn, roland
2015-09-17 08:08:47 +02:00