316 Commits

Author SHA1 Message Date
Erik Österlund
5dd18ea628 8222841: Incorrect static call stub interactions with class unloading
Reviewed-by: kvn, coleenp
2019-05-14 12:07:24 +02:00
Stefan Karlsson
feeab37ce7 8223637: Fix build breakage after 8223136
Co-authored-by: Lutz Schmidt <lutz.schmidt@sap.com>
Co-authored-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Reviewed-by: stefank, coleenp
2019-05-11 13:10:24 +02:00
Coleen Phillimore
77d60eff6a 8223626: move print() functions to cpp files
Improve debugging experience

Reviewed-by: dholmes, dlong
2019-05-10 09:05:29 -04:00
Stefan Karlsson
c90f3ee68b 8223624: Cleanup includes of universe.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Stefan Karlsson
5a8ba256df 8223136: Move compressed oops functions to CompressedOops class
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Harold Seigel
1de7140185 8217846: [Graal] vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts003/instancecounts003.java crash
Make sure the array calls's mirror was successfully created before putting the array class on its class loader data list

Reviewed-by: lfoltan, coleenp
2019-05-08 10:08:11 -04:00
David Holmes
b0d52bcca1 8223437: Backout JDK-8219974 Restore static callsite resolution for the current class
Reviewed-by: jwilhelm, vlivanov
2019-05-07 17:33:19 -04:00
Xin Liu
63dbcdc874 8222670: pathological case of JIT recompilation and code cache bloat
Prevent downgraded compilation tasks from recompiling.

Reviewed-by: sgehwolf, thartmann
2019-05-07 09:17:03 +02:00
Coleen Phillimore
26255c10cb 8222893: markOopDesc::print_on() is a bit confused
Add print_on for ObjectMonitor and make markOop printing sensible and add test.

Reviewed-by: dcubed, pchilanomate
2019-05-06 15:25:57 -04:00
Jie Fu
0ff8db34ca 8221542: ~15% performance degradation due to less optimized inline decision
Reviewed-by: vlivanov, coleenp
2019-05-06 12:17:54 -07:00
Vladimir Ivanov
75d4f24c97 8223171: Redundant nmethod dependencies for effectively final methods
Reviewed-by: dlong
2019-05-06 12:15:49 -07:00
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
Coleen Phillimore
fbafef11c0 8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.

Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Daniel D. Daugherty
baf1349a2f 8222295: more baseline cleanups from Async Monitor Deflation project
Reviewed-by: coleenp, acorn, dholmes
2019-04-24 10:20:25 -04:00
Lois Foltan
57aaf7a8cd 8218994: Consolidate indy and condy JVM information within a BootstrapInfo data structure
Introduce BootstrapInfo data structure and merge invocation of a bootstrap method for condy and indy into invoke_bootstrap_method.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp
2019-04-23 14:09:54 -04:00
Stefan Karlsson
23f02171c8 8221393: ResolvedMethodTable too small for StackWalking applications
Reviewed-by: coleenp, rehn
2019-04-10 15:41:04 +02:00
Thomas Stuefe
1baf5289c5 8221539: [metaspace] Improve MetaspaceObj::is_metaspace_obj() and friends
Reviewed-by: adinn, coleenp, mdoerr
2019-03-27 14:13:34 +01:00
Goetz Lindenmaier
39f3368ffd 8221470: Print methods in exception messages in java-like Syntax
Reviewed-by: dholmes, mdoerr, coleenp
2019-04-04 09:39:44 +02:00
Claes Redestad
3880f3db74 8221724: Enable archiving of Strings with hash 0
Reviewed-by: jiangli, iklam
2019-04-02 11:37:11 +02:00
Per Lidén
6bce53795b 8221748: Remove unused oopDesc::is_unlocked_oop()
Reviewed-by: kbarrett
2019-04-02 10:04:35 +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
Thomas Stuefe
02ed0e3e52 8221408: Windows 32bit build build errors/warnings in hotspot
Reviewed-by: kbarrett, dholmes
2019-03-29 08:36:33 +01:00
Jiangli Zhou
223e1c6e42 8220095: Assertion failure when symlink (with different name) is used for lib/modules file
Removed confusing function ClassLoader::is_modules_image(char*)

