From 6d37e633e6afa11ecd40bed10c0efbde6f9f6181 Mon Sep 17 00:00:00 2001 From: Zhengyu Gu Date: Sat, 5 Apr 2025 20:25:30 +0000 Subject: [PATCH] 8353753: Remove unnecessary forward declaration in oop.hpp Reviewed-by: kbarrett --- src/hotspot/share/oops/oop.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/hotspot/share/oops/oop.hpp b/src/hotspot/share/oops/oop.hpp index f52baab0de6..8048c8770c2 100644 --- a/src/hotspot/share/oops/oop.hpp +++ b/src/hotspot/share/oops/oop.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2025, 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 @@ -44,11 +44,6 @@ // // no virtual functions allowed -// Forward declarations. -class OopClosure; -class PSPromotionManager; -class ParCompactionManager; - class oopDesc { friend class VMStructs; friend class JVMCIVMStructs;