Mercurial > hg > truffle
comparison src/share/vm/oops/symbol.hpp @ 17810:62c54fcc0a35
Merge
author | kvn |
---|---|
date | Tue, 25 Mar 2014 17:07:36 -0700 |
parents | f9e35a9dc8c7 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
17809:a433eb716ce1 | 17810:62c54fcc0a35 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2014, 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. |
152 static int max_length() { return max_symbol_length; } | 152 static int max_length() { return max_symbol_length; } |
153 | 153 |
154 int identity_hash() { return _identity_hash; } | 154 int identity_hash() { return _identity_hash; } |
155 | 155 |
156 // For symbol table alternate hashing | 156 // For symbol table alternate hashing |
157 unsigned int new_hash(jint seed); | 157 unsigned int new_hash(juint seed); |
158 | 158 |
159 // Reference counting. See comments above this class for when to use. | 159 // Reference counting. See comments above this class for when to use. |
160 int refcount() const { return _refcount; } | 160 int refcount() const { return _refcount; } |
161 void increment_refcount(); | 161 void increment_refcount(); |
162 void decrement_refcount(); | 162 void decrement_refcount(); |