concurrency problem?

David Holmes david.holmes at oracle.com
Wed Oct 3 23:01:27 PDT 2012


This changeset:

http://hg.openjdk.java.net/build-infra/jdk8/jdk/rev/02aca0e4c2f5

broke up the all target, which had been defined in the following style:

# Import (corba jaxp jaxws langtools hotspot)
$(MAKE) -f Import.gmk
#
$(MAKE) -f GenerateJavaSources.gmk
# Ok, now gensrc is fully populated.
$(MAKE) -f GenerateData.gmk
...

so that there was a separate target for each of the $(MAKE) invocations, 
and the all target then simply became:

all: import gensrc gendata classes libs launchers genclasses demos samples

but doesn't that allow for the different dependencies to be potentially 
built in parallel, where originally everything had to be done in strict 
sequential order?

David



More information about the build-infra-dev mailing list