Use UTC timezone for both jfr with JMC (JDK Mission Control) and kubectl in macOS


  • You may find it’s difficult to find the correct time frame in jfr files when your teammates in other timezone told you that a k8s pod was killed with OOMKilled.


Add those 2 lines to your env var file, e.g. ~/.zshrc

alias jmc="(cd '/Applications/JDK Mission'; ./jmc  -vmargs -Duser.timezone=UTC)"
alias kubectl="env TZ=UTC kubectl"

Then open JMC via jmc from command line;