Vladimir Kozlov
e9c523ae5f
8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
...
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
David Holmes
ded4f6b5cf
8222518: Remove unnecessary caching of Parker object in java.lang.Thread
...
Reviewed-by: dcubed, rehn
2019-04-26 00:57:03 -04:00
Robbin Ehn
b4fb17d63c
8222327: java_lang_Thread _thread_status_offset, remove pre 1.5 code paths
...
Reviewed-by: dholmes, redestad
2019-04-17 09:29:25 +02:00
Stefan Karlsson
23f02171c8
8221393: ResolvedMethodTable too small for StackWalking applications
...
Reviewed-by: coleenp, rehn
2019-04-10 15:41:04 +02:00
Claes Redestad
89a267ca46
8221836: Avoid recalculating String.hash when zero
...
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: jrose, adinn
2019-04-10 12:05:50 +02:00
Andrew Dinn
71164a973b
8221477: Inject os/cpu-specific constants into Unsafe from JVM
...
Initialize Unsafe os/cpu-specific constants using injection instead of native callouts
Reviewed-by: stuefe, coleenp, dholmes, plevart
2019-04-05 10:01:09 +01: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
Claes Redestad
1bfa5cee8c
8220496: Race in java_lang_String::length() when deduplicating
...
Reviewed-by: rkennke, pliden
2019-03-13 17:32:17 +01:00
David Holmes
7a6896f3b3
8219685: Startup failure: assert(!Universe::is_module_initialized()) failed: Incorrect java.lang.Module pre module system initialization
...
Reviewed-by: lfoltan, redestad
2019-03-10 18:53:55 -04:00
Coleen Phillimore
2a83596e85
8181171: Deleting method for RedefineClasses breaks ResolvedMethodName
...
8210457: JVM crash in ResolvedMethodTable::add_method(Handle)
Add a function to call NSME in ResolvedMethodTable to replace deleted methods.
Reviewed-by: sspitsyn, dholmes, dcubed
2019-02-26 08:01:20 -05:00
Zhengyu Gu
d783c7a2d8
8217522: Missing barriers in some java_lang_String assertion code after JDK-8217442
...
Reviewed-by: shade, redestad
2019-01-23 10:50:27 -05:00
Claes Redestad
911c7ff446
8217442: Optimize native accesses to String.value
...
Reviewed-by: shade, dholmes
2019-01-22 11:22:44 +01:00
Claes Redestad
e86a7eea79
8217325: Enable inlining of java_lang_Class::oop_size_raw
...
Reviewed-by: shade, coleenp, rehn, stefank
2019-01-18 08:00:05 +01:00
Aleksey Shipilev
88366150c6
8216308: StackTraceElement::fill_in can use injected Class source-file
...
Reviewed-by: coleenp, dholmes
2019-01-14 17:20:20 +01:00
Aleksey Shipilev
f44e59355c
8216302: StackTraceElement::fill_in can use cached Class.name
...
Reviewed-by: coleenp, dholmes, mchung
2019-01-09 20:28:16 +01:00
Harold Seigel
a1ff367f4b
8214442: Improve stack walk API by adding handle marks
...
Add the missing handle marks.
Reviewed-by: zgu, mchung
2019-01-09 09:01:27 -05:00
Claes Redestad
bf63ee682e
8216157: Enable inlining of java_lang_Class::is_primitive
...
Reviewed-by: coleenp, eosterlund, jiangli
2019-01-04 16:23:56 +01:00
Erik Österlund
3a5bccf5c6
8213565: Crash in DependencyContext::remove_dependent_nmethod
...
Reviewed-by: rehn, kvn
2018-11-30 11:40:48 +01:00
Ioi Lam
147fc3ed13
8213346: Re-implement shared dictionary using CompactHashtable
...
Reviewed-by: jiangli
2018-11-07 19:40:27 -08:00
Dean Long
a9ae141836
8212605: Pure-Java implementation of AccessController.doPrivileged
...
Reviewed-by: dholmes, mullan, vlivanov, mchung, alanb, rriggs
2018-11-06 16:04:50 -08:00
Erik Österlund
3798a62adb
8212996: Use AS_NO_KEEPALIVE when accessing dead java.lang.invoke.CallSites during nmethod unloading
...
Reviewed-by: coleenp, pliden
2018-11-05 12:36:23 +01:00
Ioi Lam
93395f6a9e
8212200: assert when shared java.lang.Object is redefined by JVMTI agent
...
Reviewed-by: dholmes, jiangli, hseigel, lfoltan, sspitsyn
2018-10-17 15:57:10 -07:00
Jiangli Zhou
a2ad8f419f
8206009: Move CDS java heap object archiving code to heapShared.hpp and heapShared.cpp
...
Restructure and cleanup java heap object archiving code.
Reviewed-by: coleenp, iklam
2018-10-09 15:58:07 -04:00
Ioi Lam
6c59cb232f
8210875: Refactor CompactHashtable
...
Reviewed-by: ccheung, jiangli
2018-09-18 21:47:14 -07:00
Coleen Phillimore
fce43c0c36
8198717: Remove compute_optional_offset
...
Remove optional_offset computation and related unused code from javaClasses for reflection.
Reviewed-by: redestad, lfoltan
2018-09-19 15:25:05 -04:00
Ioi Lam
1619cbd14b
8210864: Reduce the use of metaspaceShared.hpp
...
Reviewed-by: coleenp, lfoltan
2018-09-18 21:46:17 -07:00
Coleen Phillimore
bbf5c1ca8d
8210422: runtime/modules/ModuleStress/ExportModuleStressTest.java - assertion failed: address not aligned: 0x00000008baadbabe
...
CLDG_lock caused safepoint in inconsistent state
Reviewed-by: lfoltan, eosterlund, kbarrett
2018-09-11 09:42:27 -04:00
Jiangli Zhou
bd77f790c3
8209971: TestOptionsWithRanges.java crashes in CDS mode with G1UpdateBufferSize=1
...
Fixup archive heap regions before restoring any archived java object at runtime.
Reviewed-by: iklam, ccheung
2018-09-07 15:18:14 -04:00
Roman Kennke
9ec15cedd0
8206457: Code paths from oop_iterate() must use barrier-free access
...
Reviewed-by: eosterlund, shade
2018-07-06 16:04:19 +02:00
Ioi Lam
5b2c081460
8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
...
Relocate and patch archive regions if necessary
Reviewed-by: jiangli, tschatzl
2018-08-14 09:59:37 -07:00
Ioi Lam
bc62b3a40e
8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
...
Added fieldDescriptor.inline.hpp
Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -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
2e941724e4
8209545: Simplify HeapShared::archive_module_graph_objects
...
Added archivable_static_fields array in heapShared.cpp
Reviewed-by: jiangli
2018-08-15 11:19:57 -07:00
Jiangli Zhou
da4684e2e1
8209389: SIGSEGV in WalkOopAndArchiveClosure::do_oop_work
...
Check the MetaspaceShared::archive_heap_object return value and handle failure accordingly.
Reviewed-by: iklam, coleenp
2018-08-16 17:29:22 -04:00
Ioi Lam
e12ee81ff0
8206115: Use shared macros for JavaClasses::compute_offsets and MetaspaceShared::serialize_well_known_classes
...
Added BASIC_JAVA_CLASSES_DO in javaClasses.hpp
Reviewed-by: jiangli, redestad, coleenp
2018-08-14 20:46:46 -07:00
Claes Redestad
5c3008fbc4
8209120: Archive the Integer.IntegerCache
...
Reviewed-by: jiangli, alanb, plevart, iklam, mchung
2018-08-13 19:21:43 +02:00
Jiangli Zhou
a5d14313f5
8207263: Store the Configuration for system modules into CDS archive
...
Archive boot layer Configuration.
Reviewed-by: redestad, iklam, ccheung
2018-08-10 00:35:57 -04:00
Thomas Schatzl
9c0720b156
8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder
...
Reviewed-by: dholmes, hseigel
2018-08-08 15:31:07 +02:00
Lois Foltan
cc58241bec
8205611: Improve the wording of LinkageErrors to include module and class loader information
...
Clean up the wording of loader constraint violations to include the module and class loader information.
Reviewed-by: coleenp, goetz, hseigel
2018-07-16 11:34:17 -04:00
Jiangli Zhou
9ba5bab865
8202035: Archive the set of ModuleDescriptor and ModuleReference objects for observable system modules with unnamed initial module
...
Support system module archiving with unnamed initial module at dump time.
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: erikj, coleenp, mchung, iklam, ccheung
2018-07-08 12:43:05 -04:00
Erik Österlund
e4dbe9909f
8205683: Refactor heap allocation to separate concerns
...
Reviewed-by: pliden, kbarrett
2018-06-28 14:22:28 +02:00
Jiangli Zhou
884f9db3c6
8205699: assert(_owner_offset != 0) failed in javaClasses.cpp
...
Added java_util_concurrent_locks_AbstractOwnableSynchronizer::serialize.
Reviewed-by: ccheung, dholmes
2018-06-27 11:55:35 -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
Kim Barrett
df34500027
8204585: Remove IN_ARCHIVE_ROOT from Access API
...
Replaced Access API with API on heap.
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: jiangli, coleenp, tschatzl
2018-06-12 18:12:59 -04:00
David Holmes
ab275c586e
8199882: compiler/uncommontrap/TestDeoptOOM.java failed w/ fatal error: ExceptionMark constructor expects no pending exceptions
...
Pre-load AbstractOwnableSynchronizer class instead of lazy loading it.
Reviewed-by: sspitsyn, cjplummer, coleenp
2018-06-05 19:58:20 -04: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
1ae12b4328
8203381: Replace InstanceKlass::allocate_instance_handle with JavaCalls::construct_new_instance
...
Reviewed-by: lfoltan, dholmes, coleenp, minqi
2018-05-18 09:15:08 -07:00
Goetz Lindenmaier
87ca9d07df
8203400: Fix issue with "8199852: Print more information about class loaders in LinkageErrors."
...
Reviewed-by: dholmes, lfoltan
2018-05-18 10:59:04 +02:00
Kim Barrett
65abdefedf
8202631: JVM_Clone to throw CloneNotSupportException for Reference object
...
JVM_Clone throws; delete previous partial support for cloning.
Reviewed-by: eosterlund, mchung, dholmes, coleenp
2018-05-08 20:59:58 -04:00
Stefan Karlsson
90a2a92fe3
8202709: Move oopDesc::is_archive_object to MetaspaceShared::is_archive_object
...
Reviewed-by: ehelin, jiangli
2018-05-07 14:57:23 +02:00