6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap

Remove two unused parameters from the mem_allocate() method and update its uses accordingly.

Reviewed-by: stefank, johnc
This commit is contained in:
Antonios Printezis 2011-06-16 15:51:57 -04:00
parent 43d9e95a42
commit 937d6ded89
17 changed files with 55 additions and 131 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2011, 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
@ -161,8 +161,6 @@ public:
size_t max_capacity() const;
HeapWord* mem_allocate(size_t size,
bool is_large_noref,
bool is_tlab,
bool* gc_overhead_limit_was_exceeded);
// We may support a shared contiguous allocation area, if the youngest
@ -315,8 +313,6 @@ public:
// contributed as it needs.
void release_scratch();
size_t large_typearray_limit();
// Ensure parsability: override
virtual void ensure_parsability(bool retire_tlabs);