330 Commits

Author SHA1 Message Date
Mikael Vidstedt
ff3eeb4773 Merge 2019-07-09 16:37:30 -07:00
Erik Österlund
f111dd0cbb 8224531: SEGV while collecting Klass statistics
Reviewed-by: coleenp, kbarrett, tschatzl
2019-07-09 16:39:41 +02:00
Vladimir Ivanov
eb2818421a 8226409: Enable argument profiling for sun.misc.Unsafe.put*/get*
Reviewed-by: kvn
2019-07-05 12:55:54 +03:00
Daniel D. Daugherty
b0933034e0 8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
Reviewed-by: dholmes, rehn, dlong
2019-06-24 22:38:17 -04:00
Daniel D. Daugherty
d6be015b16 8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
Reviewed-by: dholmes, rehn, dlong
2019-06-24 22:38:17 -04:00
Vladimir Ivanov
829c81bbf9 8225141: Better handling of classes in error state in fast class initialization checks
Reviewed-by: dlong, dholmes
2019-06-06 13:46:03 +03:00
Jie Fu
d738e209f3 8224162: assert(profile.count() == 0) failed: sanity in InlineTree::is_not_reached
Reviewed-by: vlivanov, kvn
2019-06-06 13:45:59 +03:00
Vladimir Kozlov
7356905a83 8225019: Update JVMCI
Reviewed-by: never, dlong
2019-06-04 12:44:53 -07:00
Vladimir Ivanov
e72bfe15ad 8223213: Implement fast class initialization checks on x86-64
Reviewed-by: kvn, redestad, dholmes, mdoerr, coleenp
2019-05-30 13:39:13 +03:00
Robbin Ehn
9baafa55a6 8221734: Deoptimize with handshakes
Reviewed-by: dcubed, dholmes, pchilanomate, dlong, coleenp
2019-05-23 10:13:29 +02:00
Stefan Karlsson
c9846fce19 8224201: Simplify JVM flag macro expansions
Reviewed-by: rehn, kvn, stuefe, tschatzl, coleenp, gziemski
2019-05-22 13:05:37 +02:00
Calvin Cheung
72dc5721e0 8207812: Implement Dynamic CDS Archive
Improve the usability of AppCDS

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00
Coleen Phillimore
204059634d 8223657: Remove unused THREAD argument from SymbolTable functions
Also made lookup and lookup_only functions private to SymbolTable.  External callers use new_symbol or probe.

Reviewed-by: dholmes, gziemski
2019-05-14 11:29:18 -04:00
Coleen Phillimore
2a48a29c33 8219459: oopDesc::is_valid() is broken
Use Metaspace::contains() to test address ranges.

Reviewed-by: mdoerr, stuefe, jiangli
2019-05-14 08:52:51 -04:00
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