In Phasers§

See primary documentation in context for END

Runs after compilation during main execution, as late as possible, only runs once. It will close any open handles automatically.

When phasers are in different modules, the INIT and END phasers are treated as if declared at use time in the using module. (It is erroneous to depend on this order if the module is used more than once, however, since the phasers are only installed the first time they're noticed.)