573 Commits

Author SHA1 Message Date
Lois Foltan
29245f8878 8218004: Clean up terminology for shared methods within the JVM for indy and condy support
Remove "invoke_dynamic" from the name of several ConstantPool bootstrap helper methods that are shared by both indy and condy.

Reviewed-by: coleenp, dholmes, mchung
2019-02-13 14:20:40 -05:00
Coleen Phillimore
24b8feeb30 8218755: Refix Symbol leak in prepend_host_package_name
Fix Symbol refcounting again, add comment and a test.

Reviewed-by: kbarrett, dholmes
2019-02-13 07:22:09 -05:00
Claes Redestad
93bdf79f1b 8218675: Reduce verification overhead in ClassFileParser
Reviewed-by: dholmes, hseigel
2019-02-12 14:23:49 +01:00
Coleen Phillimore
e174cd6271 8218593: Symbol leak in prepend_host_package_name
Add appropriate refcounting for Symbols stomped by parsing

Reviewed-by: hseigel, zgu
2019-02-08 09:33:59 -05:00
Mikael Vidstedt
ecb711dbe9 8218581: Incorrect exception message generation
Reviewed-by: hseigel
2019-02-06 18:34:12 -08:00
Jesper Wilhelmsson
a8c5f1e59a Merge 2019-01-15 22:54:09 +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
Calvin Cheung
b8bf6b95a3 8216184: CDS/appCDS tests failed on Windows due to long path to a classlist file
Use os::open() instead of fopen()

Reviewed-by: iklam, dholmes
2019-01-11 14:05:57 -08:00
Coleen Phillimore
219bcdf665 8215505: Cleanup jvm.cpp obsolete code after JDK-8210094: Better loading of classloader classes
Remove dead code, also remove function that is not needed after 8210094.

Reviewed-by: lfoltan, dholmes
2019-02-01 06:42:41 -05:00
Calvin Cheung
b999cc8f33 8214809: CDS storage improvements
Reviewed-by: acorn, iklam, ahgross, rhalade
2018-12-12 11:57:22 -08:00
Henry Jen
d77f96b0b2 Merge 2018-12-13 11:47:35 -08:00
Michihiro Horie
31fbc28af5 8213754: PPC64: Add Intrinsics for isDigit/isLowerCase/isUpperCase/isWhitespace
Reviewed-by: kvn, rriggs, mdoerr, gromero
2018-12-11 20:31:18 -05:00
Jini George
fdf7d4ec11 8200613: SA: jstack throws UnmappedAddressException with a CDS core file
Dump the closed archive heap space into the corefile on Linux by setting bit 2 of the coredump_filter file to dump the file backed private mappings.

Reviewed-by: iklam, cjplummer, kevinw, coleenp
2018-12-12 10:13:11 +05:30
Gerard Ziemski
9be447e22f 8214310: SymbolTable: Use get and insert
Replace get_insert() with get(),insert()

Reviewed-by: redestad, coleenp
2018-12-11 14:09:54 -06:00
Harold Seigel
b564c0c1a9 8215165: Improve -Xlog:class+preview message text
Fix up the logging message.

Reviewed-by: acorn, lfoltan
2018-12-11 10:29:08 -05:00
Coleen Phillimore
73ccdf3557 8213753: SymbolTable is double walked during class unloading and clean up table timing in do_unloading
Remove gc timing for short runtime cleanup triggering; make symbol table cleaning triggered automatically on unloading

Reviewed-by: shade, stefank, gziemski
2019-01-31 10:29:53 -05:00
Robbin Ehn
046a1f0ff7 8218041: Assorted wrong/missing includes
Reviewed-by: dholmes, kbarrett, stefank, shade
2019-01-31 10:31:39 +01:00
Thomas Schatzl
d800361151 8213229: Investigate treating StringTable as weak in young collections
Reviewed-by: zgu, kbarrett
2019-01-29 11:30:17 +01:00
Harold Seigel
ac22352b49 8217660: Refactor module related locked_create_entry_or_null() functions
Remove function return values and add functions that create entries without doing unneeded lookups.

Reviewed-by: redestad, lfoltan
2019-01-24 09:38:50 -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
46f1c74805 8217450: Add PackageEntry::locked_lookup_only
Reviewed-by: dholmes, shade, lfoltan
2019-01-23 09:52:59 +01:00
Vladimir Ivanov
6a61345684 8213234: Move LambdaForm.Hidden to jdk.internal.vm.annotation
Reviewed-by: mchung, dlong
2019-01-22 18:13:49 -08:00
Ioi Lam
f910adfb9f 8217424: Remove the idempotent parameter to Method::sort_methods
Reviewed-by: coleenp, shade
2019-01-22 12:37:35 -08:00
Claes Redestad
911c7ff446 8217442: Optimize native accesses to String.value
Reviewed-by: shade, dholmes
2019-01-22 11:22:44 +01:00
Henry Jen
776ef6a071 Merge 2019-01-15 10:55:26 -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
Coleen Phillimore
cab9667f41 8215575: C2 crash: assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
Set InstanceKlass::loaded before adding classes to the subklass list, which can be read concurrently by the compiler.

