commit | 1dad3f68b7f5a4a4cb2b281413357adc2309a8fd | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Oct 23 14:59:54 2015 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Mon Oct 26 19:10:55 2015 +0000 |
tree | df482d1f65e55a9a228c925e96532942fb25eb47 | |
parent | fe97bfeabcf99d470e7d974a68ec6b6641648396 [diff] [blame] |
Support garbage collection of JITted code. Change-Id: I9afc544460ae4fb31149644b6196ac7f5182c784
diff --git a/runtime/art_method.h b/runtime/art_method.h index 9f1495c..bb9804e 100644 --- a/runtime/art_method.h +++ b/runtime/art_method.h
@@ -433,6 +433,10 @@ return ++hotness_count_; } + void ClearCounter() { + hotness_count_ = 0; + } + const uint8_t* GetQuickenedInfo() SHARED_REQUIRES(Locks::mutator_lock_); // Returns the method header for the compiled code containing 'pc'. Note that runtime