comparison src/share/vm/gc_implementation/g1/heapRegionSeq.hpp @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents 63a4eb8bcd23
children 89152779163c
comparison
equal deleted inserted replaced
14908:8db6e76cb658 14909:4ca6dc0799b6
1 /* 1 /*
2 * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2012, 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.
95 95
96 HeapWord* heap_bottom() const { return _regions.bottom_address_mapped(); } 96 HeapWord* heap_bottom() const { return _regions.bottom_address_mapped(); }
97 HeapWord* heap_end() const {return _regions.end_address_mapped(); } 97 HeapWord* heap_end() const {return _regions.end_address_mapped(); }
98 98
99 public: 99 public:
100 // Empty constructor, we'll initialize it with the initialize() method. 100 // Empty contructor, we'll initialize it with the initialize() method.
101 HeapRegionSeq() : _regions(), _committed_length(0), _next_search_index(0), _allocated_length(0) { } 101 HeapRegionSeq() : _regions(), _committed_length(0), _next_search_index(0), _allocated_length(0) { }
102 102
103 void initialize(HeapWord* bottom, HeapWord* end); 103 void initialize(HeapWord* bottom, HeapWord* end);
104 104
105 // Return the HeapRegion at the given index. Assume that the index 105 // Return the HeapRegion at the given index. Assume that the index