History log of /openjdk10/hotspot/src/share/vm/oops/method.hpp
Revision Date Author Comments
# 13370:731370f39fcd 02-Aug-2017 iklam

8072061: Automatically determine optimal sizes for the CDS regions
Summary: See new C++ class MetaspaceClosure.
Reviewed-by: coleenp, jiangli, mseledtsov


# 13351:6ad02163b738 27-Jul-2017 coleenp

8183039: Re-examine methodHandle methods uninlined by 8144256
Summary: Add more const references so out-of-line methodHandle destructor and copy ctor called infrequently
Reviewed-by: hseigel, redestad


# 13249:a2753984d2c1 05-Jul-2017 stefank

8183552: Move align functions to align.hpp
Reviewed-by: stuefe, pliden


# 13243:7235bc30c0d7 04-Jul-2017 stefank

8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl


# 13242:fcb4803050e8 12-Apr-2017 stefank

8178489: Make align functions more type safe and consistent
Reviewed-by: mgerdin, rehn


# 13012:bb6c49bb6d6d 18-Apr-2017 jwilhelm

Merge


# 12965:b98b420f9f89 21-Mar-2017 hseigel

8176705: Remove static functions in InstanceKlass
Summary: Change static functions to instance functions and remove their 'this_k' parameters.
Reviewed-by: dholmes, mgerdin, iklam


# 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


# 12948:5f5ad7fa59fc 04-Mar-2017 iklam

8005165: Remove CPU-dependent code in self-patching vtables
Reviewed-by: coleenp, stuefe, jiangli


# 12739:f19b6d14a035 07-Apr-2017 aph

8170812: Metaspace corruption caused by incorrect memory size for MethodCounters
Reviewed-by: kbarrett, coleenp


# 12548:254d5e3a021f 17-Jan-2017 mgronlun

8171960: Event-based tracing needs separate flag representation for Method
Reviewed-by: hseigel, gtriantafill, dholmes


# 12408:777aaa19c4b1 11-Dec-2016 kvn

8171008: Integrate AOT compiler into JDK
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
Contributed-by: Bharadwaj Yadavalli <bharadwaj.yadavalli@oracle.com>, Christian Thalinger <cthalinger@twitter.com>, Dean Long <dean.long@oracle.com>, Dmitrij Pochepko <dmitrij.pochepko@oracle.com>, Dmitry Chuyko <dmitry.chuyko@oracle.com>, Doug Simon <doug.simon@oracle.com>, Eric Caspole <eric.caspole@oracle.com>, Igor Ignatyev <igor.ignatyev@oracle.com>, Igor Veresov <igor.veresov@oracle.com>, John Rose <john.r.rose@oracle.com>, Morris Meyer <morris.meyer@oracle.com>, Niclas Adlertz <niclas.adlertz@oracle.com>, Rickard Backman <rickard.backman@oracle.com>


# 12231:aa7e3876ea74 21-Oct-2016 neliasso

8166377: is_compiled_by_jvmci hot in some profiles - improve nmethod compiler type detection
Summary: Refactor code removing virtual call
Reviewed-by: kvn, twisti


# 12168:f482f393222d 18-Oct-2016 thartmann

8153134: Infinite loop in handle_wrong_method in jmod
Summary: Use Patching_lock to synchronize access between set_code() and clear_code().
Reviewed-by: kvn, dlong


# 12122:4962f9f46728 03-Oct-2016 dholmes

8081800: AbstractMethodError when evaluating a private method in an interface via debugger
Reviewed-by: acorn, dcubed, coleenp


# 11599:5d717aca1f9e 20-Apr-2016 jiangli

8153312: Constrain AppCDS behavior
Reviewed-by: iklam, acorn, mschoene


# 11546:ddd48aeebd7f 24-Jun-2016 kvn

Merge


# 11517:c558d46c1af2 15-Jun-2016 zmajo

8157181: Compilers accept modification of final fields outside initializer methods
Summary: Track initialized final field updates; disable constant folding if an update is detected. Enforce final field update rules introduced by JVMS-7 (but only for JDK 9).
Reviewed-by: vlivanov, dnsimon, forax, never, kvn, coleenp


# 11402:93c0acb58b92 07-Jun-2016 rprotacio

8153858: Clean up needed when obtaining the package name from a fully qualified class name
Summary: Consolidated and refactored code parsing fully qualified names. Includes gtest.
Reviewed-by: dholmes, coleenp


