168 Commits

Author SHA1 Message Date
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
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 Kozlov
2ccecc495c 8223794: applications/kitchensink/Kitchensink.java crash bad oop with Graal
Added new nmethod::oop_at_phantom() method for JVMCI to notify GC that oop should be kept alive

Reviewed-by: dlong, eosterlund
2019-06-20 10:32:25 -07:00
Dean Long
c18ffd6a79 8223050: JVMCI: findUniqueConcreteMethod() should not use Dependencies::find_unique_concrete_method() for non-virtual methods
Reviewed-by: kvn, dnsimon
2019-06-07 18:11:33 -04:00
Leonid Mesnik
8c40b77cd8 8225388: Running jcmd Compiler.CodeHeap_Analytics all 0 cause crash
Reviewed-by: thartmann, sspitsyn
2019-06-07 12:26:50 -07:00
Tom Rodriguez
38204f9c65 8209626: [JVMCI] Use implicit exception table for dispatch and printing
Reviewed-by: kvn
2019-06-07 10:26:21 -07:00
Igor Veresov
e47daab7b4 8223320: [AOT] jck test api/javax_script/ScriptEngine/PutGet.html fails when test classes are AOTed
Materialization of primitive boxes should use caches

Reviewed-by: kvn, never
2019-06-03 13:21:02 -07:00
Robbin Ehn
043e3d767c 8224795: some runtime/SelectionResolution tests are timing out
Reviewed-by: dholmes, thartmann
2019-05-28 20:47:47 +02: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
4914e0ee95 8224203: Remove need to specify type when using FLAG_SET macros
Reviewed-by: rehn, pliden, coleenp
2019-05-22 13:06:31 +02:00
Thomas Stuefe
2257bae7a2 8224487: outputStream should not be copyable
Reviewed-by: kbarrett, coleenp
2019-05-22 07:10:54 +02:00
Lutz Schmidt
b730805159 8213084: Rework and enhance Print[Opto]Assembly output
Reviewed-by: kvn, thartmann
2019-05-21 15:51:35 +02:00
Coleen Phillimore
bc264ba95b 8223585: vmTestbase/runtime/pcl/* get SEGV in MetadataOnStackClosure::do_metadata(Metadata*)+0x0
Adjust old method table by only one thread.

Reviewed-by: kvn, jcbeyler, sspitsyn
2019-05-16 11:07:09 -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
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
34c357ee6f 8223621: Move Universe usage out of oopRecorder.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Ao Qi
c5fc45ee08 8222926: Shenandoah build fails with --with-jvm-features=-compiler1
Reviewed-by: shade, rkennke
2019-05-08 20:57:12 +08:00
Vladimir Ivanov
c6a2274d1a 8223422: [Graal] assert(!m->can_be_statically_bound(InstanceKlass::cast(ctxk))) failed: redundant
Reviewed-by: kvn
2019-05-06 21:31:36 -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
Zhengyu Gu
cc871f0459 8222086: CodeCache::UnloadingScope needs to preserve and restore previous IsUnloadingBehavior
Reviewed-by: eosterlund
2019-04-08 13:22:59 -04:00
Coleen Phillimore
246544eeb7 8221183: Avoid code cache walk in MetadataOnStackMark
Note nmethods with "old" Methods in them in table to walk instead.

Reviewed-by: eosterlund, sspitsyn
2019-04-01 09:53:30 -04:00
Per Lidén
9f2ac63e67 8221456: nmethod::make_unloaded() clears _method member too early
Reviewed-by: eosterlund, thartmann
2019-03-27 18:30:45 +01: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
2370adc703 8220343: Move scavenge_root_nmethods from shared code
Reviewed-by: kvn, eosterlund
2019-03-14 09:15:51 +01:00
Stefan Karlsson
b9cf9e7ca4 8220411: Remove ScavengeRootsInCode=0 code
Reviewed-by: thartmann, coleenp
2019-03-14 09:08:17 +01:00
Claes Redestad
d2c205bb59 8219860: Cleanup ClassFileParser::parse_linenumber_table
Reviewed-by: rehn, lfoltan, hseigel
2019-03-08 23:02:06 +01:00
Erik Österlund
c1250e0816 8218974: Free GC native structures in nmethod::flush
Reviewed-by: pliden
2019-02-26 11:36:00 +01:00
Robbin Ehn
bec8431683 8203469: Faster safepoints
Reviewed-by: dcubed, pchilanomate, dholmes, acorn, coleenp, eosterlund
2019-02-15 14:15:10 +01:00
Claes Redestad
7049e4c443 8218625: Remove dead code in relocInfo
Reviewed-by: kvn, thartmann
2019-02-07 22:20:46 +01:00
Jesper Wilhelmsson
621bf58687 Merge 2019-02-06 00:20:37 +01:00
Erik Österlund
4e8a04bbf1 8216541: CompiledICHolders of VM locked unloaded nmethods are released too late
Reviewed-by: kvn, thartmann
2019-02-05 20:06:10 +01:00
Coleen Phillimore
8f5e561d19 8139551: Scalability problem with redefinition - multiple code cache walks
Walk code cache and deoptimize once per redefinition.

Reviewed-by: sspitsyn, dlong
2019-02-05 10:40:25 -05:00
Per Lidén
ad65ea3c85 8217309: ZGC: Fix ZNMethodTable corruption
Reviewed-by: eosterlund, stefank
2019-01-24 12:23:01 +01:00
Lutz Schmidt
b291349f4c 8217465: [REDO] - Optimize CodeHeap Analytics
Reviewed-by: kvn, thartmann
2019-01-30 14:24:14 +01:00
Jesper Wilhelmsson
fd21613d59 Merge 2019-01-25 18:12:06 +01:00
Tobias Hartmann
5172199ef9 8217447: Develop flag TraceICs is broken
Added NULL check and fixed output.

Reviewed-by: kvn
2019-01-22 08:47:01 +01:00
David Holmes
d788c40095 8217466: [BACKOUT] Optimize CodeHeap Analytics
Reviewed-by: redestad, shade, jwilhelm, iignatyev
2019-01-21 16:56:13 -05:00
Lutz Schmidt
5435d862c1 8217250: Optimize CodeHeap Analytics
Reviewed-by: kvn, thartmann
2019-01-21 18:00:23 +01:00
Jesper Wilhelmsson
cda0d67617 Merge 2019-01-16 20:53:09 +01:00
Lutz Schmidt
92e750fb58 8216314: SIGILL in CodeHeapState::print_names()
Reviewed-by: thartmann, kvn
2019-01-16 09:48:35 +01:00
Jesper Wilhelmsson
528bc73ca4 Merge 2019-01-14 23:05:26 +01:00
Erik Österlund
c03e894387 8215754: ZGC: nmethod is not unlinked from Method before rendezvous handshake
Reviewed-by: pliden, neliasso
2019-01-11 13:15:37 +01:00
Lutz Schmidt
5cdb1c7078 8215551: Missing case label in nmethod::reloc_string_for()
Reviewed-by: kvn, mbaesken
2018-12-20 17:29:59 +01:00
Erik Österlund
83adde9866 8215491: ICStubInterface::finalize finds zombie nmethod with ZGC concurrent class unloading
Reviewed-by: dlong, coleenp
2018-12-20 10:41:45 +01:00
Erik Österlund
1cc5cf4c02 8215500: ICRefillVerifierMark does not set the provided verfier as current
Reviewed-by: pliden, thartmann
2018-12-20 10:41:45 +01:00
Dean Long
32ea2e5343 8215205: javaVFrame much slower than vframeStream
Reviewed-by: mchung, thartmann
2018-12-18 12:36:27 -08: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