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
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
Stefan Karlsson
367f9ea984
8201244: Clean out unnecessary includes of heap headers
...
Reviewed-by: coleenp, shade
2018-04-10 12:21:05 +02:00
Roman Kennke
389d720746
8199735: Mark word updates need to use Access API
...
Reviewed-by: shade, eosterlund
2018-04-05 10:54:53 +02:00
Harold Seigel
ffc0b90a4e
8198908: Add JVM support for preview features
...
Add new major and minor version checks
Reviewed-by: dholmes, lfoltan
2018-04-06 09:59:48 -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
b938ae51ce
8199781: Don't use naked == for comparing oops
...
Reviewed-by: coleenp, eosterlund, jrose
2018-04-03 13:15:27 +02:00
Claes Redestad
243b2364f6
8200238: Reduce number of exceptions created when calling MemberName$Factory::resolveOrNull
...
Reviewed-by: lfoltan, acorn, dholmes
2018-03-29 10:38:29 +02:00
Coleen Phillimore
b541d9ad77
8200276: Cleanup allocation.hpp includes
...
Reviewed-by: stefank, hseigel
2018-03-27 11:53:23 -04:00
Jiangli Zhou
7804f9b1e2
8200202: Remove unused _boot_modules_array and _platform_modules_array from classLoader.*
...
Remove unused _boot_modules_array and _platform_modules_array.
Reviewed-by: coleenp
2018-03-26 19:00:47 -04:00
Coleen Phillimore
f8ee0063b1
8199007: ClassLoaderDataGraph::unload_list_contains() is wrong
...
The function isn't needed any longer.
Reviewed-by: stuefe, stefank
2018-03-26 10:19:31 -04:00
Stefan Karlsson
1a1aecd166
8200106: Move NoSafepointVerifier out from gcLocker.hpp
...
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Stefan Karlsson
7595845e9a
8200105: Remove cyclic dependency between oop.inline.hpp and collectedHeap.inline.hpp
...
Reviewed-by: coleenp, kbarrett
2018-03-15 21:29:36 +01:00
Stefan Karlsson
f89abe4589
8199946: Move load/store and encode/decode out of oopDesc
...
Reviewed-by: eosterlund, coleenp, tschatzl
2018-03-15 21:24:10 +01:00
Coleen Phillimore
221d0f4c54
8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files
...
Remove frame.inline.hpp,etc from header files and adjust transitive includes.
Reviewed-by: stefank, stuefe
2018-03-21 19:45:24 -04:00
Coleen Phillimore
b15a3ff611
8197844: JVMTI GetLoadedClasses should use the Access API
...
Make sure the holder of a class loader is accessed during iteration of CLDG
Reviewed-by: eosterlund, rkennke
2018-03-21 17:09:34 -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
Coleen Phillimore
fde89a34d0
8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
...
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files
Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Coleen Phillimore
29cb168550
8199272: Broken assertion in ClassLoaderData::remove_handle
...
Added new ClassLoaderData::ChunkList::contains(oop*) function for OopHandle rather than oop.
Reviewed-by: stefank, hseigel
2018-03-15 07:40:00 -04:00
Thomas Stuefe
c18227978e
8199431: Split up class Metaspace into a static and a non-static part
...
Reviewed-by: coleenp, adinn, zgu
2018-03-15 07:15:39 +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
Paul Sandoz
4954362d29
8199342: The constant pool forgets it has a Dynamic entry if there are overpass methods
...
Reviewed-by: lfoltan, acorn
2018-03-08 14:33:57 -08: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
Stefan Karlsson
d42acfd37b
8199319: Remove handles.inline.hpp include from reflectionUtils.hpp
...
Reviewed-by: hseigel, dholmes
2018-03-08 19:10:25 +01:00
Stefan Karlsson
b9f2f3e199
8199275: Fix inclusions of allocation.inline.hpp
...
Reviewed-by: coleenp, kbarrett, dholmes
2018-03-08 09:56:29 +01:00
Stefan Karlsson
133faf856d
8199264: Remove universe.inline.hpp to simplify include dependencies
...
Reviewed-by: coleenp, hseigel
2018-03-07 21:57:36 +01:00
Ioi Lam
bc202d97bd
8191585: VM anonymous classes created during CDS dump time cause crash
...
Reviewed-by: hseigel, mseledtsov, ccheung
2018-03-06 22:08:30 -08:00
Coleen Phillimore
31cf80c688
8199137: StringInternSync test crashes in exit verification
...
Java_lang_String::equals(oop, oop) was buggy.
Reviewed-by: eosterlund, dholmes
2018-03-06 18:12:15 -05: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
Jiangli Zhou
54361e56a8
8198447: Remove ClassLoaderExt::check()
...
ClassLoaderExt::check() is no longer needed, remove.
Reviewed-by: lfoltan, ccheung
2018-03-05 14:24:45 -05:00
Harold Seigel
c0bc887c36
8191102: Incorrect include file use in classLoader.hpp
...
Move appropriate methods to <fiile>.inline.hpp files. Create <file>.inline.hpp files when needed.
Reviewed-by: coleenp, dholmes
2018-03-05 10:29:23 -05:00
Calvin Cheung
efcc8d2558
8193434: [GRAAL] Graal classes are not loaded with -Xshare:dump
...
Allow loading of non-boot classes during CDS dumping but only add boot classes to the archive
Reviewed-by: kvn, iklam, jiangli
2018-03-02 17:33:59 -08:00
Jiangli Zhou
f987dec395
8194759: Support caching class mirror objects
...
Support archiving mirror objects for shared classes in 'open' archive java heap region.
Reviewed-by: coleenp, iklam, mseledtsov, tschatzl
2018-03-02 17:25:55 -05:00
Kim Barrett
d7765d9002
8198474: Move JNIHandles::resolve into jniHandles.inline.hpp
...
Moved resolve and friends to new jniHandles.inline.hpp.
Reviewed-by: tschatzl, pliden, coleenp
2018-03-01 16:51:22 -05:00
Jesper Wilhelmsson
1739105160
Merge
2018-02-25 04:59:43 +01: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
Harold Seigel
7d1735efbb
8184289: Obsolete -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal options
...
Add comments, fix a small issue with the boot loader, and add an assert.
Reviewed-by: coleenp, alanb, acorn, dholmes
2018-02-21 11:18:52 -05:00
Roman Kennke
6be7841937
8197999: Accessors in typeArrayOopDesc should use new Access API
...
Reviewed-by: eosterlund, pliden
2018-02-15 23:45:15 +01:00
Jesper Wilhelmsson
aa9cf33c1e
Merge
2018-02-19 04:50:50 +01:00
Mandy Chung
4bb064c62d
8198249: Remove deprecated Runtime::runFinalizersOnExit and System::runFinalizersOnExit
...
Reviewed-by: dholmes, alanb, smarks
2018-02-23 12:10:56 -08:00
Marcus Larsson
6ef9800875
8194994: Remove redundant string streams used for logging
...
Reviewed-by: rehn, iklam, coleenp
2018-02-13 14:10:56 +01: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
Harold Seigel
34480e526e
8190235: Clarify ClassLoaderData::is_*_class_loader_data() method implementations
...
Add comments, fix a small issue with the boot loader, and add an assert.
Reviewed-by: coleenp, lfoltan, gtriantafill
2018-02-06 13:41:49 -05:00
Harold Seigel
83bb2205e8
8190359: Reduce the number of recorded klass dependencies
...
Skip recording dependencies to non-anonymous classes loaded by builtin class loaders.
Reviewed-by: iklam, coleenp, lfoltan
2018-02-02 10:37:48 -05:00
Paul Sandoz
e55a05957d
8186209: Tool support for ConstantDynamic
...
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00
Coleen Phillimore
7660d97e2e
7179701: MaxJavaStackTraceDepth of zero is not handled correctly/consistently in the VM
...
Value of zero means unlimited stack trace. If you want no stack trace, use -XX:-StackTraceInThrowable
Reviewed-by: dholmes, hseigel
2018-01-31 11:07:55 -05:00
Jesper Wilhelmsson
d679703c0b
Merge
2018-01-30 16:41:40 +01:00
Coleen Phillimore
5672dfedd4
8194246: JVM crashes when calling getStackTrace if stack contains a method that is a member of a very large class
...
Use unsigned short to save method_id in stack trace.
Reviewed-by: mchung, hseigel
2018-01-29 11:55:40 -05:00