6809 Commits

Author SHA1 Message Date
Tobias Hartmann
36e384c810 8074553: Crash with assert(!is_unloaded()) failed: should not call follow on unloaded nmethod
Sweeper thread needs to override nmethods_do() to prevent G1 from unloading _scanned_nmethod.

Reviewed-by: kvn, mgerdin
2016-04-05 07:19:44 +02:00
Zoltan Majo
69d14c811b 8072422: Cleanup: Remove some unused flags/code in loop optimizations
Remove unused flags, change test using them.

Reviewed-by: kvn, twisti
2016-04-04 12:52:11 +02:00
Tom Rodriguez
fa667c5409 8153315: [JVMCI] evol_method dependencies failures should return dependencies_failed
Reviewed-by: iveresov
2016-04-03 21:44:54 -07:00
Tobias Hartmann
f571030571 Merge 2016-04-01 08:46:47 +00:00
Rahul Raghavan
2630177fdc 8150690: C++11 user-defined literal syntax in jvmciCompilerToVM.cpp
Changes done for - 'C++11 requires a space between literal and identifier'.

Reviewed-by: twisti
2016-04-01 01:34:00 -07:00
Christian Thalinger
879c8b43c6 8144964: JVMCI compilations need to be disabled until the module system is initialized
Reviewed-by: kvn
2016-03-31 15:52:07 -10:00
Vladimir Kozlov
ee06cb9b8a Merge 2016-03-31 09:16:49 -07:00
Chris Plummer
fbe049838a 8148639: Some MethodCounter fields can be excluded when not including C2
Removed _interpreter_invocation_count and _interpreter_throwout_count fields for C1

Reviewed-by: kvn, coleenp
2016-03-30 09:52:02 -07:00
Tobias Hartmann
b256715d77 Merge 2016-03-30 12:34:08 +02:00
Tobias Hartmann
6a65ad52d6 8152861: VM crash on assert: locked methods shouldn't be flushed
Check if nmethod is locked by JVMTI before flushing.

Reviewed-by: kvn
2016-03-30 08:04:59 +02:00
Tobias Hartmann
c3ebf37e24 8152947: VM crash with assert(!removed || is_in_use()) failed: unused osr nmethod should be invalidated
Check OSR invalidation after nmethod state transition.

Reviewed-by: ddmitriev, vlivanov
2016-03-30 08:00:51 +02:00
Roland Schatz
49558c8d6e 8152634: generalize exception throwing routines in JVMCIRuntime
Reviewed-by: twisti
2016-03-25 12:43:23 +01:00
Vladimir Ivanov
d39c84770b 8152972: C2 crashes with SIGSEGV in LoadNode::make
Reviewed-by: kvn
2016-03-29 21:33:26 +03:00
Rahul Raghavan
34f5c263b6 8152730: File Leak in CompileBroker::init_compiler_thread_log of compileBroker.cpp:1665
Added missing code to close file pointer.

Reviewed-by: kvn
2016-03-28 20:38:05 -07:00
Rahul Raghavan
9acc5ad3ce 8145348: Make intrinsics flags diagnostic
Converted product or develop intrinsics flags to diagnostic.

Reviewed-by: kvn
2016-03-28 01:08:02 -07:00
Vladimir Ivanov
f7d4d8b94d 8025962: JSR 292: NoSuchMethodError and NoSuchFieldError in MHN_resolve_Mem
Reviewed-by: acorn, kvn
2016-03-28 13:49:34 +03:00
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
Zoltan Majo
720f99dec9 Merge 2016-03-24 16:21:18 +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
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
Hiroshi H Horii
0e8c60f68f 8152172: PPC64: Support AES intrinsics
Reviewed-by: kvn, mdoerr, simonis
2016-03-18 12:50:17 +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
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
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
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
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
Jon Masamitsu
c5a4113326 Merge 2016-03-07 23:06:34 +00:00
Sangheon Kim
60d1119f78 Merge 2016-03-07 21:40:10 +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