"swarm" means large numbers by definition, otherwise you have... well, plain-old coordination. Large numbers of F-35-sized aircraft is flaunting economics in the face a quite a bit (so I'm sure the US military loves the idea).
[]["constructor"]["constructor"]("while (true) { }")()
Or does Nashorn have a mechanism for forcing the code static?