History log of /openjdk9/hotspot/src/share/vm/code/nmethod.cpp
Revision Date Author Comments
# 12595:a1d2a9d7e580 30-Jan-2017 vlivanov

8173338: C2: continuous CallSite relinkage eventually disables compilation for a method
Reviewed-by: jrose, dlong, kvn


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


# 12255:a0cf41abef5d 05-Oct-2016 goetz

8167184: [s390] Extend relocations for pc-relative instructions.
Reviewed-by: kvn


# 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


# 11857:d0fbf661cc16 21-Aug-2016 dholmes

8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
Summary: Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis


# 11658:8a5735c11a84 12-Jul-2016 goetz

8161258: Simplify including platform files.
Summary: Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.
Reviewed-by: dholmes, coleenp, kbarrett


# 11205:0e3de00effac 09-May-2016 rehn

8153535: Convert TraceRedefineClasses to Unified Logging
Reviewed-by: rprotacio, coleenp


# 11097:0679677b7de3 29-Apr-2016 mockner

8154110: Update class* and safepoint* logging subsystems
Summary: Refactored logging tags in class and safepoint subsystems.
Reviewed-by: coleenp, rehn, hseigel


# 11079:69d081845165 26-Apr-2016 rbackman

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


# 10989:95b8ce0f1228 06-Apr-2016 mdoerr

8153267: nmethod's exception cache not multi-thread safe
Reviewed-by: aph, jcm, kvn


# 10810:1b2d19e6b14d 07-Apr-2016 bharadwaj

Merge


# 10803:8b233711d4aa 05-Apr-2016 jcm

8067247: Crash: assert(method_holder->data() == 0 ...) failed: a) MT-unsafe modification of inline cache
Summary: Made invoker LambdaForm instance & its compiled form lifetime tightly coupled.
Reviewed-by: vlivanov


# 10781:20b66ba124e9 07-Apr-2016 dcubed

Merge


# 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


# 10756:4a0121d1e772 04-Apr-2016 stefank

8152632: Rename LogHandle(...) to Log(...)
Reviewed-by: brutisso, mlarsson, rprotacio


# 10564:5322bfdc760a 09-Mar-2016 jwilhelm

Merge


# 10544:a264a8ff29b0 29-Mar-2016 thartmann

Merge


# 10518:1fec7d381d2b 24-Mar-2016 thartmann

8136458: Remove "marked for reclamation" nmethod state
Summary: Removed "marked for reclamation" nmethod state because only sweeper sets nmethods to zombie.
Reviewed-by: kvn, neliasso


# 10515:1dac19bbc173 30-Mar-2016 thartmann

8152947: VM crash with assert(!removed || is_in_use()) failed: unused osr nmethod should be invalidated
Summary: Check OSR invalidation after nmethod state transition.
Reviewed-by: ddmitriev, vlivanov


# 10510:d88920c25ca1 21-Mar-2016 zmajo

Merge


# 10502:abe0f7310cc4 18-Mar-2016 thartmann

8023191: OSR nmethods should be flushed to free space in CodeCache
Summary: Treat OSR nmethods like normal nmethods and flush them if they are cold/unused.
Reviewed-by: kvn


# 10467:16356f8940ac 16-Mar-2016 jwilhelm

Merge


# 10465:c4597dc5ff71 07-Mar-2016 cvarming

8150013: ParNew: Prune nmethods scavengable list.
Summary: Speed up ParNew collections by pruning the list of scavengable nmethods.
Reviewed-by: jmasa, tonyp, twisti


# 10312:a97431603d3f 19-Feb-2016 vlivanov

7177745: JSR292: Many Callsite relinkages cause target method to always run in interpreter mode
Reviewed-by: jrose, kvn


# 10240:417cf2936379 16-Feb-2016 never

8149969: [JVMCI] PrintNMethods is ignored for CompilerToVM.installCode when not called from the broker
Reviewed-by: kvn


# 10212:fe043f3261cc 11-Feb-2016 jwilhelm

Merge


# 10179:49bb4aa253c3 03-Feb-2016 mockner

Merge


# 10178:3637ec3e50c2 03-Feb-2016 mockner

8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging.
Summary: TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.
Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
Contributed-by: max.ockner@oracle.com, ioi.lam@oracle.com


# 10083:f918c20107d9 03-Feb-2016 thartmann

