-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] Update method references in jit info when hooking
Ensure that the previous jit info are still visible on the reference path, prevents jit garbage collector from recycling jit info because our backup method still uses them. I think this will be better than the previous implementation (force clearing possible references to these jit info in backup method). This may also fixes a possible hook inactivation when hooked methods are re-compiled by JIT.
- Loading branch information
Showing
4 changed files
with
118 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
#define PINE_LOG_H | ||
|
||
#include <android/log.h> | ||
#include <cstdlib> | ||
|
||
#define LOG_TAG "Pine" | ||
|
||
|