History log of /openjdk10/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp
Revision Date Author Comments
# 13487:12817e44b856 23-Aug-2017 coleenp

8160399: is_oop_or_null involves undefined behavior
8164984: Improper use of is_oop in production code
Summary: replace oop->is_oop*() with oopDesc::is_oop*(oop) so this pointer can be verified
Reviewed-by: iklam, kvn, dholmes


# 13184:7903df1b0c4f 22-Jun-2017 kbarrett

8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
Summary: Refactor debug.hpp and reverse include dependency.
Reviewed-by: coleenp, stefank, dcubed


# 13129:da4c9eef4316 27-May-2017 coleenp

8174749: Use hash table/oops for MemberName table
Summary: Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc
Reviewed-by: sspitsyn, stefank, jrose


# 12953:d342027d6321 15-Mar-2017 coleenp

8155672: Remove instanceKlassHandles and KlassHandles
Summary: Summary: Use unhandled pointers for Klass and InstanceKlass, remove handles with no implementation.
Reviewed-by: dholmes, lfoltan, vlivanov, sspitsyn


# 10762:ea81fe138932 03-Apr-2016 jprovino

8132524: Missing includes to resourceArea.hpp
Summary: Files that use ResourceMark are missing the include of resourceArea.hpp
Reviewed-by: tschatzl, jwilhelm


# 9257:c8434ad4f332 26-Oct-2015 coleenp

8139163: InstanceKlass::cast passes through NULL
Summary: Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null
Reviewed-by: twisti, kbarrett


# 9099:115188e14c15 09-Oct-2015 david

8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso


# 9056:dc9930a04ab0 29-Sep-2015 david

8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden


# 8996:a71b0b9c84b9 18-Sep-2015 minqi

8135085: Change Method::_intrinsic_id from u1 to u2
Summary: Convert Method::_intrinsic_id from u1 to u2 to expand id range over 255.
Reviewed-by: coleenp, iklam, jiangli
Contributed-by: aleksey.shipilev@oracle.com


# 8638:767f36deb0dc 23-Jun-2015 bpittore

8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Summary: Need to add a space between macro identifier and string literal
Reviewed-by: stefank, dholmes, kbarrett


# 8290:382e9e4b3b71 27-Apr-2015 zmajo

8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
Summary: Introduce the PreserveFramePointer flag to control if RBP is used as the frame pointer or as a general purpose register.
Reviewed-by: kvn, roland, dlong, enevill, shade


# 7864:6a5be7f00868 13-Feb-2015 stefank

8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes


# 6412:53a41e7cbe05 09-May-2014 drchase

8037816: Fix for 8036122 breaks build with Xcode5/clang
Summary: Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank


# 5367:268e7a2178d7 03-Oct-2013 iveresov

Merge


# 5365:dc261f466b6d 27-Sep-2013 drchase

8025260: Methodhandles/JSR292: NullPointerException (NPE) thrown instead of AbstractMethodError (AME)
Summary: Copied null-checks from templateInterpreter_CPU into methodHandles_CPU
Reviewed-by: jrose, twisti


# 5349:190899198332 26-Sep-2013 hseigel

7195622: CheckUnhandledOops has limited usefulness now
Summary: Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
Contributed-by: lois.foltan@oracle.com


# 4454:cc32ccaaf47f 04-Apr-2013 mikael

8003310: Enable -Wunused-function when compiling with gcc
Summary: Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn


# 3903:fd74228fd5ca 10-Dec-2012 jiangli

8004076: Move _max_locals and _size_of_parameters to ConstMethod for better sharing.
Summary: Move _max_locals and _size_of_parameters to ConstMethod for better sharing.
Reviewed-by: coleenp, minqi, jrose


# 3883:cd3d6a6b95d9 30-Nov-2012 twisti

8003240: x86: move MacroAssembler into separate file
Reviewed-by: kvn


# 3723:65d07d9ee446 08-Oct-2012 twisti

8000263: JSR 292: signature types may appear to be unloaded
Reviewed-by: kvn, jrose


# 3666:2cb2f30450c7 17-Sep-2012 twisti

7196262: JSR 292: java/lang/invoke/PrivateInvokeTest.java fails on solaris-sparc
Reviewed-by: kvn, jrose, bdelsart


# 3617:75f33eecc1b3 11-Sep-2012 coleenp

7196681: NPG: Some JSR 292 tests crash in Windows exception handler
Summary: There was a rogue os::breakpoint() call in log_dependency left over from the jsr292 merge. Also changed verify_oop() calls for metadata to verify_{method,klass}_ptr.
Reviewed-by: kvn, twisti


# 3602:da91efe96a93 01-Sep-2012 coleenp

6964458: Reimplement class meta-data storage to use native memory
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>


# 3534:1d7922586cf6 24-Jul-2012 twisti

