@Override
	public Collection<? extends DBTraceBookmark> getBookmarksAdded(long from, long to) {
		if (from == to) {
			return Collections.emptySet();
		}
		Collection<DBTraceBookmark> result = new ArrayList<>();
		for (DBTraceBookmarkSpace space : memSpaces.values()) {
			result.addAll(space.bookmarkMapSpace
					.reduce(TraceAddressSnapRangeQuery.added(from, to, space.getAddressSpace()))
					.values());
		}
		return result;
	}
For non-register space:

{@code
+---12----+----52----+
| SpaceID |    Key   |
+---------+----------+
}

For register space:

{@code
+---12----+----32----+----8----+--12--+
| SpaceID |  Thread  |  Frame  |  Key |
+---------+----------+---------+------+
}
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/bookmark/DBTraceBookmarkManager.java