equal
deleted
inserted
replaced
90 |
90 |
91 /* |
91 /* |
92 * Code copied to target process |
92 * Code copied to target process |
93 */ |
93 */ |
94 #pragma check_stack (off) |
94 #pragma check_stack (off) |
|
95 /* Switch off all runtime checks (checks caused by /RTC<x>). They cause the |
|
96 * generated code to contain relative jumps to check functions which make |
|
97 * the code position dependent. */ |
|
98 #pragma runtime_checks ("scu", off) |
95 DWORD WINAPI jvm_attach_thread_func(DataBlock *pData) |
99 DWORD WINAPI jvm_attach_thread_func(DataBlock *pData) |
96 { |
100 { |
97 HINSTANCE h; |
101 HINSTANCE h; |
98 EnqueueOperationFunc addr; |
102 EnqueueOperationFunc addr; |
99 |
103 |
120 |
124 |
121 /* This function marks the end of jvm_attach_thread_func. */ |
125 /* This function marks the end of jvm_attach_thread_func. */ |
122 void jvm_attach_thread_func_end (void) { |
126 void jvm_attach_thread_func_end (void) { |
123 } |
127 } |
124 #pragma check_stack |
128 #pragma check_stack |
125 |
129 #pragma runtime_checks ("scu", restore) |
126 |
130 |
127 /* |
131 /* |
128 * Class: sun_tools_attach_VirtualMachineImpl |
132 * Class: sun_tools_attach_VirtualMachineImpl |
129 * Method: init |
133 * Method: init |
130 * Signature: ()V |
134 * Signature: ()V |