Harold Seigel
a1e9328367
8235225: Replace CHECK_0 with CHECK_NULL for non-integer returning methods
...
Change CHECK_0 to CHECK_NULL and CHECK_false where appropriate
Reviewed-by: mikael, dholmes, coleenp
2020-02-27 13:00:05 +00:00
Harold Seigel
7fc58a1020
8235678: Remove unnecessary calls to Thread::current() in MutexLocker calls
...
Add THREAD argument when available and make Thread* the first argument to relevant MutexLocker and MonitorLocker constructors
Reviewed-by: lfoltan, coleenp, dholmes
2020-01-16 13:48:23 +00:00
Ioi Lam
5678f98a9e
8231610: Relocate the CDS archive if it cannot be mapped to the requested address
...
Reviewed-by: jiangli, coleenp, ccheung
2019-11-13 16:36:54 -08:00
Ioi Lam
5a120f0967
8232071: Avoid shared dictionary lookup when the class name is not shared
...
Reviewed-by: jiangli, ccheung
2019-10-10 10:48:31 -07:00
Claes Redestad
fe8c0edee0
8231993: Remove redundant pkg_str param from is_shared_class_visible_for_classloader
...
Reviewed-by: hseigel, coleenp
2019-10-08 15:48:36 +02:00
Calvin Cheung
b08a8c5cc3
8231606: _method_ordering is not set during CDS dynamic dump time
...
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.
Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Ioi Lam
988ac4fec0
8230586: Encapsulate fields in filemap.hpp
...
Reviewed-by: ccheung
2019-09-11 18:31:25 -07:00
Leo Korinth
4b6f9ed07f
8230398: Remove NULL checks before FREE_C_HEAP_ARRAY
...
Reviewed-by: dholmes, kbarrett, tschatzl
2019-09-11 14:16:30 +02:00
Calvin Cheung
72dc5721e0
8207812: Implement Dynamic CDS Archive
...
Improve the usability of AppCDS
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00
Coleen Phillimore
77d60eff6a
8223626: move print() functions to cpp files
...
Improve debugging experience
Reviewed-by: dholmes, dlong
2019-05-10 09:05:29 -04:00
Stefan Karlsson
c90f3ee68b
8223624: Cleanup includes of universe.hpp
...
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02: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
Jiangli Zhou
e0aa3e0609
8214827: Incorrect call ClassLoaders.toFileURL("jrt:/java.compiler")
...
Use URL constructor for jrt URL in SystemDictionaryShared::get_shared_protection_domain().
Reviewed-by: ccheung, iklam, dholmes, coleenp
2019-01-10 13:03:34 -05:00
Ioi Lam
147fc3ed13
8213346: Re-implement shared dictionary using CompactHashtable
...
Reviewed-by: jiangli
2018-11-07 19:40:27 -08:00
Ioi Lam
b84cf61b08
8213250: CDS archive creation aborts due to metaspace object allocation failure
...
Reviewed-by: jiangli, ccheung
2018-11-01 10:59:05 -07:00
Ioi Lam
6c59cb232f
8210875: Refactor CompactHashtable
...
Reviewed-by: ccheung, jiangli
2018-09-18 21:47:14 -07: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
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
Goetz Lindenmaier
8a9b0134a8
8206977: Minor improvements of runtime code
...
Reviewed-by: coleenp, lfoltan
2018-07-11 16:11:10 +02:00
Roman Kennke
482e40cc8c
8198285: More consistent Access API for arraycopy
...
Reviewed-by: eosterlund, shade
2018-06-04 23:01:48 +02:00
Ioi Lam
5f578213c5
8189140: SystemDictionaryShared::initialize() should be renamed to be more meaningful
...
Removed this function, added JavaCalls::construct_new_instance and moved SharedDictionary_lock
Reviewed-by: jiangli, ccheung, dholmes, coleenp
2018-05-15 14:49:10 -07:00
Ioi Lam
e48f38966b
8197954: Remove unnecessary intermediary APIs from AppCDS implementation
...
Reviewed-by: jiangli, ccheung
2018-04-26 13:40:58 -07:00
Jiangli Zhou
20edc74068
8193213: Make the UseAppCDS option obsolete
...
8182731: Odd handling of -XX:-UseAppCDS and -XX:SharedArchiveFile
Application class data sharing is enabled without -XX:+UseAppCDS. SharedArchiveFile is now a product flag.
Reviewed-by: dholmes, ihse, erikj, ccheung
2018-04-30 16:59:05 -04:00
Coleen Phillimore
ddfd4c33c6
8201556: Disallow reading oops in ClassLoaderData if unloading
...
Move class_loader oop to an OopHandle, and assert that holder is alive when getting class_loader.
Reviewed-by: kbarrett, adinn
2018-04-18 18:43:04 -04:00
Calvin Cheung
4ef7c919a2
8194812: Extend class-data sharing to support the module path
...
8199360: Rework the support for the 'ignored' module options in CDS
Reviewed-by: jiangli, lfoltan, iklam, mseledtsov
2018-04-10 11:43:40 -07: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
4c3e072611
8198926: Move ClassLoaderData::_dependencies to ClassLoaderData::_handles
...
Move dependency creation and cleaned up logging
Reviewed-by: hseigel, jiangli
2018-03-06 17:15:16 -05:00
Erik Österlund
432a71e564
8198286: Direct memory accessors in typeArrayOop.hpp should use Access API
...
Reviewed-by: pliden, rkennke
2018-02-22 10:39:42 +01:00
Jiangli Zhou
61e736cbae
8188791: Move AppCDS from closed repo to open repo
...
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: dsamersoff, simonis, minqi
2017-11-27 20:21:34 -08:00