mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
Initial checkin of JSDT code Reviewed-by: acorn, sbohne
This commit is contained in:
parent
849e0dfc44
commit
f072bc9d3f
26 changed files with 2935 additions and 26 deletions
|
@ -472,3 +472,7 @@ address NativeGeneralJump::jump_destination() const {
|
|||
else
|
||||
return addr_at(0) + length + sbyte_at(offset);
|
||||
}
|
||||
|
||||
bool NativeInstruction::is_dtrace_trap() {
|
||||
return (*(int32_t*)this & 0xff) == 0xcc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue