equal
deleted
inserted
replaced
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(); |