Reviewed-by: dholmes, eosterlund
2019-01-09 07:52:45 -05:00
Per Lidén
1af1a69fbc 8215395: Allow null oops in Dictionary and JNIHandle verification
Reviewed-by: eosterlund, kbarrett, coleenp
2018-12-15 20:03:06 +01:00
Igor Ignatyev
5ff302e6bb 8214917: CTW testlibrary shouldn't ignore errors raised by the library itself
Reviewed-by: kvn, roland
2018-12-10 11:04:55 -08:00
Gerard Ziemski
949269e785 8209387: Follow ups to JDK-8195100 Use a low latency hashtable for SymbolTable
Use size_t, replaced macros with const, reverted incorrect API name change.

Reviewed-by: coleenp, kbarrett
2018-12-10 11:59:55 -06:00
Coleen Phillimore
3d0faa649c 8214972: Uses of klass_holder() except GC need to apply GC barriers
Fix klass_holder() and make all callers use it, remove holder_phantom().

Reviewed-by: eosterlund, dlong
2018-12-07 14:48:35 -05:00
Nils Eliasson
4246096355 8214773: Replace use of thread unsafe strtok
Reviewed-by: thartmann, dholmes
2018-12-04 18:55:06 +01:00
Dmitry Chuyko
75822e9f7a 8214707: Prevent GCC 8 from reporting error in ClassLoader::file_name_for_class_name()
Reviewed-by: hseigel, dholmes
2018-12-07 10:48:39 +03:00
Harold Seigel
145582dfa1 8214807: Improve handling of very old class files
Remove old version specific code in reflection.cpp

Reviewed-by: acorn, dholmes
2018-12-06 09:58:26 -05:00
Thomas Schatzl
528361f7ae 8214850: Rename vm_operations.?pp files to vmOperations.?pp files
Reviewed-by: dholmes, coleenp
2018-12-06 15:44:40 +01:00
Per Lidén
602d095268 8214782: Add missing access barriers on CLD handle area
Reviewed-by: coleenp, eosterlund
2018-12-05 17:11:20 +01:00
Per Lidén
bfbeb1fe9e 8214784: Adjust Dictionary and JNIHandle verification
Reviewed-by: coleenp, eosterlund
2018-12-05 17:11:19 +01:00
Erik Österlund
cb1aebae6e 8214522: Last runtime locking issues for concurrent class unloading
Reviewed-by: coleenp, pliden
2018-12-05 08:55:42 +01:00
Calvin Cheung
4e935d302a 8214728: Unnecessary InstanceKlass::cast at few places
Reviewed-by: lfoltan, jiangli, coleenp
2018-12-04 11:54:09 -08:00
Ioi Lam
a0a108fb01 8214388: CDS dumping fails with java heap fragmentation
Force a full GC with a single thread before writing heap archive regions

Reviewed-by: sjohanss, jiangli
2018-12-03 22:27:24 -08:00
Erik Österlund
3a5bccf5c6 8213565: Crash in DependencyContext::remove_dependent_nmethod
Reviewed-by: rehn, kvn
2018-11-30 11:40:48 +01:00
Jesper Wilhelmsson
e13cc6d3a6 Merge 2019-01-10 21:52:33 +01:00
Coleen Phillimore
154a1a02bf 8216167: Update include guards to reflect correct directories
Use script and some manual fixup to fix directores names in include guards.

Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Jesper Wilhelmsson
67a5fc2529 Merge 2019-01-09 22:59:49 +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
Coleen Phillimore
1509c1ffe1 8215731: Move forward class definitions out of globalDefinitions.hpp
Redistribute the forward declarations to the header files that need them.

Reviewed-by: dholmes, lfoltan
2019-01-04 15:06:01 -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
Kim Barrett
dd609d57e6 8213481: [REDO] Fix incorrect copy constructors in hotspot
Fix and use ResourceObj copy constructor.

Reviewed-by: coleenp, dholmes, kvn
2018-12-31 15:40:50 -05:00
Harold Seigel
265abce7fb 8205505: Expire and remove remaining support for commercial features
Remove the unneeded options and their tests and update the JCMD documentation.

Reviewed-by: dholmes, coleenp, erikj
2018-12-20 08:43:23 -05:00