equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2018, 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. |
38 // create MemRegions (in CardTableModRefBS) in heap so operator |
38 // create MemRegions (in CardTableModRefBS) in heap so operator |
39 // new and operator new [] added for this special case. |
39 // new and operator new [] added for this special case. |
40 |
40 |
41 class MetaWord; |
41 class MetaWord; |
42 |
42 |
43 class MemRegion VALUE_OBJ_CLASS_SPEC { |
43 class MemRegion { |
44 friend class VMStructs; |
44 friend class VMStructs; |
45 private: |
45 private: |
46 HeapWord* _start; |
46 HeapWord* _start; |
47 size_t _word_size; |
47 size_t _word_size; |
48 |
48 |