7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI
Summary: remove assembly code for JDK 7 chained method handles
Reviewed-by: jrose, twisti, kvn, mhaupt
Contributed-by: John Rose <john.r.rose@oracle.com>, Christian Thalinger <christian.thalinger@oracle.com>, Michael Haupt <michael.haupt@oracle.com>


# 3131:45a1bf98f1bb 13-Feb-2012 twisti

7141329: Strange values of stack_size in -XX:+TraceMethodHandles output
Reviewed-by: kvn, never


# 3066:392a3f07d567 02-Feb-2012 twisti

7141637: JSR 292: MH spread invoker crashes with NULL argument on x86_32
Reviewed-by: twisti
Contributed-by: Volker Simonis <volker.simonis@gmail.com>


# 3016:5dbed2f542ff 26-Jan-2012 bdelsart

7120468: SPARC/x86: use frame::describe to enhance trace_method_handle
Summary: improvements of TraceMethodHandles for JSR292
Reviewed-by: never, twisti


# 3010:82e5a84b7436 24-Jan-2012 bdelsart

7120450: complete information dumped by frame_describe
Summary: improvements of frame_describe
Reviewed-by: never, twisti


# 2999:15d394228cfa 19-Jan-2012 jrose

7111138: delete the obsolete flag -XX:+UseRicochetFrames
Reviewed-by: dholmes, bdelsart, kvn, twisti


# 2956:069ab3f976d3 07-Dec-2011 stefank

7118863: Move sizeof(klassOopDesc) into the *Klass::*_offset_in_bytes() functions
Summary: Moved sizeof(klassOopDesc), changed the return type to ByteSize and removed the _in_bytes suffix.
Reviewed-by: never, bdelsart, coleenp, jrose


# 2820:44ce519bc3d1 08-Nov-2011 never

7104960: JSR 292: +VerifyMethodHandles in product JVM can overflow buffer
Reviewed-by: kvn, jrose, twisti


# 2761:0abefdb54d21 11-Oct-2011 twisti

7081938: JSR292: assert(magic_number_2() == MAGIC_NUMBER_2) failed
Reviewed-by: never, bdelsart


# 2701:c565834fb592 10-Sep-2011 never

7088020: SEGV in JNIHandleBlock::release_block
Reviewed-by: kvn, twisti


# 2670:c26de9aef2ed 02-Sep-2011 never

7071307: MethodHandle bimorphic inlining should consider the frequency
Reviewed-by: twisti, roland, kvn, iveresov


# 2611:a19c671188cb 08-Aug-2011 never

7075623: 6990212 broke raiseException in 64 bit
Reviewed-by: kvn, twisti


# 2570:341a57af9b0a 15-Jul-2011 never

6990212: JSR 292 JVMTI MethodEnter hook is not called for JSR 292 bootstrap and target methods
Summary: check for single stepping when dispatching invokes from method handles
Reviewed-by: coleenp, twisti, kvn, dsamersoff


# 2543:d83ac25d0304 16-Jun-2011 never

7055355: JSR 292: crash while throwing WrongMethodTypeException
Reviewed-by: jrose, twisti, bdelsart


# 2519:f8c9417e3571 14-Jun-2011 never

7052219: JSR 292: Crash in ~BufferBlob::MethodHandles adapters
Reviewed-by: twisti, kvn, jrose


# 2517:5cf771a79037 08-Jun-2011 jrose

7047697: MethodHandle.invokeExact call for wrong method causes VM failure if run with -Xcomp
Reviewed-by: never, twisti


# 2515:cba7b5c2d53f 03-Jun-2011 never

7045514: SPARC assembly code for JSR 292 ricochet frames
Reviewed-by: kvn, jrose


# 2485:a80577f854f9 17-May-2011 never

7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp
Reviewed-by: jrose


# 2468:fabcf26ee72f 12-May-2011 twisti

6998541: JSR 292 implement missing return-type conversion for OP_RETYPE_RAW
Reviewed-by: jrose, kvn, never


# 2460:167b70ff3abc 06-May-2011 never

6939861: JVM should handle more conversion operations
Reviewed-by: twisti, jrose


# 2433:2e038ad0c1d0 02-May-2011 never

7009361: JSR 292 Invalid value on stack on solaris-sparc with -Xcomp
Reviewed-by: kvn, twisti


# 2204:8033953d67ff 11-Mar-2011 jrose

7012648: move JSR 292 to package java.lang.invoke and adjust names
Summary: package and class renaming only; delete unused methods and classes
Reviewed-by: twisti


# 2168:1b4e6a5d98e0 28-Feb-2011 twisti

7012914: JSR 292 MethodHandlesTest C1: frame::verify_return_pc(return_address) failed: must be a return pc
Reviewed-by: never, bdelsart


# 2130:28bf941f445e 14-Feb-2011 twisti

