nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/SharedPropertyMap.java
changeset 40824 c24d212a8733
parent 32695 9b708b92c695
equal deleted inserted replaced
40777:e384420383a5 40824:c24d212a8733
    27 
    27 
    28 import java.lang.invoke.SwitchPoint;
    28 import java.lang.invoke.SwitchPoint;
    29 
    29 
    30 /**
    30 /**
    31  * This class represents a property map that can be shared among multiple prototype objects, allowing all inheriting
    31  * This class represents a property map that can be shared among multiple prototype objects, allowing all inheriting
    32  * top-level objects to also share one property map. This is class is only used for prototype objects, the
    32  * top-level objects to also share one property map. This class is only used for prototype objects, the
    33  * top-level objects use ordinary {@link PropertyMap}s with the {@link PropertyMap#sharedProtoMap} field
    33  * top-level objects use ordinary {@link PropertyMap}s with the {@link PropertyMap#sharedProtoMap} field
    34  * set to the expected shared prototype map.
    34  * set to the expected shared prototype map.
    35  *
    35  *
    36  * <p>When an instance of this class is evolved because a property is added, removed, or modified in an object
    36  * <p>When an instance of this class is evolved because a property is added, removed, or modified in an object
    37  * using it, the {@link #invalidateSwitchPoint()} method is invoked to signal to all callsites and inheriting
    37  * using it, the {@link #invalidateSwitchPoint()} method is invoked to signal to all callsites and inheriting