hotspot/src/share/vm/memory/metachunk.hpp
changeset 42017 ed85071e7d9d
parent 36829 dd6004c32d75
equal deleted inserted replaced
42015:96e272c73d4a 42017:ed85071e7d9d
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2016, 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.
    93 //            |              |             |         |
    93 //            |              |             |         |
    94 //            |              |             |         |
    94 //            |              |             |         |
    95 //            +--------------+ <- bottom --+       --+
    95 //            +--------------+ <- bottom --+       --+
    96 
    96 
    97 class Metachunk : public Metabase<Metachunk> {
    97 class Metachunk : public Metabase<Metachunk> {
    98   friend class TestMetachunk;
    98   friend class MetachunkTest;
    99   // The VirtualSpaceNode containing this chunk.
    99   // The VirtualSpaceNode containing this chunk.
   100   VirtualSpaceNode* _container;
   100   VirtualSpaceNode* _container;
   101 
   101 
   102   // Current allocation top.
   102   // Current allocation top.
   103   MetaWord* _top;
   103   MetaWord* _top;