Class AllocationSite

    • Constructor Detail

      • AllocationSite

        public AllocationSite​(ExternalSet<Type> types,
                              java.lang.String locationName,
                              CodeLocation location)
        Builds a strong allocation site from its source code location (without field).
        Parameters:
        types - the runtime types of this allocation site
        locationName - the source code location string representation where this allocation site has been allocated
        location - the code location of the statement that has generated this expression
      • AllocationSite

        public AllocationSite​(ExternalSet<Type> types,
                              java.lang.String locationName,
                              boolean isWeak,
                              CodeLocation location)
        Builds an allocation site from its source code location (without field) and specifying if it is weak.
        Parameters:
        types - the runtime types of this allocation site
        locationName - the source code location string representation where this allocation site has been allocated
        isWeak - boolean value specifying if this allocation site is weak
        location - the code location of the statement that has generated this expression
      • AllocationSite

        public AllocationSite​(ExternalSet<Type> types,
                              java.lang.String locationName,
                              SymbolicExpression field,
                              CodeLocation location)
        Builds a strong allocation site from its source code location and its field.
        Parameters:
        types - the runtime types of this allocation site
        locationName - the source code location string representation where this allocation site has been allocated
        field - the field of this allocation site
        location - the code location of the statement that has generated this expression
      • AllocationSite

        public AllocationSite​(ExternalSet<Type> types,
                              java.lang.String locationName,
                              SymbolicExpression field,
                              boolean isWeak,
                              CodeLocation location)
        Builds an allocation site from its source code location and its field and specifying if it is weak.
        Parameters:
        types - the runtime types of this allocation site
        locationName - the source code location string representation where this allocation site has been allocated
        field - the field of this allocation site
        isWeak - boolean value specifying if this allocation site is weak
        location - the code location of the statement that has generated this expression
    • Method Detail

      • getLocationName

        public java.lang.String getLocationName()
        Yields the code location string representation where this allocation site has been allocated.
        Returns:
        the code location string representation where this allocation site has been allocated.