Coleen Phillimore
6659245612
8174749: Use hash table/oops for MemberName table
...
Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc
Reviewed-by: sspitsyn, stefank, jrose
2017-05-27 09:21:01 -04:00
Rachel Protacio
eb6d311b66
8154791: Xlog classload too redundant msgs info/debug
...
Removed redundant information from class+load UL messages, ensured side-by-side printing of different levels for same class, cleaned up code
Reviewed-by: iklam, dholmes
2017-05-08 09:45:24 -04:00
Ioi Lam
ba388eaccd
8176863: Remove Hashtable::reverse()
...
Reviewed-by: hseigel, sspitsyn, coleenp
2017-05-04 16:04:23 -07:00
Rachel Protacio
ca72444bf9
8176472: Lazily create ModuleEntryTable
...
Moved the unnamed module out of the ModuleEntryTable and into the ClassLoaderData so that the MET can be lazily created only when other modules are present. Also a smaller PackageTable size.
Reviewed-by: gtriantafill, hseigel, lfoltan, coleenp
2017-04-18 13:19:42 -04:00
Coleen Phillimore
c52443f75b
8026985: Rewrite SystemDictionary::classes_do and Dictionary::classes_do to use KlassClosure
...
Actually remove unused functions like classes_do and methods_do.
Reviewed-by: iveresov, sspitsyn, dholmes
2017-04-12 08:02:29 -04: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
Coleen Phillimore
35e8433c1c
Merge
2017-03-14 14:07:24 -04:00
Ioi Lam
f5777dc9bd
8005165: Remove CPU-dependent code in self-patching vtables
...
Reviewed-by: coleenp, stuefe, jiangli
2017-03-03 23:08:35 -08:00
Volker Simonis
236b9ba942
8173743: Failures during class definition can lead to memory leaks in metaspace
...
Reviewed-by: dholmes, coleenp, acorn, ddmitriev
2017-02-10 17:22:17 +01:00
Coleen Phillimore
0b3bc5c4f0
8169881: Remove implicit Handle conversions oop->Handle
...
Pass THREAD to Handle as argument instead of implicit Thread::current() call.
Reviewed-by: dholmes, sspitsyn
2017-02-15 22:59:57 -05:00
Jiangli Zhou
bae7bbd382
8168797: do not load any archived classes from a patched module
...
Add new runtime shared class visibility check to ensure shared classes from patched module are not loaded at runtime.
Reviewed-by: acorn, ccheung, hseigel, iklam, lfoltan
2016-12-19 13:54:33 -05: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
Markus Grönlund
6a685f1d63
8170672: Event-based tracing to support classloader instances
...
Reviewed-by: hseigel, egahlin
2016-12-06 22:49:17 +01:00
Rachel Protacio
3f2be39bb3
8165550: Add class loader names to ClassCastException message
...
Adds new format of class loader names to VM ClassCastException messages
Reviewed-by: dholmes, mchung, lfoltan
2016-11-17 16:28:45 -05:00
Paul Sandoz
a1289cce5b
8166974: invokedynamic implementation should not wrap Errors
...
Reviewed-by: dholmes, jrose
2016-10-14 14:47:01 -07:00
Jiangli Zhou
4d9fc9541d
8167333: Invalid source path info might be used when creating ClassFileStream after CFLH transforms a shared classes in some cases
...
Use NULL as 'source' when there is no valid source path info.
Reviewed-by: iklam, dholmes, dsamersoff
2016-10-10 20:50:33 -04:00
Jiangli Zhou
eb52950704
8078644: CDS needs to support JVMTI CFLH
...
Support posting CLFH for shared classes. Tests are contributed by Misha Seledtsov.
Reviewed-by: iklam, coleenp, acorn, dcubed, sspitsyn
2016-09-18 21:10:48 -04:00
Harold Seigel
e8e6415b7a
8058575: IllegalAccessError trying to access package-private class from VM anonymous class
...
Put anonymous classes in unnamed package into host class's package. Throw exception if host class's package differs from anonymous class.
Reviewed-by: coleenp, acorn
2016-09-07 07:19:48 -04:00
Erik Gahlin
c98e599afa
8164523: Clean up metadata for event based tracing
...
Reviewed-by: mlarsson, mgronlun
2016-08-23 19:21:48 +02:00
Karen Kinnear
9c928767ba
8162340: Better class stream parsing
...
Check platform and boot loader for java/* packages
Reviewed-by: lfoltan, coleenp, dholmes
2016-07-27 08:31:48 -04:00
Lois Foltan
64f4953141
8154239: -Xbootclasspath/a breaks exploded build
...
Correct exploded modules build system class path search for the boot loader
Reviewed-by: acorn, ccheung, hseigel, jiangli
2016-07-26 10:29:27 -04:00
Max Ockner
4945fbd459
8038332: The trace event vm/class/load is not always being sent
...
Added trace event vm/class/define
Reviewed-by: coleenp, egahlin, acorn
2016-07-25 09:40:31 -04:00
Jiangli Zhou
6ed3f07f48
8141341: CDS should be disabled if JvmtiExport::should_post_class_file_load_hook() is true
...
Disable loading shared class if JvmtiExport::should_post_class_file_load_hook is true.
Reviewed-by: iklam, acorn, sspitsyn
2016-07-19 13:52:14 -04:00
Lois Foltan
92eb334c91
8159262: Walking PackageEntry Export and ModuleEntry Reads Must Occur Only When Neccessary And Wait Until ClassLoader's Aliveness Determined
...
Fixed an issue in class unloading to delay walk until class loader's aliveness is determined of modularity lists to remove dead modules
Reviewed-by: coleenp, dholmes, sspitsyn, zgu
2016-06-28 10:11:01 -04:00
Rachel Protacio
e956abefe6
8153858: Clean up needed when obtaining the package name from a fully qualified class name
...
Consolidated and refactored code parsing fully qualified names. Includes gtest.
Reviewed-by: dholmes, coleenp
2016-06-07 11:39:47 -04:00
Ioi Lam
e5e41a2375
8145247: incorrect comment in SystemDictionary::load_shared_class
...
Reviewed-by: jiangli, ccheung, gtriantafill
2016-05-27 05:49:24 -07:00
Goetz Lindenmaier
1e4b00b1dc
8140594: Various minor code improvements (compiler)
...
Various minor code improvements (compiler)
Reviewed-by: thartmann, kvn
2016-05-03 12:23:06 +02:00
Max Ockner
da0fe9d476
8154110: Update class* and safepoint* logging subsystems
...
Refactored logging tags in class and safepoint subsystems.
Reviewed-by: coleenp, rehn, hseigel
2016-04-29 22:40:51 -04:00
Bharadwaj Yadavalli
cecf2d83d5
Merge
2016-04-08 12:36:27 -04:00
Daniel D. Daugherty
4397e85e26
Merge
2016-04-07 09:47:48 -07: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
Christian Thalinger
879c8b43c6
8144964: JVMCI compilations need to be disabled until the module system is initialized
...
Reviewed-by: kvn
2016-03-31 15:52:07 -10:00
Zoltan Majo
720f99dec9
Merge
2016-03-24 16:21:18 +01:00
Paul Sandoz
ab69113c5e
8149644: Integrate VarHandles
...
Reviewed-by: kvn, vlivanov
2016-03-24 11:21:49 +01:00
Stefan Karlsson
15c4140ae5
8152632: Rename LogHandle(...) to Log(...)
...
Reviewed-by: brutisso, mlarsson, rprotacio
2016-04-04 09:15:15 +02:00
Jesper Wilhelmsson
b7ca1e57ee
Merge
2016-03-23 23:36:29 +01:00
Markus Grönlund
a3b37b6372
8152119: Event-based tracing to allow for tracing Klass definition
...
Reviewed-by: dholmes, egahlin
2016-03-23 10:31:46 +01:00
Alan Bateman
f30fc1c88b
8142968: Module System implementation
...
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Max Ockner
5a873632f3
8149064: TraceProtectionDomainVerification has been converted to Unified Logging
...
TraceProtectionDomainVerification has been converted to Unified Logging with tag protectiondomain.
Reviewed-by: coleenp, iklam
2016-02-29 16:58:09 -05:00
Max Ockner
ce74c2fa3c
Merge
2016-02-03 18:16:54 +01:00
Max Ockner
9cab990401
8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging
...
TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
2016-02-03 11:40:30 -05:00
Tobias Hartmann
832443d3b0
Merge
2016-01-28 09:49:17 +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
Kim Barrett
c3808b2091
8143847: Remove REF_CLEANER reference category
...
Remove REF_CLEANER.
Reviewed-by: jwilhelm, mchung, tbenson
2015-12-28 13:59:20 -05:00
Vladimir Ivanov
7adcd9a503
8140659: C1: invokedynamic call patching violates JVMS-6.5.invokedynamic
...
Reviewed-by: roland
2015-12-18 20:23:27 +03:00
Markus Grönlund
2ad9d3192f
8140485: Class load and creation cleanup
...
Reviewed-by: hseigel, coleenp, sspitsyn
2015-12-08 20:04:03 +01:00
Jesper Wilhelmsson
c7a51854d9
Merge
2015-11-30 19:38:51 +01:00
Tatiana Pivovarova
3cc0f3b570
8067939: make Out of space in CodeCache messages consistent
...
Reviewed-by: kvn
2015-11-24 15:50:27 +03: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