This bug shadows a JIRA bug created for the Mac OS X port at...
Here is the description from that bug:
If HotSpot crashes on MacOS and core files are enabled, it prints current directory as location of core file:
Core dump written. Default location: /net/vmsqe.russia/export/home/nh161220/bugs/macos-JumbleGC/core or core.26246
This is wrong on MacOS, the core file will be in /cores. It's better to change HotSpot to print that location.