hotspot/src/share/vm/memory/genCollectedHeap.hpp
changeset 9997 b75b7939f448
parent 9995 290620c08233
child 10997 0be4b3be7197
equal deleted inserted replaced
9996:3851e45f93e7 9997:b75b7939f448
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   159   void save_used_regions(int level, bool perm);
   159   void save_used_regions(int level, bool perm);
   160 
   160 
   161   size_t max_capacity() const;
   161   size_t max_capacity() const;
   162 
   162 
   163   HeapWord* mem_allocate(size_t size,
   163   HeapWord* mem_allocate(size_t size,
   164                          bool   is_large_noref,
       
   165                          bool   is_tlab,
       
   166                          bool*  gc_overhead_limit_was_exceeded);
   164                          bool*  gc_overhead_limit_was_exceeded);
   167 
   165 
   168   // We may support a shared contiguous allocation area, if the youngest
   166   // We may support a shared contiguous allocation area, if the youngest
   169   // generation does.
   167   // generation does.
   170   bool supports_inline_contig_alloc() const;
   168   bool supports_inline_contig_alloc() const;
   312   // decreasing size.
   310   // decreasing size.
   313   ScratchBlock* gather_scratch(Generation* requestor, size_t max_alloc_words);
   311   ScratchBlock* gather_scratch(Generation* requestor, size_t max_alloc_words);
   314   // Allow each generation to reset any scratch space that it has
   312   // Allow each generation to reset any scratch space that it has
   315   // contributed as it needs.
   313   // contributed as it needs.
   316   void release_scratch();
   314   void release_scratch();
   317 
       
   318   size_t large_typearray_limit();
       
   319 
   315 
   320   // Ensure parsability: override
   316   // Ensure parsability: override
   321   virtual void ensure_parsability(bool retire_tlabs);
   317   virtual void ensure_parsability(bool retire_tlabs);
   322 
   318 
   323   // Time in ms since the longest time a collector ran in
   319   // Time in ms since the longest time a collector ran in