From ba6299250380ffcf677a07e3ace59d88e6523b48 Mon Sep 17 00:00:00 2001 From: Graham Chapman Date: Mon, 14 Jan 2019 13:50:20 -0500 Subject: [PATCH] Use new API for data breakpoints Flush compilation queue explicitly instead of piggybacking on the extended HCR notification function. [ci skip] Signed-off-by: Graham Chapman --- runtime/codert_vm/decomp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/codert_vm/decomp.cpp b/runtime/codert_vm/decomp.cpp index a255d7df4da..9b1462df668 100644 --- a/runtime/codert_vm/decomp.cpp +++ b/runtime/codert_vm/decomp.cpp @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 1991, 2018 IBM Corp. and others + * Copyright (c) 1991, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this @@ -1374,7 +1374,7 @@ jitDataBreakpointAdded(J9VMThread * currentThread) /* Toss the compilation queue */ - jitConfig->jitClassesRedefined(currentThread, 0, NULL); + jitConfig->jitFlushCompilationQueue(currentThread, J9FlushCompQueueDataBreakpoint); /* Find every method which has been translated and mark it for retranslation */