mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8134797: Remove explicit casts in CollectorPolicy hierarchy
Removed the explicit casts. Reviewed-by: jwilhelm, tschatzl, pliden
This commit is contained in:
parent
30b987f6b7
commit
802664728f
8 changed files with 19 additions and 18 deletions
|
@ -87,7 +87,7 @@ class ParallelScavengeHeap : public CollectedHeap {
|
|||
return CollectedHeap::ParallelScavengeHeap;
|
||||
}
|
||||
|
||||
virtual CollectorPolicy* collector_policy() const { return (CollectorPolicy*) _collector_policy; }
|
||||
virtual CollectorPolicy* collector_policy() const { return _collector_policy; }
|
||||
|
||||
static PSYoungGen* young_gen() { return _young_gen; }
|
||||
static PSOldGen* old_gen() { return _old_gen; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue