453 Commits

Author SHA1 Message Date
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
Claes Redestad
3880f3db74 8221724: Enable archiving of Strings with hash 0
Reviewed-by: jiangli, iklam
2019-04-02 11:37:11 +02:00
Coleen Phillimore
246544eeb7 8221183: Avoid code cache walk in MetadataOnStackMark
Note nmethods with "old" Methods in them in table to walk instead.

Reviewed-by: eosterlund, sspitsyn
2019-04-01 09:53:30 -04:00
Aleksey Shipilev
2cf209bd92 8221726: Multiple build failures after JDK-8221698 (Remove redundant includes from popular header files)
Reviewed-by: dholmes, stuefe, iklam
2019-04-01 10:04:22 +02: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
Zhengyu Gu
37c8c96916 8221643: Tighten up assert(_keep_alive >= 0) in CLD::inc_keep_alive
Reviewed-by: coleenp
2019-03-29 14:17:09 -04:00
Ioi Lam
e2ffa15762 8221351: Crash in KlassFactory::check_shared_class_file_load_hook
Reviewed-by: dholmes, ccheung
2019-03-29 08:42:32 -07:00
Thomas Stuefe
02ed0e3e52 8221408: Windows 32bit build build errors/warnings in hotspot
Reviewed-by: kbarrett, dholmes
2019-03-29 08:36:33 +01:00
Harold Seigel
b1c5ab81c0 8059357: ClassVerifier redundantly checks constant pool entries multiple times
Store translated signature verificationTypes in a hashtable where they can be fetched, instead of having to re-translating the signatures

Reviewed-by: iklam, coleenp
2019-03-27 09:29:34 -04: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
Coleen Phillimore
e9b04293e3 8175249: VMThread::run fails in VerifyBeforeExit : Universe::verify
Protection domain package access cache needs to be walked in unloading

Reviewed-by: dholmes, jiangli, zgu, kbarrett
2018-01-24 11:33:18 -05:00
Jesper Wilhelmsson
fc1b01b9a2 Merge 2018-01-13 02:56:22 +01:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00