tweaking jstack traps