Search in sources :

Example 1 with StringBuilderLog

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());
}
Also used : StringBuilderLog(com.oracle.svm.core.log.StringBuilderLog) PointerBase(org.graalvm.word.PointerBase)

Example 2 with StringBuilderLog

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());
}
Also used : StringBuilderLog(com.oracle.svm.core.log.StringBuilderLog)

Example 3 with StringBuilderLog

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;
}
Also used : StringBuilderLog(com.oracle.svm.core.log.StringBuilderLog)

Aggregations

StringBuilderLog (com.oracle.svm.core.log.StringBuilderLog)3 PointerBase (org.graalvm.word.PointerBase)1