RFR(XS): 8129423: Fix unlink() of LogCompilation tmp files lost in merge of 8007993 and 8060074.
goetz.lindenmaier at sap.com
Mon Jun 22 12:38:50 UTC 2015
I detected a small flaw introduced by a merge. This webrev fixes it:
Please review this fix. I please need a sponsor.
With LogCompilation each compiler thread writes information to its own temp log file. During shutdown
these files are concatenated into a single log file with the specified name. The temp files should be
deleted, but we found files of jtreg test TestUnstableIfTrap.java left over in the /tmp directory. Also, a simple
run with LogCompilation leaves these files in the /tmp directory.
8007993 fixed a problem with writing these log files and moved the unlink() of the temp
files. This unlink() got lost in the merge with 8060074.
More information about the hotspot-dev