Tobias Hartmann
00aa20db4a
8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
...
Always use MDO if valid and always compile trivial methods with C1 if available.
Reviewed-by: kvn, iveresov
2014-11-11 11:05:41 +01:00
Jeremy Manson
54e9fee4d2
8062116: JVMTI GetClassMethods is Slow
...
Allocate enough space for all jmethodids; make adding a jmethodid O(1)
Reviewed-by: coleenp, rasbold, sspitsyn
2014-11-05 16:47:37 -08:00
Tobias Hartmann
fe1762fbd6
8061817: Whitebox.deoptimizeMethod() does not deoptimize all OSR versions of method
...
Fixed Whitebox.deoptimizeMethod() to deoptimize all OSR versions of the method.
Reviewed-by: kvn, iignatyev
2014-10-30 13:03:30 +01:00
Igor Veresov
ad7e67c98f
8058564: Tiered compilation performance drop in PIT
...
Ensure MethodCounters are created before method is enqueued for compilation
Reviewed-by: kvn, drchase, jiangli
2014-09-17 21:15:03 -07:00
Coleen Phillimore
3c70d99eda
8055008: Clean up code that saves the previous versions of redefined classes
...
Use scratch_class to find EMCP methods for breakpoints if the old methods are still running.
Reviewed-by: dcubed, sspitsyn
2014-09-03 19:13:18 -04:00
Coleen Phillimore
d230f0b4fd
8051398: jvmti tests fieldacc002, fieldmod002 fail in nightly with errors: (watch#0) wrong location
...
Didn't handle NULL bcp for native methods
Reviewed-by: dcubed, sspitsyn
2014-07-31 00:50:55 +00:00
Coleen Phillimore
3f0a945468
8004128: NPG: remove stackwalking in Threads::gc_prologue and gc_epilogue code
...
Remove bcx and mdx handling. We no longer have to convert bytecode pointers to indices for GC since Methods aren't moved.
Reviewed-by: mgerdin, kvn
2014-07-17 15:45:46 -04:00
Coleen Phillimore
024bb79ec8
Merge
2014-05-17 19:34:38 -04:00
Serguei Spitsyn
7f2b064e43
8042796: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
...
Relax the guaranty for deleted methods
Reviewed-by: dcubed, coleenp
2014-05-16 15:05:44 -07:00
Coleen Phillimore
c336175c94
8038212: Method::is_valid_method() check has performance regression impact for stackwalking
...
Only prune metaspace virtual spaces at safepoint so walking them is safe outside a safepoint.
Reviewed-by: mgerdin, mgronlun, hseigel, stefank
2014-05-15 18:23:26 -04:00
Tobias Hartmann
06c26b6f97
8036956: remove EnableInvokeDynamic flag
...
The EnableInvokeDynamic flag and all support code is removed because it is not longer used in JDK 9.
Reviewed-by: kvn, twisti
2014-04-29 08:08:44 +02:00
Coleen Phillimore
c8990959f2
8028497: SIGSEGV at ClassLoaderData::oops_do(OopClosure*, KlassClosure*, bool)
...
Keep class in CLD::_klasses list and mirror created for CDS classes if OOM during restore_shareable_info(). This keeps pointers consistent for CMS.
Reviewed-by: ehelin, stefank, jmasa, iklam
2014-04-08 13:58:38 -04:00
Bharadwaj Yadavalli
a12d6f7a1e
Merge
2014-04-03 17:05:19 -04:00
Roland Westrelin
b21d142f01
8037970: make PrintMethodData a diagnostic options
...
Make PrintMethodData a diagnostic options for performance investigation
Reviewed-by: kvn, iveresov
2014-03-31 10:35:06 +02:00
Coleen Phillimore
472622d900
8031820: NPG: Fix remaining references to metadata as oops in comments
...
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool
Updated comments in metadata header files, and renamed this_oop variables to this_cp or this_k when referring to constant pool or classes.
Reviewed-by: stefank, jmasa
2014-03-26 21:47:45 -04:00
Vladimir Ivanov
38d80b03c4
8023461: Thread holding lock at safepoint that vm can block on: MethodCompileQueue_lock
...
Reviewed-by: kvn, iveresov
2014-03-11 15:06:34 +04:00
Igor Veresov
54db2c2d61
8032463: VirtualDispatch test timeout with DeoptimizeALot
...
Introduce code aging for warm method detection
Reviewed-by: kvn, twisti
2014-05-13 11:32:10 -07:00
Christian Thalinger
1a1f9f0871
8037043: put Method flag bits in predictable positions
...
Reviewed-by: kvn, coleenp
2014-03-11 14:54:47 -07:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Jesper Wilhelmsson
81ba2e32c0
8025856: Fix typos in the GC code
...
Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
Goetz Lindenmaier
46c4ef6572
8029396: PPC64 (part 212): Several memory ordering fixes in C-code
...
Memory ordering fixes in GC and other runtime code showing on PPC64.
Reviewed-by: kvn, coleenp
2013-12-02 10:26:14 +01:00
Igor Veresov
db9a439624
Merge
2013-10-13 13:22:24 -07:00
Karen Kinnear
088ded71f9
8009130: Lambda: Fix access controls, loader constraints
...
New default methods list with inherited superinterface methods
Reviewed-by: minqi, sspitsyn, coleenp
2013-10-07 12:20:28 -04:00
Christian Thalinger
619948a8f1
8025566: EXCEPTION_ACCESS_VIOLATION in compiled by C1 String.valueOf method
...
Reviewed-by: kvn
2013-10-07 10:41:56 -07:00
David Chase
222c735458
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
...
Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose
2013-09-13 22:38:02 -04:00
Vladimir Ivanov
a92cdcd010
8023976: assert(!CompilationPolicy::can_be_compiled(this, comp_level)) failed: sanity check
...
Reviewed-by: kvn, twisti
2013-08-29 22:44:19 +04:00
Roland Westrelin
6ae26f2e94
8010460: Interpreter on some platforms loads ConstMethod::_max_stack and misses extra stack slots for JSR 292
...
ConstMethod::max_stack() doesn't account for JSR 292 appendix.
Reviewed-by: kvn
2013-04-24 11:49:38 +02:00
Yumin Qi
9a1cd52a0f
Merge
2013-05-13 18:08:13 +00:00
Yumin Qi
c6aa9c656f
8003557: NPG: Klass* const k should be const Klass* k
...
With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*.
Reviewed-by: coleenp, kvn
2013-05-10 08:27:30 -07:00
Jiangli Zhou
ba80b3e045
8013067: Zero builds are broken after 8010862
...
Fixed broken Zero build.
Reviewed-by: twisti, coleenp, kvn
2013-05-06 19:57:35 -04:00
Jiangli Zhou
2f703b2613
Merge
2013-04-15 21:25:23 -04:00
Jiangli Zhou
56370657b9
8010862: The Method counter fields used for profiling can be allocated lazily
...
Allocate the method's profiling related metadata until they are needed.
Reviewed-by: coleenp, roland
2013-04-09 17:17:41 -04:00
Igor Ignatyev
ca90185607
8007288: Additional WB API for compiler's testing
...
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
Christian Thalinger
6964a690ed
7198429: need checked categorization of caller-sensitive methods in the JDK
...
Reviewed-by: kvn, jrose
2013-03-25 17:13:26 -07:00
Eric McCorkle
b56b3bc9aa
8007153: Ensure that MethodParameters API works properly with RedefineClasses
...
Adds code to HotSpot to properly update MethodParameter attributes' constant pool indexes when redefineClasses is called
Reviewed-by: coleenp, sspitsyn
2013-02-19 11:36:52 -05:00
Coleen Phillimore
faea95b8d3
8007320: NPG: move method annotations
...
Allocate method annotations and attach to ConstMethod if present
Reviewed-by: dcubed, jiangli, sspitsyn, iklam
2013-02-11 14:06:22 -05:00
Serguei Spitsyn
6ff685b4c8
Merge
2013-02-08 09:14:06 -08:00
Vladimir Ivanov
268a4d605c
Merge
2013-02-07 12:23:51 -08:00
Daniel D. Daugherty
8ef946f380
7182152: Instrumentation hot swap test incorrect monitor count
...
Add/refine new tracing support using -XX:TraceRedefineClasses=16384.
Reviewed-by: coleenp, acorn, sspitsyn
2013-02-06 14:31:37 -08:00
Igor Ignatyev
014d9489bb
8006613: adding reason to made_not_compilable
...
Reviewed-by: kvn, vlivanov
2013-02-05 08:25:51 -08:00
Jiangli Zhou
7cadb57785
Merge
2013-02-01 15:25:37 -05:00
Ioi Lam
93b845e21b
6479360: PrintClassHistogram improvements
...
Jcmd <pid> GC.class_stats (UnlockDiagnosticVMOptions)
Reviewed-by: coleenp, hseigel, sla, acorn
2013-01-25 15:06:18 -05:00
Ioi Lam
27c881b2fb
8006280: Need to reorder metadata structures to reduce size (64-bit)
...
Reordered Klass, InstanceKlass and Method to save 8 bytes each
Reviewed-by: coleenp, jiangli
2013-01-24 10:57:38 -08:00
Dean Long
f1bd82ba8f
Merge
2013-01-09 21:18:52 -05:00
Eric Mccorkle
be968245ec
8004728: Add hotspot support for parameter reflection
...
Add hotspot support for parameter reflection
Reviewed-by: acorn, jrose, coleenp
2013-01-08 14:01:36 -05:00
Jiangli Zhou
8d91f983e0
8001341: SIGSEGV in methodOopDesc::fast_exception_handler_bci_for(KlassHandle,int,Thread*)+0x3e9
...
Use methodHandle.
Reviewed-by: coleenp, acorn, twisti, sspitsyn
2013-01-08 13:01:19 -05:00
Yumin Qi
a5fbc1aa4d
Merge
2012-12-24 11:46:38 -08:00
Joel Borggren-Franck
6ed6cb5375
8004823: Add VM support for type annotation reflection
...
Reviewed-by: dholmes, coleenp
2012-12-20 10:22:19 +01:00
Jiangli Zhou
511a9d8982
8004076: Move _max_locals and _size_of_parameters to ConstMethod for better sharing
...
Move _max_locals and _size_of_parameters to ConstMethod for better sharing.
Reviewed-by: coleenp, minqi, jrose
2012-12-11 12:41:31 -05:00
Chris Plummer
fdf8ceee2d
Merge
2012-11-29 13:55:49 -08:00