Ioi Lam
9d5b85daf4
8178350: klassVtable and klassItable should be ValueObj
...
Reviewed-by: coleenp
2017-04-13 01:56:01 -07:00
Coleen Phillimore
4b9562288f
8155672: Remove instanceKlassHandles and KlassHandles
...
Use unhandled pointers for Klass and InstanceKlass, remove handles with no implementation.
Reviewed-by: dholmes, lfoltan, vlivanov, sspitsyn
2017-03-15 10:25:37 -04:00
Bharadwaj Yadavalli
2841c5eb2b
8171008: Integrate AOT compiler into JDK
...
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Coleen Phillimore
85381e59e5
8145964: NoClassDefFound error in transforming lambdas
...
Skip VM anonymous classes in retransformation and give an error for redefinition.
Reviewed-by: dholmes, dcubed, never
2016-08-19 14:54:31 -04:00
Coleen Phillimore
178842d251
8155951: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
...
8151066: assert(0 <= i && i < length()) failed: index out of bounds
Lock classes for redefinition because constant pool merging isn't thread safe, use method constant pool because constant pool merging doesn't make equivalent cpCaches because of invokedynamic
Reviewed-by: sspitsyn, dholmes
2016-05-17 08:51:05 -04:00
Robbin Ehn
2523b1942a
8153535: Convert TraceRedefineClasses to Unified Logging
...
Reviewed-by: rprotacio, coleenp
2016-05-09 22:22:15 +02:00
Bharadwaj Yadavalli
d61df5babe
Merge
2016-04-19 15:26:59 -04:00
Coleen Phillimore
8e63a10779
8148772: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
...
8151546: nsk/jvmti/RedefineClasses/StressRedefine fails in hs nightly
ConstantPool::resolve_constant_at_impl() isn't thread safe for MethodHandleInError and MethodTypeInError and Constant pool merging is not thread safe for source_file_name.
Reviewed-by: sspitsyn, dcubed
2016-04-13 12:57:31 -04:00
Bharadwaj Yadavalli
b2ead5ac2d
Merge
2016-04-12 14:17:42 -04:00
Filipp Zhinkin
6b6686bd43
8149374: Replace C1-specific collection classes with universal collection classes
...
Reviewed-by: kvn, mgerdin, coleenp
2016-04-06 18:51:03 +03:00
Joseph Provino
5cef85023b
8132524: Missing includes to resourceArea.hpp
...
Files that use ResourceMark are missing the include of resourceArea.hpp
Reviewed-by: tschatzl, jwilhelm
2016-04-04 12:57:48 -04:00
Andreas Eriksson
35a916a2a1
8149743: JVM crash after debugger hotswap with lambdas
...
Reviewed-by: sspitsyn, coleenp, dcubed
2016-02-18 16:15:28 +01:00
David Lindholm
ad0c208a5a
8146690: Make all classes in GC follow the naming convention
...
Reviewed-by: dholmes, stefank
2016-01-14 13:26:19 +01:00
Markus Grönlund
2ad9d3192f
8140485: Class load and creation cleanup
...
Reviewed-by: hseigel, coleenp, sspitsyn
2015-12-08 20:04:03 +01:00
Coleen Phillimore
b046110ab7
Merge
2015-10-28 15:03:40 +01:00
Coleen Phillimore
fc03719078
8139203: Consistent naming for klass type predicates
...
8138923: Remove oop coupling with InstanceKlass subclasses
Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.
Reviewed-by: jrose, lfoltan, stefank
2015-10-28 09:47:23 -04:00
Coleen Phillimore
5179fc3488
8139163: InstanceKlass::cast passes through NULL
...
Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null
Reviewed-by: twisti, kbarrett
2015-10-26 13:11:36 -04:00
Coleen Phillimore
ed82cd0ee8
Merge
2015-10-23 23:06:53 +02:00
Coleen Phillimore
f1e89ea4cc
8140274: methodHandles and constantPoolHandles should be passed as const references
...
Modified code to use const reference parameters
Reviewed-by: sspitsyn, twisti
2015-10-23 16:48:38 -04:00
Goetz Lindenmaier
83b3b21342
8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
...
Reviewed-by: stuefe, coleenp, roland
2015-10-22 13:07:10 -04:00
Chris Hegarty
ca4787d77b
8139891: Prepare Unsafe for true encapsulation
...
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:18:56 +00:00
Goetz Lindenmaier
4aad17f807
8139116: Fixes for warning "format not a string literal"
...
Reviewed-by: ddmitriev, david, simonis
2015-10-09 16:39:37 +02:00
David Lindholm
5770f4eb32
8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
...
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
Tobias Hartmann
72e8f28d56
8075805: Crash while trying to release CompiledICHolder
...
Removed nmethod transition to zombie outside of sweeper. Added cleaning of ICs of unloaded nmethods.
Reviewed-by: kvn, iveresov
2015-08-25 07:49:55 +02:00
Andreas Eriksson
606468abc4
8076110: VM crash when class is redefined with Instrumentation.redefineClasses
...
Reviewed-by: coleenp, sspitsyn
2015-06-16 15:59:57 +02:00
Coleen Phillimore
d97fc17132
8081219: hs_err improvement: Add event logging for class redefinition to the hs_err file
...
Use the Events::log function to save redefined classes for output to the hs_err file.
Reviewed-by: sspitsyn, jiangli, lfoltan
2015-06-04 08:05:47 -04:00
Jesper Wilhelmsson
25c41c6094
Merge
2015-05-21 21:17:56 +02:00
Serguei Spitsyn
99f8091782
8079644: memory stomping error with ResourceManagement and TestAgentStress.java
...
The cached class file structure must be deallocated instead of the cached class file bytes
Reviewed-by: coleenp, sla
2015-05-18 16:42:46 -07:00
Serguei Spitsyn
f7c143cbb2
8073705: more performance issues in class redefinition
...
Optimize the method pointer adjustments for prev klass versions and MNT
Reviewed-by: dcubed, coleenp
2015-04-27 19:51:00 -07:00
Serguei Spitsyn
89256b01cb
8066679: jvmtiRedefineClasses.cpp assert cache ptrs must match
...
Remove the assert and deallocate cashed class file bytes that are in collision
Reviewed-by: coleenp, dcubed
2015-04-07 20:18:28 -07:00
Zoltan Majo
379e3d6fb6
Merge
2015-03-19 18:01:39 +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
Goetz Lindenmaier
a7edf52a02
8073315: Enable gcc -Wtype-limits and fix upcoming issues
...
Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp.
Reviewed-by: jwilhelm, kbarrett, simonis
2015-02-16 14:07:36 +01:00
Stefan Karlsson
4913ad5d7d
8072911: Remove includes of oop.inline.hpp from .hpp files
...
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Serguei Spitsyn
4326ee324a
8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
...
Adjust Unsafe methods in the itable/vtable if Unsafe is redefined
Reviewed-by: coleenp, dcubed
2015-01-26 15:51:28 -08: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
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
Andreas Eriksson
ea48bceb5e
8057043: Type annotations not retained during class redefine / retransform
...
Reviewed-by: coleenp, sspitsyn, jfranck
2014-10-22 13:59:56 +02: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
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
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
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Roland Westrelin
bff5f5c875
8030662: "assert(counter_changed) failed: failed dependencies, but counter didn't change" still fails
...
Erroneously removed call to SystemDictionary::notice_modification() from jvmti with fix for 8029383
Reviewed-by: iveresov, twisti, kvn
2014-01-14 12:44:12 +01:00
Roland Westrelin
bbb97e5b39
8029383: assert(counter_changed) failed: failed dependencies, but counter didn't change
...
No call to SystemDictionary::notice_modification() when class is defined through Unsafe.defineAnonymousClass() can caused missed dependency change.
Reviewed-by: kvn, twisti
2013-12-13 09:25:44 +01: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
Coleen Phillimore
b08778e139
8025238: nsk/jvmti/scenarios/bcinstr/BI04/bi04t002 crashed with SIGSEGV
...
Redefined class in stack trace may not be found by method_idnum so handle null.
Reviewed-by: sla, dcubed, sspitsyn
2013-10-03 18:53:27 -04:00
Daniel D. Daugherty
156b06d897
Merge
2013-09-20 12:58:35 -07:00
Coleen Phillimore
ec5e07f810
8022887: Assertion hit while using class and redefining it with RedefineClasses simultaneously
...
Need to refetch each method from InstanceKlass after all safepoints. Removed leaky PreviousVersionInfo code.
Reviewed-by: dcubed, sspitsyn
2013-09-20 09:30:02 -04:00
Niclas Adlertz
afef481831
Merge
2013-09-19 18:01:39 +02:00