hotspot/src/share/vm/oops/oop.hpp
changeset 22757 b2cbb3680b4f
parent 22221 444e4457cfc7
child 22908 8c4f06f6ea15
equal deleted inserted replaced
22756:b645b22cdfc1 22757:b2cbb3680b4f
     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.
   360   // safepoint if called on a biased object. Calling code must be aware of that.
   360   // safepoint if called on a biased object. Calling code must be aware of that.
   361   intptr_t identity_hash();
   361   intptr_t identity_hash();
   362   intptr_t slow_identity_hash();
   362   intptr_t slow_identity_hash();
   363 
   363 
   364   // Alternate hashing code if string table is rehashed
   364   // Alternate hashing code if string table is rehashed
   365   unsigned int new_hash(jint seed);
   365   unsigned int new_hash(juint seed);
   366 
   366 
   367   // marks are forwarded to stack when object is locked
   367   // marks are forwarded to stack when object is locked
   368   bool     has_displaced_mark() const;
   368   bool     has_displaced_mark() const;
   369   markOop  displaced_mark() const;
   369   markOop  displaced_mark() const;
   370   void     set_displaced_mark(markOop m);
   370   void     set_displaced_mark(markOop m);