-
Bug
-
Resolution: Fixed
-
P2
-
12
-
None
-
b15
-
solaris
In most places where we need to create a directory in a build recipe, we use a variant of the MakeDir macro in make/common/MakeBase.gmk. This macro checks if the directory exists before executing "mkdir -p" which reduces unneeded shell calls and improves efficiency. It also reduces the likelihood for instability on some platforms where concurrent calls to "mkdir -p" may fail.
In make/common/JavaCompilation.gmk we setup copy rules for java resource files. The recipe for these resources do not use the MakeDir macro and recently we have experienced intermittent failures on Solaris that seem to be caused by this. Hopefully applying the macro here will reduce the intermittent failures.
The instability started occurring after changing to Solaris 11.3 as build platform.
In make/common/JavaCompilation.gmk we setup copy rules for java resource files. The recipe for these resources do not use the MakeDir macro and recently we have experienced intermittent failures on Solaris that seem to be caused by this. Hopefully applying the macro here will reduce the intermittent failures.
The instability started occurring after changing to Solaris 11.3 as build platform.
- relates to
-
JDK-8211724 Change mkdir -p to MakeDir macro where possible
- Resolved
- links to