8143897: Weblogic12medrec assert(handler_address == SharedRuntime::compute_compiled_exc_handler(nm, pc, exception, force_unwind, true)) failed: Must be the same
Summary: ExceptionCache read is lock-free and assume strong memory ordering in write code. Added storestore memory barrier in write path to handle this.
Reviewed-by: kvn, thartmann, dlong
Contributed-by: Jamsheed Mohammed <jamsheed.c.m@oracle.com>


# 10061:197538942788 28-Jan-2016 thartmann

Merge


# 10001:7672206096f1 11-Jan-2016 twisti

Merge


# 9997:116a12504a2f 18-Dec-2015 vlivanov

8071374: -XX:+PrintAssembly -XX:+PrintSignatureHandlers crash fastdebug VM with assert(limit == __null || limit <= nm->code_end()) in RelocIterator::initialize
Reviewed-by: kvn, iklam, shade


# 9950:4a2acca4e4f7 14-Jan-2016 jwilhelm

Merge


# 9947:9a2baaa34464 14-Jan-2016 david

8146690: Make all classes in GC follow the naming convention.
Reviewed-by: dholmes, stefank


# 9898:2794bc7859f5 07-Jan-2016 jprovino

Merge


# 9841:4416c4fc5960 07-Dec-2015 iklam

8144853: Print the names of callees in PrintAssembly/PrintInterpreter
Reviewed-by: dholmes, vlivanov


# 9801:80f8be586fae 18-Dec-2015 twisti

Merge


# 9798:1c9c87f80696 17-Dec-2015 dlong

8144852: Corrupted oop in nmethod
Reviewed-by: vlivanov


# 9774:8962380eb039 11-Dec-2015 vlivanov

8145137: Incorrect call signature can be used in nmethod::preserve_callee_argument_oops
Reviewed-by: roland, jrose


# 9758:d1ca1c4c2dcc 04-Dec-2015 never

8143571: [JVMCI] Double unregistering of nmethod during unloading
Reviewed-by: iveresov, twisti


# 9752:9988b390777b 04-Dec-2015 vlivanov

8072008: Emit direct call instead of linkTo* for recursive indy/MH.invoke* calls
Reviewed-by: jrose, dlong, aph, forax


# 9651:f7dc8eebc3f5 04-Dec-2015 dholmes

8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
Summary: Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64)
Reviewed-by: stuefe, bdelsart, dcubed


# 9473:5132864a5d5f 13-Nov-2015 neliasso

Merge


# 9462:231763c1883e 11-Nov-2015 twisti

8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
Reviewed-by: goetz, stefank


# 9455:1474303fbb0f 10-Nov-2015 never

8142436: [JVMCI] fix management of nmethod::_installed_code field
Reviewed-by: twisti


# 9446:125ebc94f667 09-Nov-2015 thartmann

8067378: Add segmented code heaps info into jfr events: vm/code_cache/stats and vm/code_cache/config
Summary: Added code heap specific information to code cache JFR events.
Reviewed-by: twisti, mgronlun


# 9383:19ed05bd68dc 11-Nov-2015 jprovino

Merge


# 9377:11486a585ba2 26-Oct-2015 stefank

8140584: nmethod::oops_do_marking_epilogue always runs verification code
Reviewed-by: tschatzl, kvn


# 9329:4c3c424e245f 04-Nov-2015 tschatzl

8141134: Remove unnecessary pragma warning(disable:4355) from GC code
Reviewed-by: ehelin, simonis, stuefe


# 9293:a20807e48002 06-Nov-2015 neliasso

Merge


# 9287:40bd4478a362 04-Nov-2015 twisti

8139170: JVMCI refresh
Reviewed-by: kvn


# 9281:e33baf2cad34 05-Nov-2015 jwilhelm

Merge


# 9266:4535697211eb 28-Oct-2015 coleenp

8139203: Consistent naming for klass type predicates
8138923: Remove oop coupling with InstanceKlass subclasses
Summary: Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.
Reviewed-by: jrose, lfoltan, stefank


# 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


# 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


# 9231:029a2b20b570 13-Oct-2015 stefank

8058563: InstanceKlass::_dependencies list isn't cleared from empty nmethodBucket entries
Reviewed-by: mgerdin, vlivanov


# 9191:a176d4737606 20-Oct-2015 neliasso