# 11090:98937e623982 28-Apr-2016 vlivanov

Merge


# 11079:69d081845165 26-Apr-2016 rbackman

8151956: Support non-continuous CodeBlobs in HotSpot
Reviewed-by: iveresov, thartmann, simonis


# 11006:70e16990581f 22-Apr-2016 amurillo

Merge


# 11005:56356bbe5476 21-Apr-2016 cjplummer

8148195: Some InstanceKlass and MethodCounters fields can be excluded when JVMTI is not supported
Summary: Removed "previous version", "cached class file", and breakpoint related fields and code when JVMTI is not supported
Reviewed-by: coleenp, sspitsyn


# 10886:aec300f2fdf2 07-Jan-2016 coleenp

8146518: Zero interpreter broken with better byte behaviours
Summary: replaced Method::_result_type_index with Method::_result_type for better byte behaviours should be used for Zero also.
Reviewed-by: roland, kvn, bdelsart, kevinw


# 10854:ba6ca5d9a5d0 11-Apr-2016 jwilhelm

Merge


# 10844:c04ff0bb5b8e 07-Apr-2016 ccheung

8145221: Use trampolines for i2i and i2c entries in Methods that are stored in CDS archive
Summary: This optimization reduces the size of the RW region of the CDS archive. It also reduces the amount of pages in the RW region that are actually written into during runtime.
Reviewed-by: dlong, iklam, jiangli
Contributed-by: ioi.lam@oracle.com, calvin.cheung@oracle.com, goetz.lindenmaier@sap.com


# 10786:1e653c794138 30-Mar-2016 cjplummer

8148639: Some MethodCounter fields can be excluded when not including C2
Summary: Removed _interpreter_invocation_count and _interpreter_throwout_count fields for C1
Reviewed-by: kvn, coleenp


# 10362:13f653804b97 03-Mar-2016 thartmann

8151130: [BACKOUT] Remove Method::_method_data for C1
Summary: Backing out the fix for JDK-8147978 because it fails and blocks integration.
Reviewed-by: vlivanov, zmajo


# 10357:41d58013ab47 26-Feb-2016 cjplummer

8147978: Remove Method::_method_data for C1
Summary: Method::_method_data field removed when not using C2 or JVMCI
Reviewed-by: dholmes, kvn


# 10159:832fc8bf51cb 30-Jan-2016 coleenp

8145628: hotspot metadata classes shouldn't use HeapWordSize or heap related macros like align_object_size
Summary: Use align_metadata_size, align_metadata_offset and is_metadata_aligned for metadata rather than align_object_size, etc. Use wordSize rather than HeapWordSize for metadata. Use align_ptr_up rather than align_pointer_up (all the related functions are ptr).
Reviewed-by: hseigel, jmasa, cjplummer


# 9950:4a2acca4e4f7 14-Jan-2016 jwilhelm

Merge


# 9918:50dd5b051754 07-Jan-2016 rprotacio

8141564: Convert TraceItables and PrintVtables to Unified Logging
Summary: The former -XX:+TraceItables and +PrintVtables flags have been converted to UL options -Xlog:itables=trace and vtables=trace
Reviewed-by: acorn, coleenp, dholmes


# 9801:80f8be586fae 18-Dec-2015 twisti

Merge


# 9789:abbdb25d068c 14-Dec-2015 twisti

8134994: use separate VMStructs databases for SA and JVMCI
Reviewed-by: kbarrett


# 9737:e286c9ccd58d 11-Dec-2015 fparain

8046936: JEP 270: Reserved Stack Areas for Critical Sections
Reviewed-by: acorn, dcubed


# 9684:cca80b5ad4d7 08-Dec-2015 mgronlun

8140485: Class load and creation cleanup
Reviewed-by: hseigel, coleenp, sspitsyn


# 9473:5132864a5d5f 13-Nov-2015 neliasso

Merge


# 9457:1d42c245cc87 10-Nov-2015 shade

8140650: Method::is_accessor should cover getters and setters for all types
Reviewed-by: vlivanov, coleenp, sgehwolf


# 9248:6ab7e19c9220 23-Oct-2015 coleenp

8140274: methodHandles and constantPoolHandles should be passed as const references
Summary: modified code to use const reference parameters
Reviewed-by: sspitsyn, twisti


# 9181:29c399fbbf25 20-Oct-2015 jprovino

Merge


