GradleWorkerMain describes himeself in the process list.

Example output from 'jps -m':

28649 GradleWorkerMain 'Gradle Test Executor 17'
28630 GradleWorkerMain 'Gradle Compiler Daemon 1'

Now we're passing an extra java program argument that has purely informational nature (worker processes don't use the arguments). The argument contains the name of the worker in single quotes.

Developed during the 'Contributing To Gradle Workshop' at Gradle Summit conference 2014