History log of /openjdk9/hotspot/src/share/vm/code/codeCache.cpp
Revision Date Author Comments
# 12793:7107dccce2b2 13-Jun-2017 dlong

8181757: NonNMethod heap in segmented CodeCache is not scanned in some cases
8171365: nsk/jvmti/scenarios/events/EM04/em04t001: many errors for missed events
Reviewed-by: thartmann, kvn


# 12624:ed9e29cd84f5 10-Feb-2017 zmajo

8173151: Code heap corruption due to incorrect inclusion test
Summary: Change inclusion test to use CodeBlob::code_begin() for AOT methods and start of CodeBlob otherwise. Added regression test.
Reviewed-by: thartmann, dlong, kvn


# 12595:a1d2a9d7e580 30-Jan-2017 vlivanov

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


# 12499:a5c9b33c4fc1 22-Dec-2016 goetz

8171924: Use SIZE_FORMAT to print size_t values.
Reviewed-by: dholmes, tschatzl, coleenp, goetz
Contributed-by: arno.zeller@sap.com


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


# 12253:59da89afe788 22-Sep-2016 goetz

8166560: [s390] Basic enablement of s390 port.
Summary: Also fix problem with ARM Elf configuration.
Reviewed-by: dholmes, coleenp


# 11965:25478ff8e163 30-Aug-2016 neliasso

8157024: CodeCache JFR events reporting wrong data
Summary: Fix scaling
Reviewed-by: kvn
Contributed-by: patric.hedlin@oralce.com


# 11886:e0a8f4132724 19-Aug-2016 thartmann

8064892: Non-methods code cache overflow is not handled correctly
Summary: Should keep track of requested code blob type for error reporting. Added additional debug output.
Reviewed-by: kvn, dpochepk


# 11079:69d081845165 26-Apr-2016 rbackman

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


# 11001:62bbabe55ba4 21-Apr-2016 thartmann

8086068: VM crashes with "-Xint -XX:+UseCompiler" options
Summary: Prevent incompatible compiler flag combination.
Reviewed-by: zmajo, kvn, ddmitriev


# 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


# 10564:5322bfdc760a 09-Mar-2016 jwilhelm

Merge


# 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


# 10086:9a75a19921a7 22-Jan-2016 neliasso

8063112: Compiler diagnostic commands should have locking instead of safepoint
Summary: Remove unnecessary vm-ops and add locking instead, improve output
Reviewed-by: kvn


# 9947:9a2baaa34464 14-Jan-2016 david

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


# 9869:9e01080a8b04 16-Dec-2015 sangheki

8144949: TestOptionsWithRanges -XX:NUMAInterleaveGranularity=2147483648 crashes VM
Summary: Changed max range to 2G/8192G for NUMAInterleaveGranularity and removed constraint function
Reviewed-by: jwilhelm, jmasa


# 9470:237053cb3e5a 16-Nov-2015 thartmann

8061436: Processing of options related to segmented code cache should be enhanced
Summary: Allow user to set code heap sizes individually and enhance checking of code cache flags.
Reviewed-by: kvn, roland


# 9462:231763c1883e 11-Nov-2015 twisti

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


# 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


# 9056:dc9930a04ab0 29-Sep-2015 david

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


# 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


# 8666:381272dfdd9f 01-Jul-2015 bdelsart

8087333: Optionally Pre-Generate the HotSpot Template Interpreter
Summary: Optional support for pregenerated template interpreter
Reviewed-by: coleenp, dholmes, kvn


# 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


# 8488:968044dba2a5 22-May-2015 thartmann

Merge


# 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


# 8417:38506b2c64ad 18-May-2015 jwilhelm

Merge


# 8413:92457dfb91bd 13-May-2015 pliden

8079792: GC directory structure cleanup
Reviewed-by: brutisso, stefank, david


# 8388:2838a6e381e1 14-May-2015 thartmann

Merge


# 8383:b94de5f1f6ee 11-May-2015 rbackman

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


# 8362:08b5dfe9bcb5 08-May-2015 hseigel

Merge


# 8358:ca3617a93575 02-May-2015 ccheung

Merge


# 8356:dee7fefc6935 30-Apr-2015 stuefe

8078628: linux-zero does not build without precompiled header
Summary: add missing includes
Reviewed-by: coleenp, stefank, sgehwolf


# 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


# 7956:be83b0955522 02-Mar-2015 vlivanov

Merge


