Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.code/src/jdk/vm/ci/code/InfopointReason.java @ 22739:f41ed1d87d68
8143730 [JVMCI] infopoint recording is too restrictive
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 25 Nov 2015 20:41:26 +0100 |
parents | 1bbd4a7c274b |
children |
comparison
equal
deleted
inserted
replaced
22738:eb6d572dfa61 | 22739:f41ed1d87d68 |
---|---|
24 | 24 |
25 /** | 25 /** |
26 * A reason for infopoint insertion. | 26 * A reason for infopoint insertion. |
27 */ | 27 */ |
28 public enum InfopointReason { | 28 public enum InfopointReason { |
29 UNKNOWN(false), | 29 SAFEPOINT, |
30 SAFEPOINT(false), | 30 CALL, |
31 CALL(false), | 31 IMPLICIT_EXCEPTION, |
32 IMPLICIT_EXCEPTION(false), | 32 METHOD_START, |
33 METHOD_START(true), | 33 METHOD_END, |
34 METHOD_END(true), | 34 BYTECODE_POSITION; |
35 LINE_NUMBER(true); | |
36 | |
37 private InfopointReason(boolean canBeOmitted) { | |
38 this.canBeOmitted = canBeOmitted; | |
39 } | |
40 | |
41 private final boolean canBeOmitted; | |
42 | |
43 public boolean canBeOmitted() { | |
44 return canBeOmitted; | |
45 } | |
46 } | 35 } |