# 9160:bc00f9701b9c 14-Oct-2015 minqi

8135284: Remove Method::_method_size field
Summary: Remove Method::_method_size to improve memory footprint after JDK-8135085,which increased 4 bytes for 32 platform. Also removed related unused code in SA.
Reviewed-by: coleenp, hseigel


# 9111:a41fe5ffa839 08-Oct-2015 twisti

8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett


# 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


# 8706:aec8e7843d43 15-Jul-2015 minqi

8025692: Log what methods are touched at run-time
Summary: Added two diagnostic flags, LogTouchedMethods and PrintTouchedMethodsAtExit to list all methods that have been touched at run time. Added new jcmd, VM.print_touched_methods.
Reviewed-by: acorn, iklam


# 8633:90922865a9d6 02-Jul-2015 zmajo

8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Summary: Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.
Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon


# 8514:5a9d5d58e667 11-Jun-2015 vlivanov

8074551: GWT can be marked non-compilable due to deopt count pollution
Reviewed-by: kvn


# 7914:a53f5508bf62 25-Feb-2015 sspitsyn

8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
Summary: optimize the adjust_method_entries functions by using the orig_method_idnum() function
Reviewed-by: coleenp, dcubed
Contributed-by: serguei.spitsyn@oracle.com


# 7384:0d599246de33 11-Nov-2014 thartmann

8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
Summary: Always use MDO if valid and always compile trivial methods with C1 if available.
Reviewed-by: kvn, iveresov


# 7338:5ba37c4c0578 05-Nov-2014 jmanson

8062116: JVMTI GetClassMethods is Slow
Summary: Allocate enough space for all jmethodids; make adding a jmethodid O(1)
Reviewed-by: coleenp, rasbold, sspitsyn


# 7294:d30c8335bb6f 30-Oct-2014 thartmann

8061817: Whitebox.deoptimizeMethod() does not deoptimize all OSR versions of method
Summary: Fixed Whitebox.deoptimizeMethod() to deoptimize all OSR versions of the method.
Reviewed-by: kvn, iignatyev


# 7084:75e7ad74fba8 17-Sep-2014 iveresov

8058564: Tiered compilation performance drop in PIT
Summary: Ensure MethodCounters are created before method is enqueued for compilation
Reviewed-by: kvn, drchase, jiangli


# 7012:e3fb51ae8d7d 03-Sep-2014 coleenp

8055008: Clean up code that saves the previous versions of redefined classes
Summary: Use scratch_class to find EMCP methods for breakpoints if the old methods are still running.
Reviewed-by: dcubed, sspitsyn


# 6802:d7ca170d0b32 30-Jul-2014 coleenp

