Check-in [c97997ac5b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Deprecate the old pool stuff.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c97997ac5b8f22a54093ee1517268dbcfcdc6508
User & Date: stephanie.gawroriski 2019-07-20 12:38:08
Context
2019-07-21
07:02
Backup developer notes. check-in: f5ce6bdeed user: squirreljme tags: trunk
2019-07-20
12:38
Deprecate the old pool stuff. check-in: c97997ac5b user: stephanie.gawroriski tags: trunk
12:34
Implement encode of dual-pool data. check-in: b9d162787e user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to runt/libs/tool-classfile/dev/shadowtail/classfile/mini/MinimizedClassFile.java.

38
39
40
41
42
43
44

45
46
47
48
49
50
51
...
255
256
257
258
259
260
261

262
263
264
265
266
267
268
 */
public final class MinimizedClassFile
{
	/** Header. */
	public final MinimizedClassHeader header;
	
	/** Pool. */

	public final MinimizedPool pool;
	
	/** Static fields. */
	private final MinimizedField[] _sfields;
	
	/** Instance fields. */
	private final MinimizedField[] _ifields;
................................................................................
	
	/**
	 * Returns the minimized constant pool.
	 *
	 * @return The minimized constant pool.
	 * @since 2019/04/17
	 */

	public final MinimizedPool pool()
	{
		return this.pool;
	}
	
	/**
	 * Returns the super name of the current class.







>







 







>







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
...
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
 */
public final class MinimizedClassFile
{
	/** Header. */
	public final MinimizedClassHeader header;
	
	/** Pool. */
	@Deprecated
	public final MinimizedPool pool;
	
	/** Static fields. */
	private final MinimizedField[] _sfields;
	
	/** Instance fields. */
	private final MinimizedField[] _ifields;
................................................................................
	
	/**
	 * Returns the minimized constant pool.
	 *
	 * @return The minimized constant pool.
	 * @since 2019/04/17
	 */
	@Deprecated
	public final MinimizedPool pool()
	{
		return this.pool;
	}
	
	/**
	 * Returns the super name of the current class.

Changes to runt/libs/tool-classfile/dev/shadowtail/classfile/mini/MinimizedClassHeader.java.

45
46
47
48
49
50
51

52
53
54
55
56
57
58
..
93
94
95
96
97
98
99

100
101
102

103
104
105
106
107
108
109
	/** The index of the method which is __start. */
	public final int startmethodindex;
	
	/** The data type of the class. */
	public final DataType datatype;
	
	/** Number of entries in constant pool. */

	public final int poolcount;
	
	/** Class flags. */
	public final int classflags;
	
	/** Name of class. */
	public final int classname;
................................................................................
	/** Static method count. */
	public final int smcount;
	
	/** Instance method count. */
	public final int imcount;
	
	/** Offset to pool data. */

	public final int pooloff;
	
	/** Pool data size. */

	public final int poolsize;
	
	/** Static field data offset. */
	public final int sfoff;
	
	/** Static field data size. */
	public final int sfsize;







>







 







>



>







45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
..
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
	/** The index of the method which is __start. */
	public final int startmethodindex;
	
	/** The data type of the class. */
	public final DataType datatype;
	
	/** Number of entries in constant pool. */
	@Deprecated
	public final int poolcount;
	
	/** Class flags. */
	public final int classflags;
	
	/** Name of class. */
	public final int classname;
................................................................................
	/** Static method count. */
	public final int smcount;
	
	/** Instance method count. */
	public final int imcount;
	
	/** Offset to pool data. */
	@Deprecated
	public final int pooloff;
	
	/** Pool data size. */
	@Deprecated
	public final int poolsize;
	
	/** Static field data offset. */
	public final int sfoff;
	
	/** Static field data size. */
	public final int sfsize;

Changes to runt/libs/tool-classfile/dev/shadowtail/classfile/mini/MinimizedPool.java.

32
33
34
35
36
37
38

39
40
41
42
43
44
45
import net.multiphasicapps.classfile.MethodName;

/**
 * This represents the minimized constant pool.
 *
 * @since 2019/04/16
 */

public final class MinimizedPool
{
	/** Pool value offsets. */
	private final int[] _offsets;
	
	/** Entry types. */
	private final byte[] _types;







>







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import net.multiphasicapps.classfile.MethodName;

/**
 * This represents the minimized constant pool.
 *
 * @since 2019/04/16
 */
@Deprecated
public final class MinimizedPool
{
	/** Pool value offsets. */
	private final int[] _offsets;
	
	/** Entry types. */
	private final byte[] _types;

Changes to runt/libs/tool-classfile/dev/shadowtail/classfile/mini/MinimizedPoolBuilder.java.

39
40
41
42
43
44
45

46
47
48
49
50
51
52
import net.multiphasicapps.collections.UnmodifiableList;

/**
 * This class is used to build the constant pool for a minimized class.
 *
 * @since 2019/03/11
 */

public final class MinimizedPoolBuilder
{
	/** Constant pool. */
	private final Map<Object, Integer> _pool =
		new LinkedHashMap<>();
	
	/** Parts list. */







>







39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import net.multiphasicapps.collections.UnmodifiableList;

/**
 * This class is used to build the constant pool for a minimized class.
 *
 * @since 2019/03/11
 */
@Deprecated
public final class MinimizedPoolBuilder
{
	/** Constant pool. */
	private final Map<Object, Integer> _pool =
		new LinkedHashMap<>();
	
	/** Parts list. */