Claes Redestad
88d28a2bf9
8232050: Improve inlining of Klass accessors
...
Reviewed-by: lfoltan, tschatzl, coleenp, dholmes, jiangli
2019-10-10 13:26:22 +02:00
Vladimir Ivanov
829c81bbf9
8225141: Better handling of classes in error state in fast class initialization checks
...
Reviewed-by: dlong, dholmes
2019-06-06 13:46:03 +03:00
Ioi Lam
22484b8c35
8221698: Remove redundant includes from popular header files
...
Removed histogram.hpp classLoader.hpp utf8.hpp moduleEntry.hpp packageEntry.hpp
Reviewed-by: coleenp, stuefe
2019-03-30 08:26:20 -07:00
Coleen Phillimore
351280bbb8
8078725: method adjustments can be done just once for all classes involved into redefinition
...
Walk all classes at the end of redefinition and adjust method entries and clean MethodData
Reviewed-by: sspitsyn
2019-02-22 13:56:08 -05:00
Ioi Lam
d06f3e7e28
8218751: Do not store original classfiles inside the CDS archive
...
Remove the OD shared region and decode classfiles on the fly
Reviewed-by: jiangli, ccheung, sspitsyn, redestad
2019-02-21 17:07:35 -08:00
Coleen Phillimore
154a1a02bf
8216167: Update include guards to reflect correct directories
...
Use script and some manual fixup to fix directores names in include guards.
Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Jesper Wilhelmsson
67a5fc2529
Merge
2019-01-09 22:59:49 +01:00
Coleen Phillimore
cab9667f41
8215575: C2 crash: assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
...
Set InstanceKlass::loaded before adding classes to the subklass list, which can be read concurrently by the compiler.
Reviewed-by: dholmes, eosterlund
2019-01-09 07:52:45 -05:00
Claes Redestad
13fcbf9d8f
8216189: Remove Klass::compute_is_subtype_of
...
Reviewed-by: hseigel, jiangli
2019-01-05 20:08:24 +01:00
Coleen Phillimore
1509c1ffe1
8215731: Move forward class definitions out of globalDefinitions.hpp
...
Redistribute the forward declarations to the header files that need them.
Reviewed-by: dholmes, lfoltan
2019-01-04 15:06:01 -05:00
Coleen Phillimore
3d0faa649c
8214972: Uses of klass_holder() except GC need to apply GC barriers
...
Fix klass_holder() and make all callers use it, remove holder_phantom().
Reviewed-by: eosterlund, dlong
2018-12-07 14:48:35 -05:00
Erik Österlund
50ffeaa507
8213209: [REDO] Allow Klass::_subklass and _next_sibling to have unloaded classes
...
Reviewed-by: coleenp, dlong
2018-11-30 15:29:19 +01:00
Erik Österlund
3a5bccf5c6
8213565: Crash in DependencyContext::remove_dependent_nmethod
...
Reviewed-by: rehn, kvn
2018-11-30 11:40:48 +01:00
Leo Korinth
d75f70d91c
8212595: Remove unused size_helper() in oop_oop_iterate* in instanceKlass.inline.hpp
...
Reviewed-by: shade, pliden
2018-10-18 11:23:54 +02:00
Leo Korinth
e898052f3b
8211447: Replace oop_pc_update_pointers with oop_iterate and closure
...
Reviewed-by: sjohanss, tschatzl
2018-10-12 12:14:01 +02:00
Leo Korinth
78fe66c3bb
8211446: Replace oop_pc_follow_contents with oop_iterate and closure
...
Reviewed-by: sjohanss, tschatzl
2018-10-12 12:13:06 +02:00
Leo Korinth
4bc903d17a
8201436: Replace oop_ps_push_contents with oop_iterate and closure
...
Reviewed-by: sjohanss, tschatzl
2018-10-12 12:10:34 +02:00
Harold Seigel
945623c998
8079784: Unexpected IllegalAccessError when trying access InnerClasses attribute
...
Prevent classes in the InnerClasses attribute from being loaded unless they are actually being accessed.
Reviewed-by: dholmes, lfoltan
2018-10-11 10:11:18 -04:00
Jiangli Zhou
061c4d7a81
8210926: vmTestbase/nsk/jvmti/scenarios/allocation/AP11/ap11t001/TestDescription.java failed with JVMTI_ERROR_INVALID_CLASS in CDS mode
...
Reset InstanceKlass _init_state to 'allocated' before writing out shared classes at dump time.
Reviewed-by: dholmes, coleenp
2018-10-01 00:52:37 -04:00
Coleen Phillimore
06a1ea846a
8210856: Move InstanceKlass DependencyContext cleaning to SystemDictionary::do_unloading()
...
Already walk classes in ClassLoaderData::unload so generalize to also clean nmethod dependencies.
Reviewed-by: eosterlund, dlong, vlivanov
2018-09-26 14:01:48 -04:00
Harold Seigel
18bbeb53e6
8210470: Remove unused Verifier::verify() Verifier::Mode argument
...
Remove the unused argument.
Reviewed-by: coleenp, jiangli
2018-09-11 09:53:41 -04:00
Lois Foltan
75ed173e15
8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
...
Clean up VM anonymous class terminology.
Reviewed-by: coleenp, dholmes, mchung
2018-08-20 08:25:57 -04:00
Coleen Phillimore
d1aea148fe
8207924: serviceability/sa/TestUniverse.java#id0 intermittently fails with assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
...
InstanceKlass::implementors() needs the Compile_lock
Reviewed-by: thartmann, eosterlund
2018-08-11 12:49:33 -04:00
Coleen Phillimore
a7b66f6f5e
8208677: Move inner metaspace cleaning out of class unloading
...
Move to safepoint cleanup actions to do if needed.
Reviewed-by: eosterlund, hseigel
2018-08-08 15:24:21 -04:00
Ioi Lam
1b2e7cbaef
8208999: Some use of Klass* should be replaced by InstanceKlass*
...
Klass::java_super() => InstanceKlass*; InstanceKlass::{local,transitive}_interfaces() => Array<InstanceKlass*>*
Reviewed-by: coleenp, hseigel
2018-08-07 15:45:07 -07:00
Stefan Karlsson
11813888b8
8204540: Automatic oop closure devirtualization
...
Reviewed-by: kbarrett, eosterlund
2018-05-26 06:59:49 +02:00
Tom Rodriguez
0173db08e9
8198909: [Graal] compiler/codecache/stress/UnexpectedDeoptimizationTest.java crashed with SIGSEGV
...
Reviewed-by: eosterlund, iveresov
2018-06-24 21:46:11 -07:00
David Holmes
95bf19563b
8010319: Implementation of JEP 181: Nest-Based Access Control
...
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Lois Foltan
425e1a8bb8
8202605: Standardize on ClassLoaderData::loader_name() throughout the VM to obtain a class loader's name
...
Introduced ClassLoaderData::name() and ClassLoaderData::name_and_id() for use when obtaining a class loader's name.
Reviewed-by: coleenp, goetz, mchung, stuefe
2018-06-19 07:54:11 -04:00
Ioi Lam
f9742fc0a6
8193332: MetaspaceShared::check_shared_class_loader_type is not used during archive creation
...
Reviewed-by: lfoltan, jiangli
2018-05-21 21:27:12 -07:00
Erik Gahlin
a060be188d
8199712: Flight Recorder
...
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Stefan Karlsson
1cb95bd3d1
8200729: Conditional compilation of GCs
...
Reviewed-by: ehelin, coleenp, kvn, ihse
2018-05-04 11:41:35 +02:00
Coleen Phillimore
204ba9a580
8202447: Fix unloading_occurred to mean unloading_occurred
...
Nmethod unloading does not need to test for jvmti to set unloading_occurred, nor do we need to clean weak Klasses in metadata if unloading does not occur.
Reviewed-by: sspitsyn, rehn
2018-04-27 15:00:04 -04:00
Calvin Cheung
aedb6040c6
8200466: Revisit the setting of _transitive_interfaces in InstanceKlass
...
Delay the setting of _transitive_interfaces until after initialize_supers() in fill_instance_klass().
Reviewed-by: iklam, coleenp
2018-05-02 09:26:10 -07:00
Coleen Phillimore
c215aa5889
8201537: Remove is_alive closure from Klass::is_loader_alive()
...
Remove is_alive closure from callers of Klass::is_loader_alive so that cleaning metadata doesn't require GC closure.
Reviewed-by: adinn, stefank
2018-04-18 13:37:39 -04:00
Coleen Phillimore
d187884156
8198313: Wrap holder object for ClassLoaderData in a WeakHandle
...
Use WeakHandle for ClassLoaderData::_holder so that is_alive closure is not needed
Reviewed-by: rehn, kbarrett
2018-04-10 10:06:42 -04:00
Harold Seigel
b89ae10df2
8200261: Regression with JVM anonymous class
...
Restore resolved anonymous class when creating a new constantpool because of overpass methods
Reviewed-by: coleenp, lfoltan
2018-04-05 13:19:25 -04:00
Roman Kennke
d4d5ea316b
8199739: Use HeapAccess when loading oops from static fields in javaClasses.cpp
...
Reviewed-by: kbarrett, eosterlund
2018-03-21 16:00:41 +01:00
Volker Simonis
97cfb7bbb7
8199472: Fix non-PCH build after JDK-8199319
...
Reviewed-by: stefank, coleenp
2018-03-14 12:12:00 +01:00
Coleen Phillimore
7557d78b35
8173070: Remove ValueObj class for allocation subclassing for runtime code
...
Reviewed-by: stefank, tschatzl, stuefe
2018-03-09 10:46:02 -05:00
Zhengyu Gu
934390b571
8196923: [REDO] NMT: Report array class count in NMT summary
...
Added instance and array class counters in NMT summary report
Reviewed-by: minqi, stuefe, coleenp
2018-02-08 13:21:22 -05:00
Jesper Wilhelmsson
dd416bbf33
8196924: [BACKOUT] NMT: Report array class count in NMT summary
...
Reviewed-by: dholmes
2018-02-07 03:43:29 +01:00
Zhengyu Gu
41ace19206
8193184: NMT: Report array class count in NMT summary
...
Report array class and instance class count in NMT summary report
Reviewed-by: coleenp, minqi
2018-02-06 08:24:36 -05:00
Jesper Wilhelmsson
fc1b01b9a2
Merge
2018-01-13 02:56:22 +01:00
Erik Österlund
8f739404a7
8191567: Refactor ciInstanceKlass G1 keep alive barrier to use Access API
...
Reviewed-by: dholmes, rkennke, tschatzl
2018-01-08 13:22:05 +01:00
Dean Long
e7270b8965
8132547: [AOT] support invokedynamic instructions
...
Reviewed-by: iveresov, kvn
2017-10-19 19:23:48 -07:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Harold Seigel
dd5b1ee367
8175932: Improve host instance supports
...
Reviewed-by: coleenp, mschoene
2017-03-20 13:05:00 -04:00