Reviewed-by: lfoltan, ccheung
2019-03-23 21:51:07 -07:00
Claes Redestad
4bfd3db2e0 8220366: Optimize Symbol handling in ClassVerifier and SignatureStream
Reviewed-by: hseigel, coleenp, lfoltan
2019-03-14 18:56:25 +01:00
Claes Redestad
d2c205bb59 8219860: Cleanup ClassFileParser::parse_linenumber_table
Reviewed-by: rehn, lfoltan, hseigel
2019-03-08 23:02:06 +01:00
David Holmes
b0d139de19 8219974: REDO JDK-8219492: Restore static callsite resolution for the current class
Reviewed-by: redestad, vlivanov, coleenp
2019-03-04 19:38:50 -05:00
David Holmes
e7eae4444d 8219969: Backout JDK-8219492
Reviewed-by: goetz, hseigel, tschatzl
2019-03-01 08:14:29 -05:00
David Holmes
b5f55fadff 8219492: Restore static callsite resolution for the current class
Reviewed-by: redestad, lfoltan, vlivanov
2019-02-28 18:28:23 -05: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
Coleen Phillimore
351280bbb8 8078725: method adjustments can be done just once for all classes involved into redefinition
Walk all classes at the end of redefinition and adjust method entries and clean MethodData

Reviewed-by: sspitsyn
2019-02-22 13:56:08 -05: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
David Holmes
e2054e3c5d 8217765: Internal Error (javaCalls.cpp:61) guarantee(thread->can_call_java()) failed
Reviewed-by: rehn, redestad, coleenp
2019-02-20 19:41:43 -05: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
Stefan Karlsson
5f5c6362d9 8218734: SA: Incorrect and raw loads of OopHandles
Reviewed-by: eosterlund, coleenp, jgeorge
2019-02-19 10:02:42 +01: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
2e4ac80e0c 8212988: add recent class unloading events to the hs_err log
Also moved class unloading logging in expected place.

Reviewed-by: never, stuefe
2019-02-13 06:48:34 -05:00
Claes Redestad
61882ce51f 8218738: Remove dead code in Symbol and friends
Reviewed-by: coleenp, lfoltan, dholmes
2019-02-12 19:22:19 +01:00
Aleksey Shipilev
9cc4f7d99b 8218140: Build failures after JDK-8218041 (Assorted wrong/missing includes)
Reviewed-by: stefank, rehn, dholmes
2019-01-31 19:08:37 +01:00
Coleen Phillimore
671017bab8 8212949: Remove ConstantPoolCache::is_constantPoolCache
Remove relic of permgen, also is_constMethod too.

Reviewed-by: dholmes
2019-01-31 07:28:40 -05:00
Daniil Titov
aa39ea1b55 8163127: Debugger classExclusionFilter does not work correctly with method references
Reviewed-by: cjplummer, jcbeyler
2019-01-29 16:48:20 -08:00
Lois Foltan
4c63f4d399 8216970: condy causes JVM crash
Fix issue with ConstantPool::constant_tag_at to correctly handle a condy whose return type is an array.

Reviewed-by: acorn, hseigel, jrose
2019-01-29 11:56:51 -05:00
Claes Redestad
6a9f775041 8217922: Compiler dead code removal
Reviewed-by: thartmann, neliasso
2019-01-29 14:34:26 +01: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
62378f6977 8217318: Unneeded handleization in InstanceKlass::restore_unshareable_info
No need for a methodHandle here since methods not yet added to SystemDictionary can't be redefined.

Reviewed-by: coleenp
2019-01-18 16:21:07 +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
Jesper Wilhelmsson
a8c5f1e59a Merge 2019-01-15 22:54:09 +01:00
David Holmes
d1c7bfeb4b 8213397: Stack dump should show more clearly when a thread is blocked on a class initialization monitor
Reviewed-by: rehn, coleenp
2019-01-15 16:40:31 -05:00
Jesper Wilhelmsson
528bc73ca4 Merge 2019-01-14 23:05:26 +01:00
Erik Österlund
f08eeac278 8215889: assert(!_unloading) failed: This oop is not available to unloading class loader data with ZGC
Reviewed-by: coleenp, neliasso
2019-01-10 18:10:15 +01:00