7018378: JSR 292: _bound_int_mh produces wrong result on 64-bit SPARC
Reviewed-by: kvn


# 2001:d810e9a3fc33 10-Jan-2011 twisti

7010180: JSR 292 InvokeDynamicPrintArgs fails with: assert(_adapter == NULL) failed: init'd to NULL
Reviewed-by: never


# 1976:8d0b933dda2d 22-Dec-2010 twisti

7007377: JSR 292 MethodHandlesTest.testCastFailure fails on SPARC with -Xcomp +DeoptimizeALot
Reviewed-by: kvn, jrose


# 1879:f95d63e2154a 23-Nov-2010 stefank

6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg


# 1792:beba40b26a79 15-Oct-2010 acorn

Merge


# 1791:75b0735b4d04 13-Oct-2010 acorn

Merge


# 1788:3dc12ef8735e 07-Oct-2010 bobv

6989297: Integrate additional portability improvements
Reviewed-by: vladidan, dholmes


# 1787:b6aedd1acdc0 07-Oct-2010 coleenp

6983240: guarantee((Solaris::min_stack_allowed >= (StackYellowPages+StackRedPages...) wrong
Summary: min_stack_allowed is a compile time constant and Stack*Pages are settable
Reviewed-by: dholmes, kvn


# 1766:d55217dc206f 11-Oct-2010 twisti

6829194: JSR 292 needs to support compressed oops
Reviewed-by: kvn, jrose


# 1738:c93c652551b5 24-Sep-2010 twisti

6986944: JSR 292 assert(caller_nm->is_method_handle_return(caller_frame.pc())) failed: must be MH call site
Reviewed-by: never, kvn


# 1713:d257356e35f0 14-Sep-2010 jrose

6939224: MethodHandle.invokeGeneric needs to perform the correct set of conversions
Reviewed-by: never


# 1472:c18cbe5936b8 27-May-2010 trims

6941466: Oracle rebranding changes for Hotspot repositories
Summary: Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair


# 1427:cd5dbf694d45 01-May-2010 jrose

6939134: JSR 292 adjustments to method handle invocation
Summary: split MethodHandle.invoke into invokeExact and invokeGeneric; also clean up JVM-to-Java interfaces
Reviewed-by: twisti


# 1426:2338d41fbd81 30-Apr-2010 twisti

6943304: remove tagged stack interpreter
Reviewed-by: coleenp, never, gbenson


# 1423:c640000b7cc1 29-Apr-2010 twisti

6829193: JSR 292 needs to support SPARC
Summary: There are unimplemented portions of the hotspot code for method handles and invokedynamic specific to SPARC.
Reviewed-by: kvn, never, jrose


# 1330:4a9cc99938e3 26-Mar-2010 acorn

Merge


# 1304:76c1d7d13ec5 18-Mar-2010 twisti

6932091: JSR 292 x86 code cleanup
Summary: Some code cleanups found during the JSR 292 SPARC port.
Reviewed-by: kvn, never


# 1293:51db1e4b379d 08-Mar-2010 twisti

6932536: JSR 292 modified JDK MethodHandlesTest fails on x86_64
Summary: A modified MethodHandlesTest revealed two bugs on x86_64.
Reviewed-by: never, jrose


# 1277:855c5171834c 23-Feb-2010 twisti

6928839: JSR 292 typo in x86 _adapter_check_cast
Summary: There is a small typo in methodHandles_x86.cpp.
Reviewed-by: kvn


# 1135:e66fd840cb6b 04-Jan-2010 twisti

6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164)
Summary: During the work for 6829187 we have fixed a number of basic bugs which are logically grouped with 6815692 and 6858164 but which must be reviewed and pushed separately.
Reviewed-by: kvn, never


# 1133:aa62b9388fce 04-Jan-2010 twisti

6894206: JVM needs a way to traverse method handle structures
Summary: We need a way to walk chained method handles in the JVM to call the right methods and to generate required bytecode adapters for the compilers.
Reviewed-by: kvn


# 1108:85f13cdfbc1d 15-Dec-2009 twisti

6829192: JSR 292 needs to support 64-bit x86
Summary: changes for method handles and invokedynamic
Reviewed-by: kvn


# 1039:987e948ebbc8 17-Oct-2009 jrose

6815692: method handle code needs some cleanup (post-6655638)
Summary: correctly raise exceptions, support safe bitwise "raw" conversions, fix bugs revealed by VerifyMethodHandles, remove dead code, improve debugging support
Reviewed-by: never, twisti


# 845:df6caf649ff7 14-Jul-2009 ysr

6700789: G1: Enable use of compressed oops with G1 heaps
Summary: Modifications to G1 so as to allow the use of compressed oops.
Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp


# 710:e5b0439ef4ae 08-Apr-2009 jrose

6655638: dynamic languages need method handles
Summary: initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.)
Reviewed-by: kvn, twisti, never