equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2018, 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. |
135 int size() const { return _set->length(); } |
135 int size() const { return _set->length(); } |
136 |
136 |
137 void print_on(outputStream* st) const PRODUCT_RETURN; |
137 void print_on(outputStream* st) const PRODUCT_RETURN; |
138 }; |
138 }; |
139 |
139 |
140 class LocalSet VALUE_OBJ_CLASS_SPEC { |
140 class LocalSet { |
141 private: |
141 private: |
142 enum Constants { max = 63 }; |
142 enum Constants { max = 63 }; |
143 uint64_t _bits; |
143 uint64_t _bits; |
144 public: |
144 public: |
145 LocalSet() : _bits(0) {} |
145 LocalSet() : _bits(0) {} |