@Override
	public BookmarkType[] getBookmarkTypes() {
		lock.acquire();
		try {
			Collection<BookmarkType> c = typesByName.values();
			BookmarkTypeDB[] bmTypes = new BookmarkTypeDB[c.size()];
			c.toArray(bmTypes);
			return bmTypes;
		}
		finally {
			lock.release();
		}
	}
Update stored bookmark and fire program change event for a bookmark which has
had its category or comment changed.  All other fields are immutable.
@param bm bookmark
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/bookmark/BookmarkDBManager.java