8137167: JEP165: Compiler Control: Implementation task
Summary: Compiler Control JEP
Reviewed-by: roland, twisti, zmajo, simonis


# 9149:a8a8604f890f 17-Oct-2015 dlong

Merge


# 9111:a41fe5ffa839 08-Oct-2015 twisti

8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, 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


# 8911:8f5648c43725 03-Sep-2015 neliasso

8135067: Preparatory refactorings for compiler control
Summary: Extract CompileTask and clean up
Reviewed-by: roland


# 8896:9df4555d2d7d 31-Aug-2015 thartmann

8134493: Cleaning inline caches of unloaded nmethods should be done in sweeper
Summary: Clean ICs of unloaded nmethods in sweeper to avoid impact on safepoint duration.
Reviewed-by: kvn, mdoerr


# 8889:c0ea5537dc8b 24-Aug-2015 thartmann

8075805: Crash while trying to release CompiledICHolder
Summary: Removed nmethod transition to zombie outside of sweeper. Added cleaning of ICs of unloaded nmethods.
Reviewed-by: kvn, iveresov


# 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


# 8546:6484a4b78372 15-Jun-2015 sjohanss

8077279: assert(ic->is_clean()) failed: IC should be clean
Reviewed-by: rbackman, thartmann


# 8484:54b7b0210ad6 15-May-2015 vlivanov

8079205: CallSite dependency tracking is broken after sun.misc.Cleaner became automatically cleared
Reviewed-by: roland, psandoz, plevart, kbarrett, jrose


# 8383:b94de5f1f6ee 11-May-2015 rbackman

8079797: assert(index >= 0 && index < _count) failed: check
Reviewed-by: kvn


# 8345:ffd0edf9df1b 05-May-2015 rbackman

8064458: OopMap class could be more compact
Reviewed-by: kvn, bdelsart


# 8281:a504928f42b5 17-Apr-2015 vlivanov

8057967: CallSite dependency tracking scales devastatingly poorly
Reviewed-by: jrose, roland, plevart, shade


# 8173:821a7a6c2d03 20-Mar-2015 vlivanov

8075266: Show runtime call details when printing machine code
Reviewed-by: jrose, kvn


# 8172:3e15c7d1cb5a 20-Mar-2015 vlivanov

8075269: Extend -XX:CompileCommand=print,* to work for MethodHandle.invokeBasic/linkTo*
Reviewed-by: jrose, kvn, dlong


# 7999:a0a3afa7859b 12-Mar-2015 coleenp

8061205: MetadataOnStackMark only needs to walk code cache during class redefinition
Summary: Only do full metadata walk during class redefinition and only walk handles during class unloading.
Reviewed-by: sspitsyn, stefank


# 7866:759a167d2381 16-Feb-2015 jwilhelm

Merge


# 7864:6a5be7f00868 13-Feb-2015 stefank

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


# 7847:70e539f62c3d 13-Feb-2015 ctornqvi

Merge


# 7837:9c3b4e28183c 12-Jan-2015 jbachorik

8068976: Remove JSDT implementation
Reviewed-by: sla, mchung, dholmes


# 7804:d853290566af 29-Jan-2015 zmajo

8071654: disassembler handles embedded OOPs not uniformly
Summary: Remove (currently dead) code that prints oops within disassembled instructions.
Reviewed-by: kvn, thartmann, roland


# 7289:598aa78fc24b 28-Oct-2014 iveresov

Merge


# 7280:956bdea3c7e0 24-Oct-2014 anoll

8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full.
Summary: Use separate sweeper thread; enables more aggressive sweeping.
Reviewed-by: kvn, jrose


# 7249:f1821f27f91c 02-Oct-2014 stefank

8056240: Investigate increased GC remark time after class unloading changes in CRM Fuse
Reviewed-by: mgerdin, coleenp, bdelsart


# 7144:026850ac0a7b 29-Sep-2014 thartmann

8058737: CodeCache::find_blob fails with 'unsafe access to zombie method'
Summary: Remove active ICStubs from zombie nmethods
Reviewed-by: kvn, iveresov


# 7081:39231c6e51fe 17-Sep-2014 thartmann

8015774: Add support for multiple code heaps
Summary: Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.
Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla


# 7072:087443edb74a 15-Sep-2014 thartmann

