MemoryScopesProfile
Secondary constructor for MemoryScopesProfile
that initializes the profile with a variable number of MemoryScopeType
to String mappings. This constructor converts the provided pairs into a mutable map and passes it to the primary constructor.
Parameters
scopeNames
Variable number of pairs where the key is a MemoryScopeType
and the value is the associated scope name.