Jesper Wilhelmsson
4862d0d542
Merge
2020-06-22 18:23:49 +02:00
Mandy Chung
f2b191a6e9
8247444: Trust final fields in records
...
Co-authored-by: Christoph Dreis <christoph.dreis@freenet.de>
Reviewed-by: jrose, dholmes, forax, coleenp, vlivanov
2020-06-19 08:27:59 -07:00
Stefan Karlsson
77bdc30650
8247470: Fix CHeap GrowableArray NMT accounting
...
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Serguei Spitsyn
6d8c81f694
8245126: Kitchensink fails with: assert(!method->is_old()) failed: Should not be installing old methods
...
Fix the method->is_old() assert
Reviewed-by: dlong, chagedorn
2020-06-11 06:04:05 +00:00
Coleen Phillimore
5314d28f84
8245289: Clean up offset code in JavaClasses
...
Make offset member names consistent and private, move static initializations near owning classes
Reviewed-by: fparain, lfoltan
2020-05-29 15:00:19 -04:00
Ioi Lam
92d1c4a61a
8244775: Remove unnecessary dependency to jfrEvents.hpp
...
Reviewed-by: kbarrett, kvn
2020-05-13 10:56:51 -07:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Kim Barrett
474ce89ebc
8242631: Missing but used special functions for some classes
...
Adjust some special function definitions to avoid deprecation warnings.
Reviewed-by: dholmes
2020-04-15 22:47:58 -04:00
Jamsheed Mohammed C M
211e529373
8193210: [JVMCI/Graal] add JFR compiler phase/inlining events
...
C++ EventCompilerPhase/EventCompilerInlining definitions are extended for JVMCI use.
Reviewed-by: dnsimon, egahlin, kvn, mgronlun, thartmann
2020-03-27 09:47:13 -07:00
Stefan Karlsson
e4b27a48a0
8183574: Unify the is_power_of_2 functions
...
Reviewed-by: kbarrett, redestad
2020-02-17 10:03:17 +01:00
Frederic Parain
9886cb401c
8237767: Field layout computation overhaul
...
Reviewed-by: dholmes, coleenp, lfoltan, shade
2020-02-10 09:49:12 -05:00
Lois Foltan
d19a396e96
8230199: consolidate signature parsing code in HotSpot sources
...
Add a new Signature class to support basic signature queries and enhance SignatureStream class to parse field signatures in addition to methods.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, dholmes, fparain, hseigel
2020-02-06 14:29:57 +00:00
Stefan Karlsson
46423b0f70
8237637: Remove dubious type conversions from oop
...
Reviewed-by: kbarrett, dholmes, mdoerr
2020-01-24 09:27:07 +01:00
Harold Seigel
7fc58a1020
8235678: Remove unnecessary calls to Thread::current() in MutexLocker calls
...
Add THREAD argument when available and make Thread* the first argument to relevant MutexLocker and MonitorLocker constructors
Reviewed-by: lfoltan, coleenp, dholmes
2020-01-16 13:48:23 +00:00
Christian Hagedorn
49048adcf2
8231501: VM crash in MethodData::clean_extra_data(CleanExtraDataClosure*): fatal error: unexpected tag 99
...
Snapshot MDO extra trap and argument data only after it is prepared.
Reviewed-by: roland, thartmann
2019-12-16 09:19:52 +01:00
Jorn Vernee
8f4f088a12
8234049: Implementation of Memory Access API (Incubator)
...
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Reviewed-by: alanb, psandoz, chegar, rriggs, plevart, briangoetz, jrose, adinn, vlivanov
2019-12-12 22:59:57 +00:00
Vladimir Ivanov
a6daef527e
8234923: Missed call_site_target nmethod dependency for non-fully initialized ConstantCallSite instance
...
Reviewed-by: jrose
2019-12-03 20:13:21 +03:00
Coleen Phillimore
ed21b56269
8233913: Remove implicit conversion from Method* to methodHandle
...
Fix call sites to use existing THREAD local or pass down THREAD local for shallower callsites. Make linkResolver methods return Method* for caller to handleize if needed.
Reviewed-by: iklam, thartmann, hseigel
2019-11-13 08:23:23 -05:00
Claes Redestad
12adeca887
8233708: VectorSet cleanup
...
Reviewed-by: neliasso, shade, thartmann
2019-11-07 12:12:39 +01:00
Christian Hagedorn
6df28153fd
8230019: [REDO] compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
...
Explicitly set the receiver klass in the ci MDO to NULL if it is NULL in the MDO while translating.
Reviewed-by: kvn, thartmann
2019-10-29 14:29:40 +01:00
Lois Foltan
fce4320369
8231844: Enhance type signature characters in classfile_constants.h and improve the JVM to use type signature characters more consistently
...
Increase the use of type signature constants instead of hard coded characters within the JVM.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, dholmes, fparain
2019-10-21 13:13:16 -04:00
Claes Redestad
35fb2da425
8232165: Reduce allocations in ValueStack copying constructor
...
Reviewed-by: neliasso, kvn
2019-10-14 20:58:08 +02:00
Richard Reingruber
a683592254
8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken
...
Reviewed-by: sspitsyn, dholmes, kvn
2019-10-08 15:30:39 +02:00
Coleen Phillimore
6e1aa9065c
8226690: SIGSEGV in MetadataOnStackClosure::do_metadata
...
Dont create nmethod if classes have been redefined since compilation start.
Reviewed-by: sspitsyn, dlong, eosterlund, gdub
2019-09-26 09:22:49 -04:00
Lois Foltan
0c507f3180
8230505: Replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type
...
Consistently use is_reference_type when comparing type for T_OBJECT or T_ARRAY.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dlong, coleenp, hseigel
2019-09-23 14:49:04 -04:00
Robbin Ehn
35a9f6864a
8226705: [REDO] Deoptimize with handshakes
...
Reviewed-by: eosterlund, dcubed, dlong, pchilanomate
2019-09-19 10:52:22 +02:00
Per Lidén
2d6874b861
8230841: Remove oopDesc::equals()
...
Reviewed-by: rkennke, tschatzl
2019-09-17 09:51:02 +02:00
Erik Österlund
f869706f5f
8224815: Remove non-GC uses of CollectedHeap::is_in_reserved()
...
Reviewed-by: stefank, coleenp
2019-09-05 08:26:49 +02:00
Vladimir Ivanov
4dc79c2e05
8227236: assert(singleton != __null && singleton != declared_interface) failed
...
Reviewed-by: dlong
2019-09-03 17:45:02 +03:00
Tobias Hartmann
0941bf8b5e
8230020: [BACKOUT] compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
...
Back out JDK-8225670 due to performance regressions.
Reviewed-by: roland
2019-08-22 12:22:02 +02:00
Coleen Phillimore
d1ca6221a4
5103339: Strengthen NoSafepointVerifier
...
Add NSV check at possible safepoint transition or places that could take out locks. Consolidate with clearing unhandled oops.
Reviewed-by: dholmes, rehn
2019-08-14 10:07:00 -04:00
Tobias Hartmann
fd4dc1dfd2
8225670: compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
...
Clear entry in the ciProfileData object if the klass is NULL.
Reviewed-by: eosterlund, thartmann
2019-08-12 08:48:47 +02:00
Coleen Phillimore
04b98fd1df
8222446: assert(C->env()->system_dictionary_modification_counter_changed()) failed: Must invalidate if TypeFuncs differ
...
Remove SystemDictionary::modification_counter optimization
Reviewed-by: dlong, eosterlund
2019-07-10 07:58:24 -04:00
Robbin Ehn
8b067a95ed
8225702: Safepoint counter can't be used for safepoint detection
...
Reviewed-by: dcubed, dholmes
2019-06-26 18:22:28 +02:00
Vladimir Kozlov
bb4d2bc846
8222371: Use UL for TraceNMethodInstalls code
...
Reviewed-by: dholmes
2019-06-06 16:06:10 -07:00
Vladimir Ivanov
6346d77b03
8225106: C2: Parse::clinit_deopt asserts when holder klass is in error state
...
Reviewed-by: mdoerr
2019-06-06 13:46:01 +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
Rahul Raghavan
da85e43f56
8213416: Replace some enums with static const members in hotspot/compiler
...
Changes to fix enumeral and non-enumeral type in conditional expression warnings with -Wextra for gcc on hotspot
Reviewed-by: kvn, thartmann
2019-05-28 12:01:52 +05:30
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
Stefan Karlsson
c90f3ee68b
8223624: Cleanup includes of universe.hpp
...
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Vladimir Ivanov
75d4f24c97
8223171: Redundant nmethod dependencies for effectively final methods
...
Reviewed-by: dlong
2019-05-06 12:15:49 -07: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
Coleen Phillimore
5c5089b0a2
8220512: Deoptimize redefinition functions that have dirty ICs
...
Walk ICs to determine whether nmethods are dependent on redefined classes.
Reviewed-by: sspitsyn, eosterlund
2019-03-15 16:00:18 -04:00
Stefan Karlsson
b9cf9e7ca4
8220411: Remove ScavengeRootsInCode=0 code
...
Reviewed-by: thartmann, coleenp
2019-03-14 09:08:17 +01:00
Thomas Schatzl
ece7e8a2a1
8220301: Remove jbyte use in CardTable
...
Use CardTable::CardValue aliased to uint8_t instead.
Reviewed-by: kbarrett, shade
2019-03-13 21:01:56 +01:00
Tobias Hartmann
164fcbbec9
8218201: Failures when vmIntrinsics::_getClass is not inlined
...
Fix BCEscapeAnalyzer to correctly handle _getClass intrinsic.
Reviewed-by: kvn, dlong, redestad, neliasso
2019-03-11 11:42:57 +01:00
Nils Eliasson
561843be93
8219642: ciReplay loads wrong data when MethodData size changes
...
Reviewed-by: kvn, thartmann
2019-03-08 15:27:47 +01:00
Tobias Hartmann
ac17b61a59
8163511: Allocation of compile task fails with assert: "Leaking compilation tasks?"
...
Use weak handles for compile tasks to allow unloading of referenced methods.
Reviewed-by: kvn, coleenp, eosterlund
2019-03-07 08:38:16 +01:00