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
Coleen Phillimore
ef15adee70
8209541: Fix merge problem in SymbolTable::do_check_concurrent_work
...
Remerged with previous change to do_unloading.
Reviewed-by: hseigel
2018-08-15 16:01:48 -04:00
Coleen Phillimore
68e65d8ece
8209447: vmTestbase/vm/mlvm/indy/func/jvmti/mergeCP_none2indy_b/TestDescription.java timed out
...
Was walking code cache for every safepoint because redefined methods take a long time to clear out of the code cache
Reviewed-by: eosterlund, rehn
2018-08-15 15:50:23 -04:00
Gerard Ziemski
b75805c1a5
8195100: Use a low latency hashtable for SymbolTable
...
Used concurrentHashTable, similar to stringTable
Reviewed-by: coleenp, kbarrett, iklam, pliden
2018-08-14 18:42:14 -05:00
Claes Redestad
5c3008fbc4
8209120: Archive the Integer.IntegerCache
...
Reviewed-by: jiangli, alanb, plevart, iklam, mchung
2018-08-13 19:21:43 +02:00
Aleksei Voitylov
abb7f64829
8209378: Fix Minimal VM after JDK-8208677
...
Reviewed-by: coleenp, shade
2018-08-13 10:28:01 +02:00
Harold Seigel
83b2fb5b0d
8207778: Add locking to ModuleEntry and PackageEntry tables
...
Restructure ClassLoaderDataGraph code to simplify using locks in SystemDictionary::do_unloading()
Reviewed-by: lfoltan, coleenp
2018-08-10 09:30:26 -04: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
Coleen Phillimore
a7b66f6f5e
8208677: Move inner metaspace cleaning out of class unloading
...
Move to safepoint cleanup actions to do if needed.
Reviewed-by: eosterlund, hseigel
2018-08-08 15:24:21 -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
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
Phil Race
32ec91ca9b
Merge
2018-08-03 09:42:57 -07:00
Harold Seigel
38db1d1620
8202171: Some oopDesc functions compare this with NULL
...
Add Method* parameter and made verify* methods static to avoid 'this' comparison with NULL, Added NULL checks before calling print_on() methods.
Reviewed-by: kbarrett, coleenp
2018-07-31 14:24:10 -04:00
Harold Seigel
5a3decc9f1
8207944: java.lang.ClassFormatError: Extra bytes at the end of class file test" possibly violation of JVMS 4.7.1
...
Add code to skip over unknown attributes when class file version >= 11.
Reviewed-by: lfoltan
2018-07-26 15:56:37 -04:00
Roman Kennke
ca473200b7
8204970: Remaing object comparisons need to use oopDesc::equals()
...
Reviewed-by: eosterlund, zgu
2018-07-25 21:47:40 +02:00
Ioi Lam
9959e34180
8203382: Rename SystemDictionary::initialize_wk_klass to resolve_wk_klass
...
Reviewed-by: jiangli
2018-07-20 12:19:28 -07:00
Coleen Phillimore
39dd04b953
8207359: Make SymbolTable increment_refcount disallow zero
...
Use cmpxchg for non permanent symbol refcounting, and pack refcount and length into an int.
Reviewed-by: gziemski, kbarrett, iklam
2018-07-20 14:52:11 -04: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
Jesper Wilhelmsson
4fc510cc89
Merge
2018-07-14 02:14:54 +02:00
Patricio Chilano Mateo
2b397c3c13
8206470: Incorrect use of os::lasterror in ClassListParser
...
The change is for future-proof the code in case errno gets overwritten inside the allocation logic.
Reviewed-by: dholmes
2018-07-13 13:58:17 -04:00
Goetz Lindenmaier
8a9b0134a8
8206977: Minor improvements of runtime code
...
Reviewed-by: coleenp, lfoltan
2018-07-11 16:11:10 +02:00
Erik Österlund
e4dbe9909f
8205683: Refactor heap allocation to separate concerns
...
Reviewed-by: pliden, kbarrett
2018-06-28 14:22:28 +02:00
Thomas Stuefe
7c8da483fa
8205531: jcmd VM.classloaders should fold similar loaders
...
Reviewed-by: sspitsyn, coleenp
2018-06-28 07:00:35 +02:00
Smita Kamath
3feaefd75f
8205528: Base64 encoding algorithm using AVX512 instructions
...
Reviewed-by: kvn, psandoz
2018-06-27 20:21:42 -07: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
Goetz Lindenmaier
cad47f4a03
8199940: Print more information about class loaders in IllegalAccessErrors
...
Reviewed-by: lfoltan, mchung
2018-06-27 09:52:23 +02:00
Robbin Ehn
1e4a26ceda
8205583: Crash in ConcurrentHashTable do_bulk_delete_locked_for
...
Reviewed-by: coleenp, gziemski
2018-06-27 12:46:15 +02:00
Kim Barrett
8a2170dad7
8205559: Remove IN_CONCURRENT_ROOT Access decorator
...
Removed decorator and made all NativeAccess use barriers.
Reviewed-by: pliden, stefank
2018-06-26 16:59:38 -04:00
Harold Seigel
434c9e90bf
8205422: assert(false) failed: Bad verification_type_info
...
Instead of asserting, print out the bad value
Reviewed-by: lfoltan, coleenp
2018-06-26 09:52:21 -04:00
Gunter Haug
27896721a0
8200720: Print additional information in thread dump (times, allocated bytes etc.)
...
Reviewed-by: dholmes, clanger, cjplummer, sspitsyn
2018-06-25 16:00:56 +02:00
Paul Sandoz
14651d9e02
8195650: Method references to VarHandle accessors
...
Reviewed-by: jrose
2018-06-25 14:39:44 -07:00
Lois Foltan
7ca4027957
8169559: Add class loader names to relevant VM messages
...
Added new method class_in_module_of_loader to provide a standard format for class information within error messages.
Reviewed-by: goetz, hseigel, mchung
2018-06-25 11:33:11 -04:00
Lois Foltan
48500f81a1
8205509: assert(_name_and_id != 0LL) failed: encountered a class loader null name and id
...
The method loader_name_and_id should return the external name of the class loader if _name_and_id is null.
Reviewed-by: coleenp, stuefe
2018-06-25 10:34:46 -04:00
Calvin Cheung
a10d6e71d8
8205946: JVM crash after call to ClassLoader::setup_bootstrap_search_path()
...
Exit vm if setting of boot class path fails.
Reviewed-by: lfoltan, jiangli, dholmes
2018-07-10 19:04:13 -07: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
Calvin Cheung
210e064a8d
8205548: Remove multi-release jar related vm code
...
Reviewed-by: iklam, jiangli
2018-07-05 09:11:33 -07:00
Joe Darcy
e56162b43d
8205615: Start of release updates for JDK 12
...
8205621: Increment JDK version for JDK 12
8193292: Add SourceVersion.RELEASE_12
8193290: Add source 12 and target 12 to javac
8205619: Bump maximum recognized class file version to 56 for JDK 12
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Mikael Vidstedt <mikael.vidstedt@oracle.com>
Reviewed-by: alanb, smarks, jjg, mr, erikj, psandoz, dholmes
2018-06-27 21:01:12 -07:00
Tom Rodriguez
0173db08e9
8198909: [Graal] compiler/codecache/stress/UnexpectedDeoptimizationTest.java crashed with SIGSEGV
...
Reviewed-by: eosterlund, iveresov
2018-06-24 21:46:11 -07:00
David Holmes
95bf19563b
8010319: Implementation of JEP 181: Nest-Based Access Control
...
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Chris Phillips
561ec75b9b
8203030: Zero s390 31 bit size_t type conflicts in shared code
...
Cast to size_t or change to size_t foe compatibility with other archs.
Reviewed-by: pliden, dholmes
2018-06-19 10:00:39 -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
Goetz Lindenmaier
731d9b1499
8204268: Improve some IncompatibleClassChangeError messages
...
Reviewed-by: stuefe, hseigel
2018-06-15 12:31:28 +02:00
Volker Simonis
79a09bd98b
8204965: Fix '--disable-cds' and disable CDS on AIX by default
...
Reviewed-by: erikj, jiangli, stuefe, dholmes
2018-06-19 09:43:53 +02:00
Robbin Ehn
5eb354a014
8204857: ConcurrentHashTable: Fix parallel processing
...
Reviewed-by: coleenp, gziemski
2018-06-18 16:13:21 +02:00
Kim Barrett
05b5a78903
8204939: Change Access nomenclature: root to native
...
Rename RootAccess => NativeAccess, IN_ROOT => IN_NATIVE, and related cleanups.
Reviewed-by: pliden, stefank, coleenp
2018-06-15 16:53:58 -04:00
Thomas Stuefe
5b7f558b70
8203343: VM.{metaspace|classloaders|classhierarchy...} jcmd should show invocation targets for Generated{Method|Constructor}AccessorImpl classes
...
Reviewed-by: coleenp, sspitsyn, dholmes
2018-06-14 21:49:46 +02:00
Harold Seigel
2595bdf177
8204620: ModuleEntry::is_non_jdk_module() determination for what is a jdk module is incorrect
...
Check module's loader and compare version with java.base's version to improve algorithm
Reviewed-by: lfoltan, mchung
2018-06-14 10:33:54 -04:00
David Holmes
ab90071069
8204668: Cleanup management of the java.vm.info System property
...
Reviewed-by: rehn, cjplummer
2018-06-14 02:01:31 -04:00
Robbin Ehn
6b62a66298
8204613: StringTable: Calculates wrong number of uncleaned items
...
Reviewed-by: pliden, coleenp
2018-06-14 07:26:27 +02: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