File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 8383// to unsafe functions, if we have such async exception conditions,
8484// and return immediately if that is the case.
8585//
86- // We also use NoSafepointVerifier to block potential safepoints .
86+ // We can't have safepoints in this code .
8787// It would be problematic if an async exception handshake were installed later on
8888// during another safepoint in the function, but before the memory access happens,
8989// as the memory will be freed after the handshake is installed. We must notice
9797// that is about to be freed. (i.e. there can be no UNSAFE_LEAF_SCOPED)
9898#define UNSAFE_ENTRY_SCOPED (result_type, header ) \
9999 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 ;}
102101
103102#define UNSAFE_END JVM_END
104103
You can’t perform that action at this time.
0 commit comments