Skip to content

Instantly share code, notes, and snippets.

@chuckremes
Created December 28, 2017 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuckremes/1e377afce65bc9d79697904f684a7de8 to your computer and use it in GitHub Desktop.
Save chuckremes/1e377afce65bc9d79697904f684a7de8 to your computer and use it in GitHub Desktop.
(lldb) p *cache
(rubinius::CallSite::InlineCache) $0 = {
_receiver_class_ = 0x000000010380d150
_prediction_ = 0x000000011d6571f0
_method_missing_ = eNone
_hits_ = 886
_misses_ = 0
_execute_ = 0x0000000100066cd0 (rbx`rubinius::CallSite::InlineCache::invoke(rubinius::State*, rubinius::CallSite*, rubinius::CallSite::InlineCache*, rubinius::Arguments&) at call_site.hpp:134)
}
(lldb) p *cache->prediction()
(rubinius::MethodPrediction) $1 = {
rubinius::Prediction = {
rubinius::Object = {
rubinius::ObjectHeader = {
header = {
f = {
obj_type = MethodPredictionType
zone = MatureObjectZone
age = 30
meaning = eAuxWordEmpty
Forwarded = 0
Remember = 0
Marked = 5
InImmix = 1
InLarge = 0
Pinned = 0
Frozen = 0
Tainted = 0
LockContended = 0
unused = 0
aux_word = 0
}
flags64 = 54556978
}
_klass_ = 0x000000010380dba0
_ivars_ = 0x000000000000001a
__body__ = {}
}
}
_valid_ = 18446744073709551615
}
_module_ = 0x000000010380d150
_executable_ = 0x000000011d655f10
}
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment