8261799: Remove unnecessary cast in psParallelCompact.hpp

Reviewed-by: ayang, stefank
This commit is contained in:
Leo Korinth 2021-02-22 11:31:40 +00:00
parent e9d7c07bda
commit 011f5a5478

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2021, 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
@ -1144,7 +1144,7 @@ class PSParallelCompact : AllStatic {
static bool initialize();
// Closure accessors
static BoolObjectClosure* is_alive_closure() { return (BoolObjectClosure*)&_is_alive_closure; }
static BoolObjectClosure* is_alive_closure() { return &_is_alive_closure; }
// Public accessors
static elapsedTimer* accumulated_time() { return &_accumulated_time; }