8261799: Remove unnecessary cast in psParallelCompact.hpp
Reviewed-by: ayang, stefank
This commit is contained in:
parent
e9d7c07bda
commit
011f5a5478
@ -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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -1144,7 +1144,7 @@ class PSParallelCompact : AllStatic {
|
|||||||
static bool initialize();
|
static bool initialize();
|
||||||
|
|
||||||
// Closure accessors
|
// Closure accessors
|
||||||
static BoolObjectClosure* is_alive_closure() { return (BoolObjectClosure*)&_is_alive_closure; }
|
static BoolObjectClosure* is_alive_closure() { return &_is_alive_closure; }
|
||||||
|
|
||||||
// Public accessors
|
// Public accessors
|
||||||
static elapsedTimer* accumulated_time() { return &_accumulated_time; }
|
static elapsedTimer* accumulated_time() { return &_accumulated_time; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user