8048721: -XX:+PrintCompilation prints negative bci for non entrant OSR methods
Summary: Removed 'InvalidOSREntryBci' and checking nmethod::_state instead to determine if an osr method is non-entrant.
Reviewed-by: kvn, vlivanov, drchase


# 7017:479ed4234a9d 05-Sep-2014 coleenp

8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid
Summary: Revert two small changes from the previous-versions cleanup with marking code cache.
Reviewed-by: kvn, dcubed


# 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


# 6707:a2122d7912ed 07-Jul-2014 stefank

8049421: G1 Class Unloading after completing a concurrent mark cycle
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
Contributed-by: stefan.karlsson@oracle.com, mikael.gerdin@oracle.com


# 6706:41bfe3e1b3dd 06-Jul-2014 stefank

8049420: Backout 8048248 to correct attribution
Reviewed-by: ehelin, brutisso


# 6705:639dfa793a2a 07-Jul-2014 stefank

8048248: G1 Class Unloading after completing a concurrent mark cycle
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov


# 6701:1d62ae819013 01-Jul-2014 stefank

8047362: Add a version of CompiledIC_at that doesn't create a new RelocIterator
Reviewed-by: iveresov, mgerdin


# 6652:1b23c821b5e4 24-Jun-2014 stefank

8047373: Clean the ExceptionCache in one pass
Summary: Also-reviewed-by: kim.barrett@oracle.com
Reviewed-by: jmasa, jwilhelm


# 6647:1e9f18eb3a84 23-Jun-2014 pliden

8046231: G1: Code root location ... from nmethod ... not in strong code roots for region
Reviewed-by: tschatzl, ehelin


# 6646:b596a1063e90 04-Jun-2014 goetz

8044775: Improve usage of umbrella header atomic.inline.hpp.
Reviewed-by: stefank, kvn


# 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


# 6402:2377269bd73d 29-Apr-2014 goetz

8042195: Introduce umbrella header orderAccess.inline.hpp.
Reviewed-by: dholmes, kvn, stefank, twisti


# 6368:590c234f1f5e 28-Apr-2014 anoll

Merge


# 6367:ccbe4f8119b6 27-Apr-2014 anoll

8040085: dtrace/jsdt tests crash on solaris. found an unadvertised bad scavengable oop in the code cache
Summary: Add CodeCache::add_scavenge_root_nmethod(this) to the dtrace-constructor of nmethod
Reviewed-by: roland, iveresov


# 6360:9f916a62b252 24-Apr-2014 anoll

8041468: Field nmethod::_lock_count should be declared volatile
Summary: The jint field nmethod::_lock_count which is used in nmethodLocker::lock_nmethod and nmethodLocker::unlock_nmethod should be declared volatile (see also signature of Atomic::inc)
Reviewed-by: kvn, roland
Contributed-by: Tobias Hartmann <tobias.hartmann@oracle.com>


# 6182:2f459c5235f9 20-Mar-2014 kvn

8031320: Use Intel RTM instructions for locks
Summary: Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed


# 6084:3c6ae9109a86 03-Mar-2014 anoll

8035946: Use ResourceHashtable for dependency checking
Summary: Use ResourceHashtable for dependency checking and delete GenericHashtable
Reviewed-by: kvn, coleenp


# 6060:b3fe59626fdc 26-Feb-2014 anoll

Merge


# 6059:524b54a7f1b5 26-Feb-2014 anoll

8034839: jvm hangs with gc/gctests/LoadUnloadGC test
Summary: Provide fast lookup of checked dependencies via hashmap
Reviewed-by: kvn, roland


# 6019:28f281e8de1d 20-Feb-2014 kvn

Merge


# 6010:abec000618bf 28-Jan-2014 kvn

Merge


# 5992:4cdf4f71177d 22-Nov-2013 goetz

8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object.
Summary: Also introduces the compiler oracle 'option' feature for PrintAssembly.
Reviewed-by: kvn


# 5989:da862781b584 21-Nov-2013 kvn

Merge


# 5976:2b8e28fdf503 05-Nov-2013 kvn

Merge


# 5966:e2722a66aba7 05-Sep-2013 kvn

Merge


# 5965:bdd155477289 22-Aug-2013 goetz

8023033: PPC64 (part 13): basic changes for AIX
Summary: Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank


# 5934:e6195383bcaf 18-Feb-2014 sla

