#include <dll.hpp>
Inheritance diagram for CompiledDLL_Cache:
Public Member Functions | |
symbolOop | dll_name () |
symbolOop | function_name () |
dll_func | entry_point () |
bool | async () const |
void | set_entry_point (dll_func f) |
void | verify () |
void | print () |
Private Types | |
test_2_instruction_offset = -NativeCall::instruction_size - NativeTest::instruction_size | |
test_1_instruction_offset = test_2_instruction_offset - NativeTest::instruction_size | |
mov_edx_instruction_offset = test_1_instruction_offset - NativeMov::instruction_size | |
enum | Layout_constants { test_2_instruction_offset = -NativeCall::instruction_size - NativeTest::instruction_size, test_1_instruction_offset = test_2_instruction_offset - NativeTest::instruction_size, mov_edx_instruction_offset = test_1_instruction_offset - NativeMov::instruction_size } |
Private Member Functions | |
NativeMov * | mov_at (int offset) |
NativeTest * | test_at (int offset) |
Friends | |
CompiledDLL_Cache * | compiledDLL_Cache_from_return_address (char *return_address) |
CompiledDLL_Cache * | compiledDLL_Cache_from_relocInfo (char *displacement_address) |
Definition at line 56 of file dll.hpp.
enum CompiledDLL_Cache::Layout_constants [private] |
bool CompiledDLL_Cache::async | ( | ) | const |
Definition at line 49 of file dll.cpp.
References StubRoutines::call_DLL_entry(), NativeCall::destination(), and StubRoutines::lookup_DLL_entry().
Referenced by DLLs::lookup_and_patch_CompiledDLL_Cache(), and print().
Here is the call graph for this function:
symbolOop CompiledDLL_Cache::dll_name | ( | ) | [inline] |
Definition at line 68 of file dll.hpp.
References test_1_instruction_offset, and test_at().
Referenced by DLLs::lookup_and_patch_CompiledDLL_Cache(), print(), and verify().
Here is the call graph for this function:
dll_func CompiledDLL_Cache::entry_point | ( | ) | [inline] |
Definition at line 70 of file dll.hpp.
References NativeMov::data(), mov_at(), and mov_edx_instruction_offset.
Referenced by DLLs::lookup_and_patch_CompiledDLL_Cache(), print(), and StubRoutines::trace_DLL_call_1().
Here is the call graph for this function:
symbolOop CompiledDLL_Cache::function_name | ( | ) | [inline] |
Definition at line 69 of file dll.hpp.
References test_2_instruction_offset, and test_at().
Referenced by DLLs::lookup_and_patch_CompiledDLL_Cache(), print(), and verify().
Here is the call graph for this function:
NativeMov* CompiledDLL_Cache::mov_at | ( | int | offset | ) | [inline, private] |
Definition at line 64 of file dll.hpp.
References NativeInstruction::addr_at(), and nativeMov_at().
Referenced by entry_point(), set_entry_point(), and verify().
Here is the call graph for this function:
void CompiledDLL_Cache::print | ( | ) |
Reimplemented from NativeCall.
Definition at line 77 of file dll.cpp.
References async(), dll_name(), entry_point(), function_name(), outputStream::print(), oopDesc::print_value(), and std.
Referenced by StubRoutines::trace_DLL_call_1().
Here is the call graph for this function:
void CompiledDLL_Cache::set_entry_point | ( | dll_func | f | ) | [inline] |
Definition at line 72 of file dll.hpp.
References mov_at(), mov_edx_instruction_offset, and NativeMov::set_data().
Referenced by DLLs::lookup_and_patch_CompiledDLL_Cache().
Here is the call graph for this function:
NativeTest* CompiledDLL_Cache::test_at | ( | int | offset | ) | [inline, private] |
Definition at line 65 of file dll.hpp.
References NativeInstruction::addr_at(), and nativeTest_at().
Referenced by dll_name(), function_name(), and verify().
Here is the call graph for this function:
void CompiledDLL_Cache::verify | ( | ) |
Reimplemented from NativeCall.
Definition at line 57 of file dll.cpp.
References StubRoutines::call_DLL_entry(), NativeCall::destination(), dll_name(), fatal, fatal1, function_name(), StubRoutines::lookup_DLL_entry(), mov_at(), mov_edx_instruction_offset, test_1_instruction_offset, test_2_instruction_offset, test_at(), NativeCall::verify(), NativeTest::verify(), and NativeMov::verify().
Referenced by compiledDLL_Cache_from_return_address().
Here is the call graph for this function:
CompiledDLL_Cache* compiledDLL_Cache_from_relocInfo | ( | char * | displacement_address | ) | [friend] |
CompiledDLL_Cache* compiledDLL_Cache_from_return_address | ( | char * | return_address | ) | [friend] |