@Test
	public void testOverlapErrorsMultithreaded() throws Throwable {
		ArrayList<CompletableFuture<Integer>> creators = new ArrayList<>();
		for (int i = 0; i < 10; i++) {
			creators.add(CompletableFuture.supplyAsync(() -> {
				try (Transaction tx = b.startTransaction()) {
					b.trace.getCodeManager()
							.definedData()
							.create(Lifespan.ALL, b.addr(0x4000), IntegerDataType.dataType);
					return 0;
				}
				catch (CodeUnitInsertionException e) {
					return 1;
				}
			}));
		}
		CompletableFuture.allOf(creators.toArray(CompletableFuture[]::new)).get();
		assertEquals(9, creators.stream()
				.mapToInt(c -> c.getNow(null))
				.reduce(Integer::sum)
				.orElse(-1));
	}
A dorked string type which ignores the maxLength parameter
Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/database/listing/DBTraceCodeManagerTest.java