8034080: Remove the USDT1 dtrace code from Hotspot
Reviewed-by: dholmes, coleenp


# 5817:3aaa4b9966f6 14-Jan-2014 anoll

7194669: CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times
Summary: Avoid verifying dependencies multiple times by caching verified dependencies
Reviewed-by: kvn, twisti, roland


# 5765:22ae97935e05 06-Dec-2013 kvn

8028107: Kitchensink crashed with EAV
Summary: check the state of caller and callee nmethods and skip call site patching if any of them is not alive
Reviewed-by: jrose, twisti


# 5664:78da3894b86f 12-Nov-2013 anoll

8027593: performance drop with constrained codecache starting with hs25 b111
Summary: Fixed proper sweeping of small code cache sizes
Reviewed-by: kvn, iveresov


# 5661:e2509677809c 08-Nov-2013 vlivanov

8023037: Race between ciEnv::register_method and nmethod::make_not_entrant_or_zombie
Reviewed-by: kvn, iveresov


# 5367:268e7a2178d7 03-Oct-2013 iveresov

Merge


# 5357:510fbd28919c 27-Sep-2013 anoll

8020151: PSR:PERF Large performance regressions when code cache is filled
Summary: Code cache sweeping based on method hotness; removed speculatively disconnect
Reviewed-by: kvn, iveresov


# 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


# 5208:3bfb204913de 05-Sep-2013 adlertz

Merge


# 5194:e1fbb86b47e4 26-Aug-2013 roland

8016277: Crash in nmethod::is_compiled_by_c1() on x86
Summary: Method pointer for zombie methods may be invalid
Reviewed-by: kvn, coleenp


# 5179:9758d9f36299 29-Aug-2013 coleenp

8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
Summary: declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification
Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
Contributed-by: lois.foltan@oracle.com


# 5113:5888334c9c24 15-Aug-2013 johnc

7145569: G1: optimize nmethods scanning
Summary: Add a list of nmethods to the RSet for a region that contain references into the region. Skip scanning the code cache during root scanning and scan the nmethod lists during RSet scanning instead.
Reviewed-by: tschatzl, brutisso, mgerdin, twisti, kvn


# 4879:7875ea94bea5 24-Jun-2013 goetz

8017308: Remove unused breakpoint relocation type
Summary: remove unused breakpoint relocation type
Reviewed-by: kvn


# 4824:ef57c43512d6 13-Jun-2013 ccheung

8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Reviewed-by: dholmes, coleenp
Contributed-by: jeremymanson@google.com, calvin.cheung@oracle.com


# 4787:28e5aed7f3a6 31-May-2013 roland

8009981: nashorn tests fail with -XX:+VerifyStack
Summary: nmethod::preserve_callee_argument_oops() must take appendix into account.
Reviewed-by: kvn, twisti


# 4650:4674e409a9e6 07-May-2013 coleenp

8014024: NPG: keep compiled ic methods from being deallocated in redefine classes
Summary: Walk the compiledIC relocation records to keep Method* from being deallocated.
Reviewed-by: dlong, kvn


# 4517:a7fb14888912 11-Apr-2013 neliasso

8006952: Slow VM due to excessive code cache freelist iteration
Summary: Remove continous free block requirement
Reviewed-by: kvn


# 4429:3c786355ffb4 23-Mar-2013 morris

8009026: [parfait] Null pointer deference in hotspot/src/share/vm/code/nmethod.cpp
Summary: add guarantee() to nmethod constructor and checks to ensure CodeCache has space before allocation
Reviewed-by: kvn


# 3843:070d523b96a7 12-Nov-2012 hseigel

8001471: Klass::cast() does nothing
Summary: Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp


# 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


# 3682:f2e12eb74117 28-Sep-2012 kvn

Merge


# 3672:b31471cdc53e 24-Sep-2012 kvn

7200163: add CodeComments functionality to assember stubs
Summary: Pass the codeBuffer to the Stub constructor, and adapts the disassembler to print the comments.
Reviewed-by: jrose, kvn, twisti
Contributed-by: goetz.lindenmaier@sap.com


# 3668:137868b7aa6f 17-Sep-2012 kvn

7196199: java/text/Bidi/Bug6665028.java failed: Bidi run count incorrect
Summary: Save whole XMM/YMM registers in safepoint interrupt handler.
Reviewed-by: roland, twisti


