Coleen Phillimore
ee01e4e88b
Merge
2015-06-24 21:58:05 -04:00
Bill Pittore
304b59b0c8
8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
...
Need to add a space between macro identifier and string literal
Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00
Vladimir Ivanov
90a42c2491
8074551: GWT can be marked non-compilable due to deopt count pollution
...
Reviewed-by: kvn
2015-06-11 14:19:40 +03:00
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Coleen Phillimore
7b384c6958
8061205: MetadataOnStackMark only needs to walk code cache during class redefinition
...
Only do full metadata walk during class redefinition and only walk handles during class unloading.
Reviewed-by: sspitsyn, stefank
2015-03-13 12:40:39 -04:00
Serguei Spitsyn
942d1f7f32
8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
...
Optimize the adjust_method_entries functions by using the orig_method_idnum() function
Reviewed-by: coleenp, dcubed
2015-02-25 00:30:54 -08:00
Zoltan Majo
e559c17954
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
...
Changed interpreter and compilation policies to allow using CompileThresholdScaling on a per-method level
Reviewed-by: jrose, kvn
2015-01-21 10:51:35 +01:00
Coleen Phillimore
27a1ed85b6
8067836: The Universe::flush_foo methods belong in CodeCache
...
Move this code to CodeCache.
Reviewed-by: kbarrett, kvn
2015-01-06 19:30:28 -05:00
David Chase
0b7c6dc57c
Merge
2014-12-04 11:35:09 -05:00
Tobias Hartmann
f9806ff009
8066448: SmallCodeCacheStartup.java exits with exit code 1
...
Check for VirtualMachineError in case VM initialization fails.
Reviewed-by: kvn
2014-12-04 09:52:15 +01:00
Max Ockner
91dbd4f088
8060074: os::free() takes MemoryTrackingLevel but doesn't need it
...
Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
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
Staffan Larsen
bcb6a1586a
Merge
2014-11-06 19:59:32 +00: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
Coleen Phillimore
4c036f5730
8037842: Failing to allocate MethodCounters and MDO causes a serious performance drop
...
Stop allocating compiler profiling metadata when metaspace is full.
Reviewed-by: kvn, anoll
2014-10-30 18:38:42 -04:00
Vladimir Kozlov
74def215cd
8054492: Casting can result in redundant null checks in generated code
...
Add C2 intrinsic for Class.cast() method and force inline it too.
Reviewed-by: jrose, roland, drchase, iignatyev
2014-10-31 16:51:57 -07:00
Stefan Karlsson
d410f19961
8056240: Investigate increased GC remark time after class unloading changes in CRM Fuse
...
Reviewed-by: mgerdin, coleenp, bdelsart
2014-10-02 10:55:36 +02: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
Igor Veresov
6dc6f53f6a
8058184: Move _highest_comp_level and _highest_osr_comp_level from MethodData to MethodCounters
...
Tiered policy requires highest compilation levels always available
Reviewed-by: kvn, vlivanov
2014-09-11 00:04:50 -07: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
Serguei Spitsyn
b0367c3bea
Merge
2014-07-18 23:53:59 -07: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
Vladimir Ivanov
c51f489786
8049529: LogCompilation: annotate make_not_compilable with compilation level
...
Reviewed-by: roland, iveresov
2014-07-14 03:27:21 -07:00
Harold Seigel
b6a2f946f6
8031819: Remove legacy jdk checks and code
...
Delete old jdk specific code.
Reviewed-by: dholmes, coleenp, zgu, lfoltan
2014-06-11 09:58:23 -04: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
Yuri Gaevsky
cc3c656cf1
8025580: Temporary flags: UseNewReflection and ReflectionWrapResolutionErrors
...
The fix removes all UseNewReflection/ReflectionWrapResolutionErrors occurrences/logic and adds them into the list of obsolete_jvm_flags in arguments.cpp.
Reviewed-by: coleenp, hseigel
2014-05-15 17:38:50 -04:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Goetz Lindenmaier
6e6f0720a9
8042195: Introduce umbrella header orderAccess.inline.hpp
...
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +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
Dmitry Samersoff
5c15816a53
Merge
2014-03-30 03:29:48 -07:00
Vladimir Kozlov
97a51c5c2a
8031320: Use Intel RTM instructions for locks
...
Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed
2014-03-20 17:49:27 -07: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
Christian Thalinger
9620913796
8026328: Setting a breakpoint on invokedynamic crashes the JVM
...
Reviewed-by: jrose, roland
2013-10-24 16:23:07 -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
Albert Noll
0dee555ead
8020151: PSR:PERF Large performance regressions when code cache is filled
...
Code cache sweeping based on method hotness; removed speculatively disconnect
Reviewed-by: kvn, iveresov
2013-09-27 10:50:55 +02: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
Rickard Bäckman
9c2ac55d23
Merge
2013-08-19 09:33:29 +02:00
Igor Ignatyev
caa3d02130
8022832: Add WB APIs for OSR compilation
...
Reviewed-by: kvn
2013-08-14 23:50:23 +04:00
Coleen Phillimore
a25f924de6
8009728: nsk/jvmti/AttachOnDemand/attach030 crashes on Win32
...
ActiveMethodOopsCache was used to keep track of old versions of some methods that are cached in Universe but is buggy with permgen removal and not needed anymore
Reviewed-by: sspitsyn, dcubed, mseledtsov
2013-08-12 17:24:54 -04:00
Eric McCorkle
dd70c34130
8019632: Method parameters are not copied in clone_with_new_data
...
Add code to copy method parameters data in clone_with_new_data
Reviewed-by: coleenp, sspitsyn
2013-07-22 17:57:42 -04:00
Coleen Phillimore
39a1c1d6c2
8016325: JVM hangs verifying system dictionary
...
Minimize redundant verifications of Klasses.
Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Ioi Lam
9dc36eb923
8014912: Restore PrintSharedSpaces functionality after NPG
...
Added dumping of object sizes in CDS archive, sorted by MetaspaceObj::Type
Reviewed-by: coleenp, acorn
2013-05-28 16:36:19 -07:00
Christian Thalinger
c6c7f3439e
Merge
2013-05-16 13:47:55 -07: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
Christian Thalinger
149097fbb7
7196277: JSR 292: Two jck/runtime tests crash on java.lang.invoke.MethodHandle.invokeExact
...
Reviewed-by: jrose, kvn
2013-05-06 13:53:13 -07:00
Nils Eliasson
dedfcd5aa4
8012547: Code cache flushing can get stuck reclaming of memory
...
Keep sweeping regardless of if we are flushing
Reviewed-by: kvn, twisti
2013-04-29 13:20:19 +02: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