the program has been running for 1.5 day. i dont want to stop now and use debugger or println
If you cannot change the code of a running process (which is an important detail for a developer to forget to mention) your only option is to trigger a heap dump using VisualVM or the like. This will give you the entire JVM but in it will be your HashTable.