636 Commits

Author SHA1 Message Date
Matthias Baesken
4de51069e4 8218811: replace open by os::open in hotspot coding
Reviewed-by: dholmes, iklam, stuefe
2019-02-18 16:17:48 +01:00
Aleksey Shipilev
3d6795e0e3 8219583: Windows build failure after JDK-8214777 (Avoid some GCC 8.X strncpy() errors in HotSpot)
Reviewed-by: kbarrett, mikael
2019-02-23 10:55:45 +01:00
Aleksey Shipilev
8360a7884d 8219574: Minimal VM build failure after JDK-8219414
Reviewed-by: jgeorge, dholmes, cjplummer
2019-02-22 17:54:13 +01:00
Claes Redestad
c97af8c3f7 8219554: Redundant lookup_common in SymbolTable::add
Reviewed-by: iklam, coleenp, mikael
2019-02-22 16:41:01 +01:00
Ioi Lam
d06f3e7e28 8218751: Do not store original classfiles inside the CDS archive
Remove the OD shared region and decode classfiles on the fly

Reviewed-by: jiangli, ccheung, sspitsyn, redestad
2019-02-21 17:07:35 -08:00
Mikael Vidstedt
15d554b395 8214777: Avoid some GCC 8.X strncpy() errors in HotSpot
Reviewed-by: kbarrett, rehn
2019-02-21 16:56:06 -08:00
Harold Seigel
dd7e50dc01 8214719: Deprecate -Xverify:none option
Deprecate -Xverify:none and -noverify and remove them from tests

Reviewed-by: dholmes, mikael
2019-02-20 13:21:36 -05:00
Mikael Vidstedt
ea42bbcd24 8219142: Remove unused JIMAGE_ResourcePath
Reviewed-by: dholmes, alanb
2019-02-20 09:43:01 -08:00
Claes Redestad
dbdfbb518f 8219229: Make ConstantPool::tag_at and release_tag_at_put inlineable
Reviewed-by: dholmes, coleenp
2019-02-20 09:53:28 +01:00
Aleksey Shipilev
7a86bc1c4f 8216049: stringTable::intern creates redundant String when looking up existing one
Reviewed-by: redestad, gziemski, rehn, zgu, jiangli
2019-02-16 21:15:33 +01:00
Coleen Phillimore
d869d9287f 8218851: JVM crash in custom classloader stress test, JDK 12 & 13
Handle NULL and unloaded constraint class in loader constraint table, also cope with unloaded but not cleaned out klass in loader constraint entries.

Reviewed-by: hseigel, huntch, stuefe
2019-02-15 08:21:08 -05:00
David Holmes
34fe424afb 8218939: vm/mlvm/anonloader/stress/byteMutation crashed on windows
Reviewed-by: kbarrett, coleenp, mikael, iignatyev
2019-02-14 22:57:37 -05:00
Lois Foltan
9631b06423 8217998: Remove method_type field associated with the appendix field of an indy or method handle call
Removed the unused method_type field associated with the appendix field of an indy or method handle call.

Reviewed-by: acorn, coleenp, dlong
2019-02-13 15:50:08 -05:00
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