Stefan Karlsson
232a59cb40
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
...
Reviewed-by: brutisso, coleenp, kbarrett, sjohanss
2015-04-02 10:04:27 +02:00
Harold Seigel
1665046b90
Merge
2015-03-29 09:20:27 -04:00
Jesper Wilhelmsson
5f5b27baba
Merge
2015-03-23 22:08:14 +01:00
Serguei Spitsyn
cc2bb40bf3
8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
...
Use method cpref and klass version to provide meaningful methods name in stacktraces
Reviewed-by: coleenp, dcubed
2015-03-20 02:44:51 -07:00
Coleen Phillimore
01893ae525
8005521: StressMethodComparator is not thread-safe
...
Remove the debug option. It isn't correct or tested.
Reviewed-by: gtriantafill, dholmes, sspitsyn
2015-03-19 09:47:27 -04:00
Stefan Karlsson
ba1d121fe0
8075957: Reduce calls to the GC specific object visitors in oopDesc
...
Reviewed-by: brutisso, mgerdin, pliden
2015-03-26 11:28:19 +01: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
Yumin Qi
3bbda04f98
Merge
2015-01-27 20:02:35 -08:00
Lois Foltan
5f8b5ceaee
8067480: Crash in klassItable::initialize_itable_for_interface when running vm.runtime.defmeth.StaticMethodsTest
...
A static method should be skipped in entirety by find_instance_method(), searching should continue to find an overpass method of the same name and signature if present.
Reviewed-by: acorn, hseigel
2015-01-23 09:54:33 -05:00
Coleen Phillimore
feb09bc118
8067713: Move clean_weak_method_links for redefinition out of class unloading
...
Do this work during class redefinition, only verify clean during class unloading in debug mode.
Reviewed-by: sspitsyn, roland, kbarrett
2014-12-18 16:15:21 -05:00
Yumin Qi
9767fa7cb2
Merge
2014-12-03 20:32:33 -08:00
David Chase
2080004ef0
8064524: Compiler code generation improvements
...
Reviewed-by: jrose, acorn, vlivanov
2014-12-01 13:06:20 -05:00
Stefan Karlsson
366bf9ff09
8075247: Cleanup specialized_oop_closures.hpp
...
Reviewed-by: mgerdin, brutisso, tschatzl
2015-03-17 14:18:52 +01:00
Stefan Karlsson
426a345fec
8075242: Remove SpecializationStats
...
Reviewed-by: brutisso, mgerdin
2015-03-17 13:23:49 +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
Jesper Wilhelmsson
3c3e60d5be
Merge
2014-11-26 18:01:10 +01:00
Coleen Phillimore
4151db8bfd
8042235: redefining method used by multiple MethodHandles crashes VM
...
Note all MemberNames created on internal list for adjusting method entries.
Reviewed-by: sspitsyn, dcubed, lfoltan
2014-11-19 13:02:11 -05: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
Goetz Lindenmaier
0aa09022fa
8062370: Various minor code improvements
...
A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Igor Veresov
5870a5b77b
Merge
2014-10-30 09:50:16 -10: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
Karen Kinnear
0e1283a811
8043275: Fix interface initialization for default methods
...
Initialize interfaces that declare concrete instance methods.
Reviewed-by: kamg, coleenp, psandoz
2014-10-22 15:24:37 -07:00
Jesper Wilhelmsson
2616e09389
Merge
2014-11-17 21:32:32 +01:00
Stefan Karlsson
95704b233c
8064811: Use THREAD instead of CHECK_NULL in return statements
...
Reviewed-by: coleenp, simonis, dholmes
2014-11-14 09:47:09 +01: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
Bill Pittore
88eb5fb4d6
8046210: Missing memory barrier when reading init_lock
...
Reviewed-by: fparain, dcubed, mdoerr
2014-09-02 21:27:08 -04:00
Thomas Schatzl
9086b5795f
8054819: Rename HeapRegionSeq to HeapRegionManager
...
Reviewed-by: jwilhelm, jmasa
2014-08-26 09:36:53 +02:00
Ioi Lam
bbe6f51f81
8046070: Class Data Sharing clean up and refactoring
...
Cleaned up CDS to be more configurable, maintainable and extensible
Reviewed-by: dholmes, coleenp, acorn, mchung
2014-08-12 17:29:00 -07:00
Tobias Hartmann
a87b3d13df
8059846: InstanceKlass should use MutexLockerEx to acquire OsrList_lock
...
Replace explicit locking of OsrList_lock by a MutexLockerEx instantiation.
Reviewed-by: kvn, anoll, drchase, dholmes, dlong, coleenp
2014-10-16 12:57:04 +02:00
Erik Helin
b77bc85799
8049426: Minor cleanups after G1 class unloading
...
Reviewed-by: stefank, brutisso
2014-07-09 16:44:30 +02:00
Stefan Karlsson
1b001a2afd
8049421: G1 Class Unloading after completing a concurrent mark cycle
...
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Stefan Karlsson
ef1e9b3c80
8049420: Backout 8048248 to correct attribution
...
Reviewed-by: ehelin, brutisso
2014-07-07 12:37:11 +02:00
Stefan Karlsson
8c3aced316
8048248: G1 Class Unloading after completing a concurrent mark cycle
...
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Stefan Karlsson
fd43773a10
8046670: Make CMS metadata aware closures applicable for other collectors
...
Reviewed-by: ehelin, mgerdin
2014-06-24 16:20:15 +02:00
Goetz Lindenmaier
8e7c8f1d88
8044775: Improve usage of umbrella header atomic.inline.hpp
...
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Dmitry Samersoff
c291efb1df
6904403: assert(f == k->has_finalizer(),"inconsistent has_finalizer") with debug VM
...
Don't assert if one of classes in hierarhy was redefined
Reviewed-by: coleenp, sspitsyn
2014-05-28 07:36:32 -07:00
Coleen Phillimore
ead7a2760b
8042727: nsk/jdb/unwatch/unwatch001 crash in InstanceKlass::methods_do(void (*)(Method*))
...
Only walk methods in instanceklass if the class is loaded
Reviewed-by: dholmes, fparain
2014-05-21 14:36:18 -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
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
Lois Foltan
8c36d0cd2b
8033150: invokestatic: IncompatibleClassChangeError trying to invoke static method from a parent in presence of conflicting defaults
...
A static method should be preferred during method resolution over an overpass, search the current class as well as its superclasses.
Reviewed-by: acorn, coleenp, kamg
2014-04-14 14:27:45 -04:00
Peter Allwin
b12896283b
Merge
2014-04-11 13:04:59 +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
Roland Westrelin
7da7a9c72a
8038636: speculative traps break when classes are redefined
...
Remove speculative traps that point to methods that are redefined
Reviewed-by: kvn, twisti
2014-04-08 09:51:25 +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
Morris Meyer
c696dd6700
Merge
2014-02-28 08:02:20 -08:00
Erik Helin
000c4d9734
Merge
2014-02-28 14:56:04 +01:00
Stefan Karlsson
ba2326e19f
8035648: Don't use Handle in java_lang_String::print
...
Reviewed-by: coleenp, pliden
2014-02-27 10:34:55 +01:00
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00