Check-in [a4e744bc83]

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

Overview
Comment:Do not debug add to pool.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:a4e744bc8380243c641e9c4df9284de44b72cb07
User & Date: stephanie.gawroriski 2019-04-17 16:05:12
Context
2019-04-17
16:22
Make sure the input byte array length matches the length in the class header. check-in: 0e7a9af42e user: stephanie.gawroriski tags: trunk
16:05
Do not debug add to pool. check-in: a4e744bc83 user: stephanie.gawroriski tags: trunk
16:03
Do not hexdump code. check-in: eea1770dc7 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

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

464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
		Map<Object, Integer> pool = this._pool;
		
		// Does this entry pre-exist in the pool already?
		Integer pre = pool.get(__v);
		if (pre != null)
			return pre;
		
		// Debug
		todo.DEBUG.note("Pool add %s %s (%d parts: %s)",
			__v.getClass().getName(), __v, __parts.length,
			new IntegerList(__parts));
		
		// Otherwise it gets added at the end
		int rv = pool.size();
		pool.put(__v, rv);
		this._parts.add((__parts == null ? new int[0] : __parts.clone()));
		return rv;
	}
}








<
<
<
<
<








464
465
466
467
468
469
470





471
472
473
474
475
476
477
478
		Map<Object, Integer> pool = this._pool;
		
		// Does this entry pre-exist in the pool already?
		Integer pre = pool.get(__v);
		if (pre != null)
			return pre;
		





		// Otherwise it gets added at the end
		int rv = pool.size();
		pool.put(__v, rv);
		this._parts.add((__parts == null ? new int[0] : __parts.clone()));
		return rv;
	}
}