equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2019, 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. |
100 } |
100 } |
101 last_region = address + capacity; |
101 last_region = address + capacity; |
102 } |
102 } |
103 } |
103 } |
104 } |
104 } |
105 if (checked.size() != 5) { |
105 if (checked.size() != 4) { |
106 throw new RuntimeException("Must have 5 consecutive, fully utilized regions"); |
106 throw new RuntimeException("Must have 4 consecutive, fully utilized regions"); |
107 } |
107 } |
108 } |
108 } |
109 } |
109 } |