Lois Foltan
d37985cd70
8210012: Implement Unified Logging Option for -XX:+TraceMethodHandles and -XX:+TraceInvokeDynamic
...
Transition the tracing method handles command line options to unified logging, -Xlog:methodhandles.
Reviewed-by: dholmes, iklam, jrose
2020-04-15 21:01:02 +00: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
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
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
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
Xin Liu
1ad5c5bfb7
8165056: move JIT Compiler related files from runtime/ to compiler/ directory
...
Reviewed-by: kvn, coleenp, dholmes
2019-10-09 12:43:32 -07: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
Daniel D. Daugherty
b0933034e0
8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
...
Reviewed-by: dholmes, rehn, dlong
2019-06-24 22:38:17 -04:00
Robbin Ehn
9baafa55a6
8221734: Deoptimize with handshakes
...
Reviewed-by: dcubed, dholmes, pchilanomate, dlong, coleenp
2019-05-23 10:13:29 +02: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
Stefan Karlsson
c90f3ee68b
8223624: Cleanup includes of universe.hpp
...
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02: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
Leonid Mesnik
72b6b8cd2a
8221437: assert(java_lang_invoke_ResolvedMethodName::vmtarget(resolved_method()) == m()) failed: Should not change after link resolution
...
Reviewed-by: coleenp, sspitsyn
2019-04-02 17:11:04 -07: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
Robbin Ehn
046a1f0ff7
8218041: Assorted wrong/missing includes
...
Reviewed-by: dholmes, kbarrett, stefank, shade
2019-01-31 10:31:39 +01:00
Claes Redestad
d589fa875d
8217921: Runtime dead code removal
...
Reviewed-by: coleenp, sgehwolf, dholmes
2019-01-29 14:43:05 +01:00
Erik Österlund
02688398e1
8214556: Crash in DependencyContext::remove_dependent_nmethod still happens
...
Reviewed-by: kvn, kbarrett
2018-12-04 17:14:11 +01:00
Erik Österlund
3a5bccf5c6
8213565: Crash in DependencyContext::remove_dependent_nmethod
...
Reviewed-by: rehn, kvn
2018-11-30 11:40:48 +01:00
Erik Österlund
3798a62adb
8212996: Use AS_NO_KEEPALIVE when accessing dead java.lang.invoke.CallSites during nmethod unloading
...
Reviewed-by: coleenp, pliden
2018-11-05 12:36:23 +01:00
Harold Seigel
221005a3d4
8209138: Symbol constructor uses u1 as the element type of its name argument
...
Maske u1 the type for Symbol values and add a function to return it as a char.
Reviewed-by: dholmes, coleenp
2018-10-03 09:46:46 -04:00
Ioi Lam
bc62b3a40e
8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
...
Added fieldDescriptor.inline.hpp
Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
Ioi Lam
1b2e7cbaef
8208999: Some use of Klass* should be replaced by InstanceKlass*
...
Klass::java_super() => InstanceKlass*; InstanceKlass::{local,transitive}_interfaces() => Array<InstanceKlass*>*
Reviewed-by: coleenp, hseigel
2018-08-07 15:45:07 -07:00
Paul Sandoz
14651d9e02
8195650: Method references to VarHandle accessors
...
Reviewed-by: jrose
2018-06-25 14:39:44 -07:00
David Holmes
95bf19563b
8010319: Implementation of JEP 181: Nest-Based Access Control
...
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Roman Kennke
b938ae51ce
8199781: Don't use naked == for comparing oops
...
Reviewed-by: coleenp, eosterlund, jrose
2018-04-03 13:15:27 +02:00
Claes Redestad
8143322c0f
8200424: Windows build fails due to implicit jboolean to bool conversion
...
Reviewed-by: shade, hseigel
2018-03-29 15:05:31 +02:00
Claes Redestad
243b2364f6
8200238: Reduce number of exceptions created when calling MemberName$Factory::resolveOrNull
...
Reviewed-by: lfoltan, acorn, dholmes
2018-03-29 10:38:29 +02:00
Stefan Karlsson
1a1aecd166
8200106: Move NoSafepointVerifier out from gcLocker.hpp
...
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Coleen Phillimore
fde89a34d0
8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
...
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files
Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Kim Barrett
d7765d9002
8198474: Move JNIHandles::resolve into jniHandles.inline.hpp
...
Moved resolve and friends to new jniHandles.inline.hpp.
Reviewed-by: tschatzl, pliden, coleenp
2018-03-01 16:51:22 -05:00
Roman Kennke
6be7841937
8197999: Accessors in typeArrayOopDesc should use new Access API
...
Reviewed-by: eosterlund, pliden
2018-02-15 23:45:15 +01:00
Paul Sandoz
e55a05957d
8186209: Tool support for ConstantDynamic
...
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00
Vladimir Ivanov
1b558514ff
8188145: MethodHandle resolution should follow JVMS sequence of lookup by name & type before type descriptor resolution
...
Reviewed-by: kvn, psandoz
2018-01-12 01:52:06 +03:00
Stefan Karlsson
58dd5210ec
8192061: Clean up allocation.inline.hpp includes
...
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +01:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00