mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8247732: validate user-input intrinsic_ids in ControlIntrinsic
renew webrev to the latest jdk. fixed a typo and a bug. Add constraints for both DisableIntrinsic and ControlIntrinsics. Add tests to cover different use cases of them. Reviewed-by: neliasso, thartmann
This commit is contained in:
parent
178c00182c
commit
83be8a902c
32 changed files with 574 additions and 48 deletions
|
@ -280,7 +280,7 @@ DirectiveSet::~DirectiveSet() {
|
|||
// 2) cloned() returns a pointer that points to the cloned DirectiveSet.
|
||||
// Users should only use cloned() when they need to update DirectiveSet.
|
||||
//
|
||||
// In the end, users need invoke commit() to finalize the pending changes.
|
||||
// In the end, users need to invoke commit() to finalize the pending changes.
|
||||
// If cloning happens, the smart pointer will return the new pointer after releasing the original
|
||||
// one on DirectivesStack. If cloning doesn't happen, it returns the original intact pointer.
|
||||
class DirectiveSetPtr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue