7775 Commits

Author SHA1 Message Date
Vladimir Ivanov
661796fe3f 8152179: C2: Folding of unsigned loads is broken w/ @Stable
Reviewed-by: jrose, kvn
2016-03-28 13:49:34 +03:00
Vladimir Ivanov
3d03610bf4 8152773: C2: LoadNode properties aren't preserved when converting between signed/unsigned variants
Reviewed-by: jrose, kvn
2016-03-28 13:49:34 +03:00
Vladimir Ivanov
9cf0dc3015 8151623: Zap freed Metaspace chunks in non-product binaries
Reviewed-by: stefank, jmasa
2016-03-28 13:49:34 +03:00
Aleksey Shipilev
d8f23ea33b 8152698: Remove obsolete Unsafe.putOrdered{X} methods, usages, runtime and compiler support
Reviewed-by: kvn, psandoz
2016-03-25 15:34:30 +03:00
Vivek Deshpande
752d1b46bb 8152354: Update for x86 AES CBC Decryption
4 way parallel version for key sizes 192 and 256 for 64 bit and for key sizes 128, 192 and 256 for 32 bit.

Reviewed-by: kvn
2016-03-24 11:48:37 -07:00
Zoltan Majo
fd69c51425 Merge 2016-03-24 17:52:39 +00:00
Zoltan Majo
720f99dec9 Merge 2016-03-24 16:21:18 +01:00
Tobias Hartmann
d9fd1b40d7 Merge 2016-03-24 11:50:51 +00:00
Tobias Hartmann
1f41cbe573 8150821: Crash with assert(!((nmethod*)_cb)->is_deopt_pc(_pc)) failed: invariant broken
Use different constructor on SPARC to fully initialize frame.

Reviewed-by: kvn
2016-03-24 12:19:50 +01:00
Paul Sandoz
ab69113c5e 8149644: Integrate VarHandles
Reviewed-by: kvn, vlivanov
2016-03-24 11:21:49 +01:00
Tobias Hartmann
ce350e07fa 8136458: Remove "marked for reclamation" nmethod state
Removed "marked for reclamation" nmethod state because only sweeper sets nmethods to zombie.

Reviewed-by: kvn, neliasso
2016-03-24 09:09:52 +01:00
Martin Doerr
9dff846b30 8151818: C1: LIRGenerator::move_to_phi can't deal with illegal phi
Reviewed-by: iveresov, kvn
2016-03-23 15:35:38 -07:00
Zoltan Majo
3edb7b95ba Merge 2016-03-23 15:01:42 +01:00
Severin Gehwolf
aa55cc6846 8152440: Zero build fails after JDK-8146801
Define InitArrayShortSize macro for Zero as well.

Reviewed-by: aph
2016-03-22 18:23:39 +01:00
Chris Hegarty
9978f9b065 Merge 2016-03-22 17:04:25 +00:00
Chris Hegarty
5af2dcd643 Merge 2016-03-22 10:43:58 +00:00
Zoltan Majo
1c19fa8c18 Merge 2016-03-21 11:21:07 +01:00
Zoltan Majo
5751808a6c 8148754: C2 loop unrolling fails due to unexpected graph shape
Check if graph shape is appropriate for optimization, bail out optimization if not.

Reviewed-by: kvn, twisti, shade, dnsimon
2016-03-21 09:51:20 +01:00
Guy Delamarter
579f0ea8ec 8144693: Intrinsify StringCoding.hasNegatives() on SPARC
Implemented C2 instrinsic for StringCode.hasNegatives() on SPARC.

Reviewed-by: kvn, jrose, thartmann
2016-03-21 08:42:20 +01:00
Alan Bateman
f30fc1c88b 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Zoltan Majo
a7f8d170bf Merge 2016-03-17 13:48:11 +01:00
Filipp Zhinkin
591784c35a 8152004: CTW crashes with failed assertion after 8150646 integration
Reviewed-by: kvn, neliasso
2016-03-17 09:50:00 +03:00
Christian Thalinger
4036d37a8f 8152134: [JVMCI] printing compile queues always prints C2 regardless of UseJVMCICompiler
Reviewed-by: dnsimon
2016-03-17 16:10:58 -10:00
Christian Thalinger
565799b797 8151723: [JVMCI] JVMCIRuntime::treat_as_trivial: Don't limit trivial prefixes to boot class path
Reviewed-by: dnsimon
2016-03-17 16:10:09 -10:00
Christian Thalinger
99a06be405 8151829: [JVMCI] incorrect documentation about jvmci.compiler property
Reviewed-by: kvn
2016-03-17 10:55:15 -10:00
Tobias Hartmann
ba7e4da495 8023191: OSR nmethods should be flushed to free space in CodeCache
Treat OSR nmethods like normal nmethods and flush them if they are cold/unused.

Reviewed-by: kvn
2016-03-18 09:32:29 +01:00
Tom Rodriguez
2b48dbfd93 8151874: [JVMCI] canInlineMethod should check is_not_compilable for correct CompLevel
Reviewed-by: twisti
2016-03-17 12:04:04 -07:00
Andrew Haley
dab7ef569b Merge 2016-03-17 17:03:20 +00:00
Tobias Hartmann
42ba4188b0 8151882: -XX:+Verbose prints messages even if no other flag is set
We should only print messages if PrintOpto && WizardMode is set.

Reviewed-by: kvn, neliasso
2016-03-17 09:41:46 +01:00
Jesper Wilhelmsson
7b7aad5481 Merge 2016-03-16 14:31:33 +01:00
Tom Rodriguez
3e246411ae 8151871: [JVMCI] missing HAS_PENDING_EXCEPTION check
Reviewed-by: kvn
2016-03-15 14:19:24 -07:00
Tobias Hartmann
23a62fdfca 8150804: C2 Compilation fails with assert(_base >= OopPtr && _base <= AryPtr) failed: Not a Java pointer
Wait with removing casts from inputs in PhiNode::ideal() until after parsing for the type information to propagate.

Reviewed-by: kvn
2016-03-15 17:42:28 +01:00
Nils Eliasson
372ff0a016 Merge 2016-03-15 12:34:41 +01:00
Nils Eliasson
d2078b7e23 8151795: compiler/compilercontrol/parser/DirectiveParserTest.java fails with "assert failed: 0 != 0"
Treat zero added directives as fail

Reviewed-by: twisti, kvn
2016-03-15 11:17:06 +01:00
Konstantin Shefov
f2880e341a 8150850: [JVMCI] NPE when executing HotSpotConstantReflectionProvider.readStableFieldValue
Reviewed-by: twisti, dnsimon
2016-03-15 13:00:43 +03:00
Vladimir Ivanov
6ea5772a9b 8143407: C1: @Stable array support
Reviewed-by: twisti
2016-03-14 12:35:52 +03:00
Vladimir Ivanov
ffdd79f89c 8141420: Compiler runtime entries don't hold Klass* from being GCed
Reviewed-by: kvn, coleenp
2016-03-14 12:35:48 +03:00
Vladimir Ivanov
28cf824b60 8150320: C1: Illegal bci in debug info for MH::linkTo* methods
Reviewed-by: kvn, dlong
2016-03-14 12:35:48 +03:00
Vladimir Ivanov
b4e4244a32 8139247: Improper locking of MethodData::_extra_data_lock
Reviewed-by: dholmes, roland, dcubed
2016-03-14 12:35:44 +03:00
Christian Thalinger
54ca53c593 8151266: HotSpotResolvedJavaFieldImpl::isStable() does not work as expected
Reviewed-by: never, twisti
2016-03-08 15:10:02 -08:00
Jon Masamitsu
c5a4113326 Merge 2016-03-07 23:06:34 +00:00
Sangheon Kim
60d1119f78 Merge 2016-03-07 21:40:10 +00:00
Dmitry Samersoff
7e6bd74172 Merge 2016-03-07 20:33:26 +00:00
Carsten Varming
f913f3be69 8150013: ParNew: Prune nmethods scavengable list
Speed up ParNew collections by pruning the list of scavengable nmethods.

Reviewed-by: jmasa, tonyp, twisti
2016-03-07 14:41:31 -05:00
Gerard Ziemski
e9ed133190 Merge 2016-03-07 19:29:47 +00:00
Sangheon Kim
400246c87d Merge 2016-03-07 18:56:02 +00:00
Jesper Wilhelmsson
eadcb3b145 Merge 2016-03-07 19:17:35 +01:00
Dmitry Samersoff
3610546cb0 Merge 2016-03-07 18:05:27 +00:00
Sharath Ballal
1df8126210 8147456: Parsing of argument for -agentpath can write outside of allocated memory
Reviewed-by: sspitsyn, dholmes
2016-03-07 20:58:09 +03:00
Gerard Ziemski
0d4da45ca7 8146850: Remove TraceHandleAllocation rather than converting to UL
8149850: Remove HandleAllocationLimit and TotalHandleAllocationLimit when removing TraceHandleAllocation

Removed TraceHandleAllocation, HandleAllocationLimit and TotalHandleAllocationLimit flags

Reviewed-by: coleenp, dholmes
2016-03-07 10:39:24 -06:00