equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 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. |
38 NOT_PRODUCT(bool is_valid() const volatile { return _valid == 0; }) |
38 NOT_PRODUCT(bool is_valid() const volatile { return _valid == 0; }) |
39 |
39 |
40 int identity_hash() { return (int)(uintptr_t)this; } |
40 int identity_hash() { return (int)(uintptr_t)this; } |
41 |
41 |
42 // Rehashing support for tables containing pointers to this |
42 // Rehashing support for tables containing pointers to this |
43 unsigned int new_hash(jint seed) { ShouldNotReachHere(); return 0; } |
43 unsigned int new_hash(juint seed) { ShouldNotReachHere(); return 0; } |
44 |
44 |
45 virtual bool is_klass() const volatile { return false; } |
45 virtual bool is_klass() const volatile { return false; } |
46 virtual bool is_method() const volatile { return false; } |
46 virtual bool is_method() const volatile { return false; } |
47 virtual bool is_methodData() const volatile { return false; } |
47 virtual bool is_methodData() const volatile { return false; } |
48 virtual bool is_constantPool() const volatile { return false; } |
48 virtual bool is_constantPool() const volatile { return false; } |