This is not easy to find using google. Most searches will redirect you to irrelevant tips, or stuff about the OOM behavior. If one day this blog becomes popular, it will be easier for people to find this.
Go to your jrockit bin directory and su as the java process you want to target. Then, type :
./jrcmd [PID] hprofdump filename=[filename]