hotspot/src/share/vm/memory/generation.hpp
changeset 29474 81a5c5330d08
parent 28031 10aec24d2b61
child 29800 fa5f7a2bf717
equal deleted inserted replaced
29362:4188dc7f05a8 29474:81a5c5330d08
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, 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.
   137   enum SomePublicConstants {
   137   enum SomePublicConstants {
   138     // Generations are GenGrain-aligned and have size that are multiples of
   138     // Generations are GenGrain-aligned and have size that are multiples of
   139     // GenGrain.
   139     // GenGrain.
   140     // Note: on ARM we add 1 bit for card_table_base to be properly aligned
   140     // Note: on ARM we add 1 bit for card_table_base to be properly aligned
   141     // (we expect its low byte to be zero - see implementation of post_barrier)
   141     // (we expect its low byte to be zero - see implementation of post_barrier)
   142     LogOfGenGrain = 16 ARM_ONLY(+1),
   142     LogOfGenGrain = 16 ARM32_ONLY(+1),
   143     GenGrain = 1 << LogOfGenGrain
   143     GenGrain = 1 << LogOfGenGrain
   144   };
   144   };
   145 
   145 
   146   // allocate and initialize ("weak") refs processing support
   146   // allocate and initialize ("weak") refs processing support
   147   virtual void ref_processor_init();
   147   virtual void ref_processor_init();