mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
459f4d5194
The main change here is to use a lazily-populated vector to associate runtime data with classes instead of referencing them directly from the class which requires updating immutable references in the heap image. The other changes employ other strategies to avoid trying to update immutable references.
32 lines
889 B
Java
32 lines
889 B
Java
/* Copyright (c) 2008-2010, Avian Contributors
|
|
|
|
Permission to use, copy, modify, and/or distribute this software
|
|
for any purpose with or without fee is hereby granted, provided
|
|
that the above copyright notice and this permission notice appear
|
|
in all copies.
|
|
|
|
There is NO WARRANTY for this software. See license.txt for
|
|
details. */
|
|
|
|
package avian;
|
|
|
|
public class VMClass {
|
|
public short flags;
|
|
public short vmFlags;
|
|
public short fixedSize;
|
|
public byte arrayElementSize;
|
|
public byte arrayDimensions;
|
|
public int runtimeDataIndex;
|
|
public int[] objectMask;
|
|
public byte[] name;
|
|
public byte[] sourceFile;
|
|
public VMClass super_;
|
|
public Object[] interfaceTable;
|
|
public VMMethod[] virtualTable;
|
|
public VMField[] fieldTable;
|
|
public VMMethod[] methodTable;
|
|
public avian.ClassAddendum addendum;
|
|
public Object staticTable;
|
|
public ClassLoader loader;
|
|
}
|