From a358e2b44ffcb31d079b3a29faefa798cd1a4426 Mon Sep 17 00:00:00 2001 From: sendaoYan Date: Fri, 25 Oct 2024 11:42:39 +0800 Subject: [PATCH] 8343031: StopInterpreterAt not work on linux-x86_64 --- src/hotspot/os_cpu/linux_x86/assembler_linux_x86.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/os_cpu/linux_x86/assembler_linux_x86.cpp b/src/hotspot/os_cpu/linux_x86/assembler_linux_x86.cpp index dd20ea833c8d2..27d78991701db 100644 --- a/src/hotspot/os_cpu/linux_x86/assembler_linux_x86.cpp +++ b/src/hotspot/os_cpu/linux_x86/assembler_linux_x86.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2024, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,5 +28,5 @@ #include "runtime/os.hpp" void MacroAssembler::int3() { - call(RuntimeAddress(CAST_FROM_FN_PTR(address, os::breakpoint))); + emit_int8((unsigned char)0xCC); }