Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultTruffleRuntime.java @ 22501:a63bda98cfdb
Extract profiles into separate package. Add isProfilingEnabled in TruffleRuntime to disable profiling in the default runtime; Add low overhead profiles for primitives; Add LoopConditionProfile; Profile footprint/threadsafety improvements; Make toString implementations more consistent; Greatly enhanced javadoc documentation for profiles; Deprecate old profiles
author | Christian Humer <christian.humer@oracle.com> |
---|---|
date | Wed, 16 Dec 2015 16:38:13 +0100 |
parents | dc83cc1f94f2 |
children |
comparison
equal
deleted
inserted
replaced
22500:fbe1eb7b4172 | 22501:a63bda98cfdb |
---|---|
175 if (!(repeating instanceof Node)) { | 175 if (!(repeating instanceof Node)) { |
176 throw new IllegalArgumentException("Repeating node must be of type Node."); | 176 throw new IllegalArgumentException("Repeating node must be of type Node."); |
177 } | 177 } |
178 return new DefaultLoopNode(repeating); | 178 return new DefaultLoopNode(repeating); |
179 } | 179 } |
180 | |
181 public boolean isProfilingEnabled() { | |
182 return false; | |
183 } | |
180 } | 184 } |