Lines Matching refs:config
52 private final GraalHotSpotVMConfig config;
54 public AArch64HotSpotSafepointOp(LIRFrameState state, GraalHotSpotVMConfig config, AllocatableValue scratch) {
57 this.config = config;
64 emitCode(crb, masm, config, false, scratch, state);
74 private static boolean isPollingPageFar(GraalHotSpotVMConfig config) {
75 final long pollingPageAddress = config.safepointPollingAddress;
76 return !NumUtil.isSignedNbit(21, pollingPageAddress - config.codeCacheLowBound) || !NumUtil.isSignedNbit(21, pollingPageAddress - config.codeCacheHighBound);
79 public static void emitCode(CompilationResultBuilder crb, AArch64MacroAssembler masm, GraalHotSpotVMConfig config, boolean onReturn, Register scratch, LIRFrameState state) {
80 if (isPollingPageFar(config)) {
81 crb.recordMark(onReturn ? config.MARKID_POLL_RETURN_FAR : config.MARKID_POLL_FAR);
82 masm.movNativeAddress(scratch, config.safepointPollingAddress);
83 crb.recordMark(onReturn ? config.MARKID_POLL_RETURN_FAR : config.MARKID_POLL_FAR);
89 crb.recordMark(onReturn ? config.MARKID_POLL_RETURN_NEAR : config.MARKID_POLL_NEAR);