Class Allocator


  • public final class Allocator
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.teavm.interop.Address allocate​(RuntimeClass tag)  
      static org.teavm.interop.Address allocateArray​(RuntimeClass tag, int size)  
      static RuntimeArray allocateMultiArray​(RuntimeClass tag, org.teavm.interop.Address dimensions, int dimensionCount)  
      static void fill​(org.teavm.interop.Address address, byte value, int count)  
      static void fillZero​(org.teavm.interop.Address address, int count)  
      static boolean isInitialized​(java.lang.Class<?> cls)  
      static void moveMemoryBlock​(org.teavm.interop.Address source, org.teavm.interop.Address target, int count)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • allocate

        public static org.teavm.interop.Address allocate​(RuntimeClass tag)
      • allocateArray

        public static org.teavm.interop.Address allocateArray​(RuntimeClass tag,
                                                              int size)
      • allocateMultiArray

        public static RuntimeArray allocateMultiArray​(RuntimeClass tag,
                                                      org.teavm.interop.Address dimensions,
                                                      int dimensionCount)
      • fillZero

        public static void fillZero​(org.teavm.interop.Address address,
                                    int count)
      • fill

        public static void fill​(org.teavm.interop.Address address,
                                byte value,
                                int count)
      • moveMemoryBlock

        public static void moveMemoryBlock​(org.teavm.interop.Address source,
                                           org.teavm.interop.Address target,
                                           int count)
      • isInitialized

        public static boolean isInitialized​(java.lang.Class<?> cls)