use of com.oracle.svm.core.log.StringBuilderLog in project graal by oracle.
the class Deoptimizer method logDeoptSourceFrameOperation.
private static void logDeoptSourceFrameOperation(Pointer sp, DeoptimizedFrame deoptimizedFrame) {
StringBuilderLog log = new StringBuilderLog();
PointerBase deoptimizedFrameAddress = deoptimizedFrame.getPin().addressOfObject();
log.string("deoptSourceFrameOperation: DeoptimizedFrame at ").hex(deoptimizedFrameAddress).string(": ");
printDeoptimizedFrame(log, sp, deoptimizedFrame, null);
recentDeoptimizationEvents.append(log.getResult());
}
use of com.oracle.svm.core.log.StringBuilderLog in project graal by oracle.
the class RuntimeCodeInfoMemoryWalkerAccessFeature method logMethodOperationEnd.
void logMethodOperationEnd(long operationNumber) {
StringBuilderLog log = new StringBuilderLog();
log.string("}:").unsigned(operationNumber);
recentCodeCacheOperations.append(log.getResult());
}
use of com.oracle.svm.core.log.StringBuilderLog in project graal by oracle.
the class RuntimeCodeInfoMemoryWalkerAccessFeature method logMethodOperation.
long logMethodOperation(RuntimeMethodInfo methodInfo, String kind) {
long current = ++codeCacheOperationSequenceNumber;
StringBuilderLog log = new StringBuilderLog();
log.string(kind).string(": ");
logMethod(log, methodInfo);
log.string(" ").unsigned(current).string(":{");
recentCodeCacheOperations.append(log.getResult());
return current;
}
Aggregations