hotspot/src/share/vm/gc_implementation/shared/liveRange.hpp
changeset 29580 a67a581cfe11
parent 7397 5b173b4ca846
equal deleted inserted replaced
29477:82f545c6572b 29580:a67a581cfe11
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 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.
    40   void set_end(HeapWord* e) {
    40   void set_end(HeapWord* e) {
    41     assert(e >= start(), "should be a non-zero range");
    41     assert(e >= start(), "should be a non-zero range");
    42     MemRegion::set_end(e);
    42     MemRegion::set_end(e);
    43   }
    43   }
    44   void set_word_size(size_t ws) {
    44   void set_word_size(size_t ws) {
    45     assert(ws >= 0, "should be a non-zero range");
       
    46     MemRegion::set_word_size(ws);
    45     MemRegion::set_word_size(ws);
    47   }
    46   }
    48 
    47 
    49   LiveRange * next() { return (LiveRange *) end(); }
    48   LiveRange * next() { return (LiveRange *) end(); }
    50 
    49