forked from eclipse-omr/omr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add J9HookInterface.J9HookUnreserve() to clear flag J9HOOK_FLAG_RESERVED
J9HookRegister() sets flags J9HOOK_FLAG_HOOKED | J9HOOK_FLAG_RESERVED, J9HookUnregister() only clears J9HOOK_FLAG_HOOKED, add J9HookUnreserve() to clear J9HOOK_FLAG_RESERVED. This supports an event to be registered, unregistered/unreserved, and disabled. Otherwise, an unregistered event can't be disabled by J9HookDisable() because of the presence of J9HOOK_FLAG_RESERVED. Signed-off-by: Jason Feng <[email protected]>
- Loading branch information
1 parent
56cb81f
commit 8159d04
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters