From 194bc08a899d699b34d3d896001af8c642758b1d Mon Sep 17 00:00:00 2001 From: Zhengyu Gu Date: Tue, 24 May 2022 18:12:03 +0000 Subject: [PATCH] 8287249: Zero: Missing BarrierSetNMethod::arm() method Reviewed-by: shade --- src/hotspot/cpu/zero/gc/shared/barrierSetNMethod_zero.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/hotspot/cpu/zero/gc/shared/barrierSetNMethod_zero.cpp b/src/hotspot/cpu/zero/gc/shared/barrierSetNMethod_zero.cpp index a0361ddc2f4..1ac11ec3a4b 100644 --- a/src/hotspot/cpu/zero/gc/shared/barrierSetNMethod_zero.cpp +++ b/src/hotspot/cpu/zero/gc/shared/barrierSetNMethod_zero.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 2022, 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 @@ -30,6 +30,10 @@ void BarrierSetNMethod::deoptimize(nmethod* nm, address* return_address_ptr) { ShouldNotReachHere(); } +void BarrierSetNMethod::arm(nmethod* nm, int value) { + ShouldNotReachHere(); +} + void BarrierSetNMethod::disarm(nmethod* nm) { ShouldNotReachHere(); }