Use of ProcessContext prevents relational optimizations. We should deprecate it in favor of more specific annotations. (It creates an implicit access to the element and timestamp even if those are never accessed.)
Imported from Jira BEAM-13057. Original Jira may contain additional context.
Reported by: apilloud.