8051398: jvmti tests fieldacc002, fieldmod002 fail in nightly with errors: (watch#0) wrong location
Summary: Didn't handle NULL bcp for native methods
Reviewed-by: dcubed, sspitsyn


# 6759:ecdcd96f051a 17-Jul-2014 coleenp

8004128: NPG: remove stackwalking in Threads::gc_prologue and gc_epilogue code
Summary: remove bcx and mdx handling. We no longer have to convert bytecode pointers to indices for GC since Methods aren't moved.
Reviewed-by: mgerdin, kvn


# 6449:e4d54c03efe7 17-May-2014 coleenp

Merge


# 6447:06bfb8cd7b78 16-May-2014 sspitsyn

8042796: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Summary: Relax the guaranty for deleted methods
Reviewed-by: dcubed, coleenp
Contributed-by: serguei.spitsyn@oracle.com


# 6445:743b82ecdcd5 15-May-2014 coleenp

8038212: Method::is_valid_method() check has performance regression impact for stackwalking
Summary: Only prune metaspace virtual spaces at safepoint so walking them is safe outside a safepoint.
Reviewed-by: mgerdin, mgronlun, hseigel, stefank


# 6431:99dc0ff1d4c7 11-Mar-2014 vlivanov

8023461: Thread holding lock at safepoint that vm can block on: MethodCompileQueue_lock
Reviewed-by: kvn, iveresov


# 6430:975d903e1de3 13-May-2014 iveresov

8032463: VirtualDispatch test timeout with DeoptimizeALot
Summary: Introduce code aging for warm method detection
Reviewed-by: kvn, twisti


# 6373:d02dbc95b60b 29-Apr-2014 anoll

8036956: remove EnableInvokeDynamic flag
Summary: The EnableInvokeDynamic flag and all support code is removed because it is not longer used in JDK 9.
Reviewed-by: kvn, twisti
Contributed-by: Tobias Hartmann <tobias.hartmann@oracle.com>


# 6274:b60835354c41 08-Apr-2014 coleenp

8028497: SIGSEGV at ClassLoaderData::oops_do(OopClosure*, KlassClosure*, bool)
Summary: Keep class in CLD::_klasses list and mirror created for CDS classes if OOM during restore_shareable_info(). This keeps pointers consistent for CMS.
Reviewed-by: ehelin, stefank, jmasa, iklam


# 6225:7cf6868b207a 03-Apr-2014 bharadwaj

Merge


# 6217:f4bd873722eb 31-Mar-2014 roland

8037970: make PrintMethodData a diagnostic options
Summary: make PrintMethodData a diagnostic options for performance investigation
Reviewed-by: kvn, iveresov


# 6206:1299aaa80a0b 26-Mar-2014 coleenp

8031820: NPG: Fix remaining references to metadata as oops in comments
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool
Summary: Updated comments in metadata header files, and renamed this_oop variables to this_cp or this_k when referring to constant pool or classes.
Reviewed-by: stefank, jmasa


# 6116:8504393de66b 11-Mar-2014 twisti

8037043: put Method flag bits in predictable positions
Reviewed-by: kvn, coleenp


# 6014:8a9bb7821e28 19-Feb-2014 kvn

Merge


# 5997:3205e78d8193 02-Dec-2013 goetz

8029396: PPC64 (part 212): Several memory ordering fixes in C-code.
Summary: memory ordering fixes in GC and other runtime code showing on PPC64.
Reviewed-by: kvn, coleenp


# 5862:63a4eb8bcd23 23-Jan-2014 jwilhelm

8025856: Fix typos in the GC code
Summary: Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes


# 5487:f50418dfb1b7 13-Oct-2013 iveresov

Merge


# 5472:c775af091fe9 07-Oct-2013 twisti

8025566: EXCEPTION_ACCESS_VIOLATION in compiled by C1 String.valueOf method
Reviewed-by: kvn


# 5413:ac9cb1d5a202 06-Oct-2013 acorn

8009130: Lambda: Fix access controls, loader constraints.
Summary: New default methods list with inherited superinterface methods
Reviewed-by: minqi, sspitsyn, coleenp


# 5297:b2e698d2276c 13-Sep-2013 drchase

8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Summary: Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose


# 5203:8947af8a9cec 29-Aug-2013 vlivanov

8023976: assert(!CompilationPolicy::can_be_compiled(this, comp_level)) failed: sanity check
Reviewed-by: kvn, twisti


# 4790:603ca7e51354 24-Apr-2013 roland

8010460: Interpreter on some platforms loads ConstMethod::_max_stack and misses extra stack slots for JSR 292
Summary: ConstMethod::max_stack() doesn't account for JSR 292 appendix.
Reviewed-by: kvn


# 4664:8b40495b9381 13-May-2013 minqi

Merge


# 4662:92ef81e2f571 10-May-2013 minqi

8003557: NPG: Klass* const k should be const Klass* k.
Summary: With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*.
Reviewed-by: coleenp, kvn
Contributed-by: yumin.qi@oracle.com


# 4630:e60b3fce2b02 06-May-2013 jiangli

8013067: Zero builds are broken after 8010862.
Summary: Fixed broken Zero build.
Reviewed-by: twisti, coleenp, kvn


# 4503:8df6ddda8090 15-Apr-2013 jiangli

Merge


# 4501:aeaca88565e6 09-Apr-2013 jiangli

8010862: The Method counter fields used for profiling can be allocated lazily.
Summary: Allocate the method's profiling related metadata until they are needed.
Reviewed-by: coleenp, roland


# 4473:b84fd7d73702 09-Apr-2013 iignatyev

8007288: Additional WB API for compiler's testing
Reviewed-by: kvn, vlivanov


# 4431:16885e702c88 25-Mar-2013 twisti

7198429: need checked categorization of caller-sensitive methods in the JDK
Reviewed-by: kvn, jrose


# 4174:56c364daccc3 19-Feb-2013 emc

8007153: Ensure that MethodParameters API works properly with RedefineClasses
Summary: Adds code to HotSpot to properly update MethodParameter attributes' constant pool indexes when redefineClasses is called
Reviewed-by: coleenp, sspitsyn


# 4137:927a311d00f9 11-Feb-2013 coleenp

8007320: NPG: move method annotations
Summary: allocate method annotations and attach to ConstMethod if present
Reviewed-by: dcubed, jiangli, sspitsyn, iklam


# 4131:461a3adac4d1 08-Feb-2013 sspitsyn

Merge


# 4127:8d9fc28831cc 06-Feb-2013 dcubed

7182152: Instrumentation hot swap test incorrect monitor count
Summary: Add/refine new tracing support using -XX:TraceRedefineClasses=16384.
Reviewed-by: coleenp, acorn, sspitsyn


# 4106:d05ff4bf41b3 07-Feb-2013 vlivanov

Merge


# 4104:6a51fc70a15e 05-Feb-2013 vlivanov

8006613: adding reason to made_not_compilable
Reviewed-by: kvn, vlivanov
Contributed-by: Igor Ignatyev <igor.ignatyev@oracle.com>


# 4075:1eae78177059 01-Feb-2013 jiangli

Merge


# 4074:44c5fcd9cb25 24-Jan-2013 iklam

8006280: Need to reorder metadata structures to reduce size (64-bit)
Summary: Reordered Klass, InstanceKlass and Method to save 8 bytes each
Reviewed-by: coleenp, jiangli
Contributed-by: ioi.lam@oracle.com


# 4062:16fb9f942703 25-Jan-2013 acorn

6479360: PrintClassHistogram improvements
Summary: jcmd <pid> GC.class_stats (UnlockDiagnosticVMOptions)
Reviewed-by: coleenp, hseigel, sla, acorn
Contributed-by: ioi.lam@oracle.com


# 3971:18c3c3fa291b 09-Jan-2013 dlong

Merge


# 3970:0c8717a92b2d 08-Jan-2013 jiangli

8001341: SIGSEGV in methodOopDesc::fast_exception_handler_bci_for(KlassHandle,int,Thread*)+0x3e9.
Summary: Use methodHandle.
Reviewed-by: coleenp, acorn, twisti, sspitsyn


# 3963:ade95d680b42 08-Jan-2013 coleenp

8004728: Add hotspot support for parameter reflection
Summary: Add hotspot support for parameter reflection
Reviewed-by: acorn, jrose, coleenp
Contributed-by: eric.mccorkle@oracle.com


# 3959:4daebd4cc1dd 24-Dec-2012 minqi

Merge


# 3958:35431a769282 20-Dec-2012 stefank

8004823: Add VM support for type annotation reflection
Reviewed-by: dholmes, coleenp
Contributed-by: joel.franck@oracle.com


# 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


# 3868:5505fbbae3d3 29-Nov-2012 cjplummer

Merge


# 3867:b2dbd323c668 27-Nov-2012 jiangli

8003848: Make ConstMethod::generic_signature_index optional and move Method::_max_stack to ConstMethod.
Summary: Make ConstMethod::generic_signature_index optional and move Method::_max_stack to ConstMethod.
Reviewed-by: bdelsart, sspitsyn, coleenp


# 3860:59c790074993 28-Nov-2012 coleenp

8003635: NPG: AsynchGetCallTrace broken by Method* virtual call
Summary: Make metaspace::contains be lock free and used to see if something is in metaspace, also compare Method* with vtbl pointer.
Reviewed-by: dholmes, sspitsyn, dcubed, jmasa


# 3816:18fb7da42534 06-Nov-2012 coleenp

8000725: NPG: method_holder() and pool_holder() and pool_holder field should be InstanceKlass
Summary: Change types of above methods and field to InstanceKlass and remove unneeded casts from the source files.
Reviewed-by: dholmes, coleenp, zgu
Contributed-by: harold.seigel@oracle.com


# 3810:4735d2c84362 10-Oct-2012 kamg

7200776: Implement default methods in interfaces
Summary: Add generic type analysis and default method selection algorithms
Reviewed-by: coleenp, acorn


# 3676:9191895df19d 24-Sep-2012 twisti

7200001: failed C1 OSR compile doesn't get recompiled with C2
Reviewed-by: kvn


# 3610:fa6e618671d7 05-Sep-2012 coleenp

7195867: NPG: SAJDI tests fail with sun.jvm.hotspot.types.WrongTypeException: No suitable match for type
Summary: Need to restore the vtable in metadata when we restore the type from the shared archive.
Reviewed-by: acorn, jcoomes, jmasa, jrose


# 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>