# 3666:2cb2f30450c7 17-Sep-2012 twisti

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


# 3663:8966c2d65d96 25-Sep-2012 brutisso

7200470: KeepAliveClosure not needed in CodeCache::do_unloading
Summary: Removed the unused keep_alive parameter
Reviewed-by: stefank, dholmes, kamg, coleenp


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


# 3065:0382d2b469b2 01-Feb-2012 never

7013347: allow crypto functions to be called inline to enhance performance
Reviewed-by: kvn


# 3064:aa3d708d67c4 01-Feb-2012 never

7141200: log some interesting information in ring buffers for crashes
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa


# 2767:436b4a3231bf 13-Oct-2011 dcubed

7098194: integrate macosx-port changes
Summary: Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Reviewed-by: kvn, dholmes, never, phh
Contributed-by: Christos Zoulas <christos@zoulas.com>, Greg Lewis <glewis@eyesbeyond.com>, Kurt Miller <kurt@intricatesoftware.com>, Alexander Strange <astrange@apple.com>, Mike Swingler <swingler@apple.com>, Roger Hoover <rhoover@apple.com>, Victor Hernandez <vhernandez@apple.com>, Pratik Solanki <psolanki@apple.com>


# 2664:c124e2e7463e 31-Aug-2011 never

7083786: dead various dead chunks of code
Reviewed-by: iveresov, kvn


# 2615:fdb992d83a87 16-Aug-2011 twisti

7071653: JSR 292: call site change notification should be pushed not pulled
Reviewed-by: kvn, never, bdelsart


# 2546:aabf25fa3f05 22-Jun-2011 never

7057587: JSR 292 - crash with jruby in test/test_respond_to.rb
Summary: don't skip receiver when GC'ing compiled invokedynamic callsites
Reviewed-by: twisti, kvn, jrose


# 2474:2aa9ddbb9e60 03-May-2011 jmasa

7041789: 30% perf regression with c2/arm following 7017732
Summary: Implement a more accurate is_scavengable()
Reviewed-by: stefank, jcoomes, ysr


# 2252:3d58a4983660 28-Mar-2011 twisti

7022998: JSR 292 recursive method handle calls inline themselves infinitely
Reviewed-by: never, kvn


# 2223:c7f3d0b4570f 18-Mar-2011 never

7017732: move static fields into Class to prepare for perm gen removal
Reviewed-by: kvn, coleenp, twisti, stefank


# 2222:d673ef06fe96 18-Mar-2011 never

7028374: race in fix_oop_relocations for scavengeable nmethods
Reviewed-by: kvn


# 2207:fc5ebbb2d1a8 18-Mar-2011 twisti

Merge


# 2200:1c0cf339481b 09-Mar-2011 kvn

7025742: Can not use CodeCache::unallocated_capacity() with fragmented CodeCache
Summary: Use largest_free_block() instead of unallocated_capacity().
Reviewed-by: iveresov, never, ysr


# 2196:4cd9add59b1e 04-Mar-2011 never

7024866: # assert(limit == NULL || limit <= nm->code_end()) failed: in bounds
Reviewed-by: kvn, iveresov


# 2190:65f880e2869b 15-Mar-2011 dcubed

Merge


# 2189:46a56fac55c7 15-Mar-2011 dcubed

7024970: 2/3 assert(ServiceThread::is_service_thread(Thread::current())) failed: Service thread must post enqueue
Summary: Change nmethod_lock() to also prevent zombification of the nmethod. CompiledMethodUnload events also need to lock the nmethod. Clean ups in nmethod::make_not_entrant_or_zombie()
Reviewed-by: dholmes, kamg, never, dsamersoff, ysr, coleenp, acorn


# 2186:3d5a546351ef 11-Mar-2011 phh

7023931: PcDescCache::find_pc_desc should not write _last_pc_desc
Summary: Remove _last_pc_desc and use pcdescs[0] instead.
Reviewed-by: dcubed, coleenp, ysr


# 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


# 2076:bf8517f4e4d0 02-Feb-2011 kamg

6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
Summary: Defer posting events from the compiler thread: use service thread
Reviewed-by: coleenp, dholmes, never, dcubed


# 2062:3582bf76420e 27-Jan-2011 coleenp

6990754: Use native memory and reference counting to implement SymbolTable
Summary: move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank


# 2027:8012aa3ccede 13-Jan-2011 never

