Mercurial > hg > graal-jvmci-8
comparison agent/src/share/classes/sun/jvm/hotspot/gc_implementation/g1/HeapRegionSeq.java @ 6010:720b6a76dd9d
7157073: G1: type change size_t -> uint for region counts / indexes
Summary: Change the type of fields / variables / etc. that represent region counts and indeces from size_t to uint.
Reviewed-by: iveresov, brutisso, jmasa, jwilhelm
author | tonyp |
---|---|
date | Wed, 18 Apr 2012 07:21:15 -0400 |
parents | 4f93f0d00802 |
children | 9e5fadad7fdf |
comparison
equal
deleted
inserted
replaced
6009:dde53abda3d6 | 6010:720b6a76dd9d |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2011, 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. |
40 // Mirror class for HeapRegionSeq. It's essentially an index -> HeapRegion map. | 40 // Mirror class for HeapRegionSeq. It's essentially an index -> HeapRegion map. |
41 | 41 |
42 public class HeapRegionSeq extends VMObject { | 42 public class HeapRegionSeq extends VMObject { |
43 // HeapRegion** _regions; | 43 // HeapRegion** _regions; |
44 static private AddressField regionsField; | 44 static private AddressField regionsField; |
45 // size_t _length; | 45 // uint _length; |
46 static private CIntegerField lengthField; | 46 static private CIntegerField lengthField; |
47 | 47 |
48 static { | 48 static { |
49 VM.registerVMInitializedObserver(new Observer() { | 49 VM.registerVMInitializedObserver(new Observer() { |
50 public void update(Observable o, Object data) { | 50 public void update(Observable o, Object data) { |