# 7939:ff87d12995da 24-Feb-2015 vlivanov

Merge


# 7936:aa37799c0445 22-Feb-2015 thartmann

8072774: bigapps/Weblogic+medrec/nowarnings fails due to CodeHeap 'profiled nmethods' exhaustion
Summary: Store profiled code in the non-profiled code heap (and vice versa) if the code cache is really full.
Reviewed-by: kvn, iveresov


# 7901:89aef9b18319 20-Feb-2015 stefank

8073554: Remove unnecessary includes of markSweep[.inline].hpp
Reviewed-by: tschatzl, coleenp


# 7867:2f392e90f258 18-Feb-2015 stefank

8073387: Move VerifyOopClosures out from genOopClosures.hpp
Reviewed-by: brutisso, mgerdin, coleenp


# 7758:c1a17f52db53 27-Jan-2015 thartmann

8064940: JMH javac performance regressions on solaris-sparcv9 in 9-b34
Summary: Aligning code heap sizes to large page size if supported.
Reviewed-by: kvn, anoll


# 7721:4321214d5dbc 16-Jan-2015 ehelin

8066875: VirtualSpace does not use large pages
Reviewed-by: stefank, tschatzl, anoll, thartmann


# 7624:97bcb1787790 06-Jan-2015 coleenp

8067836: The Universe::flush_foo methods belong in CodeCache.
Summary: Move this code to CodeCache.
Reviewed-by: kbarrett, kvn


# 7462:a0dd995271c4 30-Nov-2014 coleenp

8060074: os::free() takes MemoryTrackingLevel but doesn't need it
Summary: Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
Contributed-by: max.ockner@oracle.com


# 7383:dfc5ef36035d 10-Nov-2014 iignatyev

8059624: Test task: WhiteBox API for testing segmented codecache feature
Reviewed-by: kvn, thartmann


# 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


# 7270:18c85ea84df6 17-Oct-2014 thartmann

8060196: 'CodeHeap is full' warning suggests to increase wrong code heap size
Summary: Fixed 'CodeHeap is full' warning to output the right CodeHeapSize flag.
Reviewed-by: kvn, anoll


# 7200:89dd05d51af5 05-Oct-2014 thartmann

8059559: SIGSEGV at CodeHeap::allocate(unsigned int, bool)
Summary: Create the non-profiled code heap if TieredStopAtLevel=0 is set because we compile method handle intrinsics.
Reviewed-by: kvn


# 7174:81dfb21dd396 01-Oct-2014 zmajo

8059390: code cache fills up for bigapps/Weblogic+medrec/nowarnings
Summary: Retrieve code heap in CodeCache::allocate(), ::report_codemem_full(), and ::unallocated_capacity() also if segmented code cache is disabled.
Reviewed-by: vlivanov, thartmann


# 7151:86dd08e14945 30-Sep-2014 thartmann

8059468: Fix PrintCodeCache output changed by JDK-8059137
Summary: Change output of PrintCodeCache to print "CodeCache" instead of "Code Cache" and change name of non-method code heap to non-nmethod code heap.
Reviewed-by: vlivanov, anoll


# 7150:3af889385bcf 30-Sep-2014 thartmann

8059137: MemoryPoolMXBeans for different code heaps should contain 'Code heap' in their names
Summary: The segmented code cache implementation registers a memory pool for each code heap. To be consistent with the "non-segmented" output, the names of these pools should contain the word "code heap".
Reviewed-by: kvn, sla, fzhinkin


# 7094:f111958ca117 19-Sep-2014 adlertz

Merge


# 7090:2f606e0c4866 18-Sep-2014 goetz

8058716: Add include missing in 8015774
Reviewed-by: kvn


# 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


# 7041:60dc381b2fbb 10-Sep-2014 neliasso

8054889: Compiler team's implementation task
Summary: Adding three new diagnostic commands for compiler
Reviewed-by: anoll, kvn, drchase


# 7034:9ac4db006cd5 05-Sep-2014 iveresov

8056154: JVM crash with EXCEPTION_ACCESS_VIOLATION when there are many threads running
Summary: Don't make compiled MH intrinsics not entrant when redefining classes
Reviewed-by: kvn, vlivanov


# 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


# 6428:c31d0c31e7bf 12-May-2014 twisti

Merge


# 6427:53acad1e7f52 09-May-2014 anoll

8029343: CodeCache::allocate increments '_number_of_blobs' even if allocation fails.
Summary: Incrementing the number of code blobs in CodeCache::allocate(...) is now only performed if allocation succeeds. The guarantee is fixed.
Reviewed-by: kvn, iveresov
Contributed-by: Tobias Hartmann <tobias.hartmann@oracle.com>


# 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


# 6111:480b0109db65 06-Mar-2014 anoll

8029799: vm/mlvm/anonloader/stress/oome prints warning: CodeHeap: # of free blocks > 10000
Summary: Double CodeCacheSegmentSize from 64 byte to 128 bytes if tiered compilation is enabled
Reviewed-by: kvn, twisti


# 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


# 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


# 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


# 4802:f2110083203d 10-Jun-2013 sla

8005849: JEP 167: Event-Based JVM Tracing
Reviewed-by: acorn, coleenp, sla
Contributed-by: Karen Kinnear <karen.kinnear@oracle.com>, Bengt Rutisson <bengt.rutisson@oracle.com>, Calvin Cheung <calvin.cheung@oracle.com>, Erik Gahlin <erik.gahlin@oracle.com>, Erik Helin <erik.helin@oracle.com>, Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>, Keith McGuigan <keith.mcguigan@oracle.com>, Mattias Tobiasson <mattias.tobiasson@oracle.com>, Markus Gronlund <markus.gronlund@oracle.com>, Mikael Auno <mikael.auno@oracle.com>, Nils Eliasson <nils.eliasson@oracle.com>, Nils Loodin <nils.loodin@oracle.com>, Rickard Backman <rickard.backman@oracle.com>, Staffan Larsen <staffan.larsen@oracle.com>, Stefan Karlsson <stefan.karlsson@oracle.com>, Yekaterina Kantserova <yekaterina.kantserova@oracle.com>


# 4716:91eba9f82325 16-May-2013 anoll

8012371: Adjust Tiered compile threshold according to available space in code cache
Summary: Added command line parameter to define a threshold at which C1 compilation threshold for is increased.
Reviewed-by: kvn, iveresov


# 4603:0cfa93c2fcc4 29-Apr-2013 neliasso

8012547: Code cache flushing can get stuck reclaming of memory
Summary: Keep sweeping regardless of if we are flushing
Reviewed-by: kvn, twisti


# 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


# 4003:9deda4d8e126 14-Jan-2013 vladidan

8005204: Code Cache Reduction: command line options implementation
Summary: Adding more detailed output on CodeCache usage
Reviewed-by: kvn, vladidan
Contributed-by: Alexander Harlap <alexander.harlap@oracle.com>


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


# 3465:d2a62e0f25eb 28-Jun-2012 zgu

6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking
Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain


# 2460:167b70ff3abc 06-May-2011 never

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


# 2329:dbccacb79c63 14-Apr-2011 iveresov

7036236: VM crashes assert((!inside_attrs()) || is_error_reported()) failed ...
Summary: Eliminate the race condition.
Reviewed-by: kvn


# 2310:3f49d30f8184 07-Apr-2011 never

7034957: acquiring lock CodeCache_lock/1 out of order with lock tty_lock/0 -- possible deadlock
Reviewed-by: iveresov


# 2304:527977d4f740 05-Apr-2011 never

7033779: CodeCache::largest_free_block may need to hold the CodeCache lock
Reviewed-by: 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


# 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


# 1979:51bd2d261853 29-Dec-2010 kvn

7008325: CodeCache exhausted on sparc starting from hs20b04
Summary: remove clear_scratch_buffer_blob and let init_scratch_buffer_blob free and allocate a new blob if required.
Reviewed-by: twisti


# 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


# 1827:1e9a9d2e6509 21-Oct-2010 never

6970683: improvements to hs_err output
Reviewed-by: kvn, jrose, dholmes, coleenp


# 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


# 1564:2a47bd84841f 08-Jul-2010 never

6965184: possible races in make_not_entrant_or_zombie
Reviewed-by: kvn


# 1499:e9ff18c4ace7 02-Jun-2010 jrose

Merge


# 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


# 1363:ed4f78aa9282 06-Apr-2010 twisti

6940520: CodeCache::scavenge_root_nmethods_do must fix oop relocations
Summary: ScavengeRootsInCode can lead to unfixed code-embedded oops.
Reviewed-by: kvn, never


# 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


# 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


# 0:a61af66fc99e 30-Nov-2007 duke

Initial load