4926272: methodOopDesc::method_from_bcp is unsafe
Reviewed-by: coleenp, jrose, kvn, dcubed


# 1982:5a1e52a439fa 07-Jan-2011 twisti

Merge


# 1971:7d9caaedafce 18-Dec-2010 twisti

6990933: assert(sender_cb) failed: sanity in frame::sender_for_interpreter_frame
Reviewed-by: never


# 1926:09b4dd4f152b 09-Dec-2010 kamg

7004582: Add GetThisObject() function to JVMTI 1.2
Summary: Add 'GetThisObject' function
Reviewed-by: never, coleenp


# 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


# 1765:a222fcfba398 08-Oct-2010 twisti

6990549: Zero and Shark fixes after 6978355 and 6953144
Reviewed-by: twisti
Contributed-by: Gary Benson <gbenson@redhat.com>


# 1704:ac4f710073ed 07-Sep-2010 iveresov

6982921: assert(_entry_bci != InvocationEntryBci) failed: wrong kind of nmethod
Summary: Assertion fails during print compilation because nmethod::print_on() calls osr_entry_bci() without checking that the method is an osr method. The fix adds an appropriate check.
Reviewed-by: never, twisti


# 1703:d5d065957597 03-Sep-2010 iveresov

6953144: Tiered compilation
Summary: Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation.
Reviewed-by: kvn, never, phh, twisti


# 1682:0878d7bae69f 27-Aug-2010 twisti

6961697: move nmethod constants section before instruction section
Summary: This is a preparation for 6961690.
Reviewed-by: kvn, never


# 1668:3e8fbc61cee8 25-Aug-2010 twisti

6978355: renaming for 6961697
Summary: This is the renaming part of 6961697 to keep the actual changes small for review.
Reviewed-by: kvn, never


# 1646:71faaa8e3ccc 12-Aug-2010 never

6974176: ShouldNotReachHere, instanceKlass.cpp:1426
Reviewed-by: kvn, twisti


# 1612:d2ede61b7a12 11-Aug-2010 twisti

6976186: integrate Shark HotSpot changes
Summary: Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure.
Reviewed-by: kvn, twisti
Contributed-by: Gary Benson <gbenson@redhat.com>


# 1611:4a665be40fd3 11-Aug-2010 twisti

6975855: don't emit deopt MH handler in C1 if not required
Summary: This CR implements the same for C1 as 6926782 for C2.
Reviewed-by: never


# 1564:2a47bd84841f 08-Jul-2010 never

6965184: possible races in make_not_entrant_or_zombie
Reviewed-by: kvn


# 1536:38e8278318ca 21-Jun-2010 never

6656830: assert((*p)->is_oop(),"expected an oop while scanning weak refs")
Reviewed-by: dcubed, kvn, twisti


# 1522:136b78722a08 09-Jun-2010 jrose

6939203: JSR 292 needs method handle constants
Summary: Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType; extend 'ldc' bytecode.
Reviewed-by: twisti, never


# 1499:e9ff18c4ace7 02-Jun-2010 jrose

Merge


# 1497:852d0157c696 02-Jun-2010 never

6956931: assert(SafepointSynchronize::is_at_safepoint()) failed: must be executed at a safepoint
Reviewed-by: kvn, dcubed


# 1483:1a5913bf5e19 20-May-2010 twisti

6951083: oops and relocations should part of nmethod not CodeBlob
Summary: This moves the oops from Codeblob to nmethod.
Reviewed-by: kvn, 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


# 1458:bfe29ec02863 17-May-2010 never

6950075: nmethod sweeper should operate concurrently
Reviewed-by: never, kvn
Contributed-by: eric.caspole@amd.com


# 1410:f03d0a26bf83 22-Apr-2010 jcoomes

6888954: argument formatting for assert() and friends
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed


# 1409:cff162798819 11-Oct-2009 jcoomes

6888953: some calls to function-like macros are missing semicolons
Reviewed-by: pbk, kvn


# 1378:9f5b60a14736 15-Apr-2010 never

6939930: exception unwind changes in 6919934 hurts compilation speed
Reviewed-by: twisti


# 1253:f70b0d9ab095 09-Feb-2010 kvn

6910618: C2: Error: assert(d->is_oop(),"JVM_ArrayCopy: dst not an oop")
Summary: Mark in PcDesc call sites which return oop and save the result oop across objects reallocation during deoptimization.
Reviewed-by: never


