Commit 7c135c3 1 parent 8bedb28 commit 7c135c3 Copy full SHA for 7c135c3
File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 83
83
// to unsafe functions, if we have such async exception conditions,
84
84
// and return immediately if that is the case.
85
85
//
86
- // We also use NoSafepointVerifier to block potential safepoints .
86
+ // We can't have safepoints in this code .
87
87
// It would be problematic if an async exception handshake were installed later on
88
88
// during another safepoint in the function, but before the memory access happens,
89
89
// as the memory will be freed after the handshake is installed. We must notice
97
97
// that is about to be freed. (i.e. there can be no UNSAFE_LEAF_SCOPED)
98
98
#define UNSAFE_ENTRY_SCOPED (result_type, header ) \
99
99
JVM_ENTRY (static result_type, header) \
100
- if (thread->has_async_exception_condition ()) {return (result_type)0 ;} \
101
- NoSafepointVerifier nsv;
100
+ if (thread->has_async_exception_condition ()) {return (result_type)0 ;}
102
101
103
102
#define UNSAFE_END JVM_END
104
103
You can’t perform that action at this time.
0 commit comments