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.
28 lines
730 B
Java
28 lines
730 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 VMMethod {
|
|
public byte vmFlags;
|
|
public byte returnCode;
|
|
public byte parameterCount;
|
|
public byte parameterFootprint;
|
|
public short flags;
|
|
public short offset;
|
|
public int nativeID;
|
|
public int runtimeDataIndex;
|
|
public byte[] name;
|
|
public byte[] spec;
|
|
public MethodAddendum addendum;
|
|
public VMClass class_;
|
|
public Object code;
|
|
}
|