# 1250:3f5b7efb9642 05-Feb-2010 never

6920293: OptimizeStringConcat causing core dumps
Reviewed-by: kvn, twisti


# 1206:87684f1a88b5 01-Feb-2010 kvn

6614597: Performance variability in jvm2008 xml.validation
Summary: Fix incorrect marking of methods as not compilable.
Reviewed-by: never


# 1204:18a389214829 01-Feb-2010 twisti

6921352: JSR 292 needs its own deopt handler
Summary: We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not.
Reviewed-by: never, jrose


# 1202:5f24d0319e54 29-Jan-2010 kvn

4360113: Evict nmethods when code cache gets full
Summary: Speculatively unload the oldest nmethods when code cache gets full.
Reviewed-by: never, kvn
Contributed-by: eric.caspole@amd.com


# 1201:24128c2ffa87 29-Jan-2010 twisti

6921339: backout 6917766
Reviewed-by: mr


# 1200:ba263cfb7611 28-Jan-2010 twisti

6917766: JSR 292 needs its own deopt handler
Summary: We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not.
Reviewed-by: never, jrose


# 1155:4e6abf09f540 08-Jan-2010 jrose

6912062: disassembler plugin needs to produce symbolic information in product mode
Summary: More informative disassembly in product mode. Also, a more consistent CompileCommand syntax.
Reviewed-by: never


# 1141:b1f619d38249 05-Jan-2010 never

6914002: unsigned compare problem after 5057818
Reviewed-by: kvn, twisti


# 1138:dd57230ba8fe 05-Jan-2010 twisti

6893268: additional dynamic language related optimizations in C2
Summary: C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance.
Reviewed-by: kvn, never


# 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


# 1109:032260830071 16-Dec-2009 never

5057818: codecache full and compiler disabled in bigapps fastdebug run
Reviewed-by: kvn


# 994:753cf9794df9 24-Sep-2009 jrose

6885169: merge of 4957990 and 6863023 causes conflict on do_nmethods
Summary: After mechanically merging changes, some by-hand adjustments are needed.
Reviewed-by: ysr


# 993:54b3b351d6f9 24-Sep-2009 jrose

Merge


# 989:148e5441d916 15-Sep-2009 jrose

6863023: need non-perm oops in code cache for JSR 292
Summary: Make a special root-list for those few nmethods which might contain non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr


# 943:b1606b3c0a8a 04-Sep-2009 apetrusenko

Merge


# 941:8b46c4d82093 02-Sep-2009 ysr

4957990: Perm heap bloat in JVM
Summary: Treat ProfileData in MDO's as a source of weak, not strong, roots. Fixes the bug for stop-world collection -- the case of concurrent collection will be fixed separately.
Reviewed-by: jcoomes, jmasa, kvn, never


# 931:72088be4b386 20-Aug-2009 cfang

6873116: Modify reexecute implementation to use pcDesc to record the reexecute bit
Summary: use PcDesc to keep record of the reexecute bit instead of using DebugInfoStreams
Reviewed-by: kvn, never, twisti


# 605:98cb887364d3 27-Feb-2009 twisti

6810672: Comment typos
Summary: I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never


# 374:a4b729f5b611 30-Sep-2008 jcoomes

6716466: par compact - remove VerifyParallelOldWithMarkSweep code
Reviewed-by: jmasa


# 196:d1605aabd0a1 02-Jul-2008 xdono

6719955: Update copyright year
Summary: Update copyright year for files that have been modified in 2008
Reviewed-by: ohair, tbell


# 116:018d5b58dd4f 17-Apr-2008 kamg

6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
Summary: Initial checkin of JSDT code
Reviewed-by: acorn, sbohne


# 100:c7c777385a15 02-Apr-2008 jrose

6667042: PrintAssembly option does not work without special plugin
Summary: remove old private plugin interface, simplify, rework old plugin to use unchanged Gnu sources
Reviewed-by: kvn, rasbold


# 30:65a06b4a51b8 27-Feb-2008 jrose

6610906: inexplicable IncompatibleClassChangeError
Summary: dependency check must treat polymorphic interfaces consistently
Reviewed-by: kvn, never, sgoldman


# 0:a61af66fc99e 30-Nov-2007 duke

Initial load