comparison src/share/vm/memory/space.hpp @ 6008:b632e80fc9dc

4988100: oop_verify_old_oop appears to be dead Summary: removed oop_verify_old_oop and allow_dirty. Also reviewed by: alexlamsl@gmail.com Reviewed-by: jmasa, jwilhelm
author brutisso
date Mon, 16 Apr 2012 08:57:18 +0200
parents 3c648b9ad052
children a05a695ea044
comparison
equal deleted inserted replaced
6007:5c86f8211d1e 6008:b632e80fc9dc
1 /* 1 /*
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 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.
304 virtual ContiguousSpace* toContiguousSpace() { 304 virtual ContiguousSpace* toContiguousSpace() {
305 return NULL; 305 return NULL;
306 } 306 }
307 307
308 // Debugging 308 // Debugging
309 virtual void verify(bool allow_dirty) const = 0; 309 virtual void verify() const = 0;
310 }; 310 };
311 311
312 // A MemRegionClosure (ResourceObj) whose "do_MemRegion" function applies an 312 // A MemRegionClosure (ResourceObj) whose "do_MemRegion" function applies an
313 // OopClosure to (the addresses of) all the ref-containing fields that could 313 // OopClosure to (the addresses of) all the ref-containing fields that could
314 // be modified by virtue of the given MemRegion being dirty. (Note that 314 // be modified by virtue of the given MemRegion being dirty. (Note that
946 virtual ContiguousSpace* toContiguousSpace() { 946 virtual ContiguousSpace* toContiguousSpace() {
947 return this; 947 return this;
948 } 948 }
949 949
950 // Debugging 950 // Debugging
951 virtual void verify(bool allow_dirty) const; 951 virtual void verify() const;
952 952
953 // Used to increase collection frequency. "factor" of 0 means entire 953 // Used to increase collection frequency. "factor" of 0 means entire
954 // space. 954 // space.
955 void allocate_temporary_filler(int factor); 955 void allocate_temporary_filler(int factor);
956 956
1098 virtual HeapWord* cross_threshold(HeapWord* start, HeapWord* end); 1098 virtual HeapWord* cross_threshold(HeapWord* start, HeapWord* end);
1099 1099
1100 virtual void print_on(outputStream* st) const; 1100 virtual void print_on(outputStream* st) const;
1101 1101
1102 // Debugging 1102 // Debugging
1103 void verify(bool allow_dirty) const; 1103 void verify() const;
1104 1104
1105 // Shared space support 1105 // Shared space support
1106 void serialize_block_offset_array_offsets(SerializeOopClosure* soc); 1106 void serialize_block_offset_array_offsets(SerializeOopClosure* soc);
1107 }; 1107 };
1108 1108