src/share/vm/oops/symbol.cpp

changeset 5306
d9eed26d638a
parent 5208
a1ebd310d5c1
child 5614
9758d9f36299
     1.1 --- a/src/share/vm/oops/symbol.cpp	Fri Jun 21 10:55:26 2013 -0700
     1.2 +++ b/src/share/vm/oops/symbol.cpp	Sun Jun 23 22:08:28 2013 -0700
     1.3 @@ -32,7 +32,9 @@
     1.4  #include "memory/allocation.inline.hpp"
     1.5  #include "memory/resourceArea.hpp"
     1.6  
     1.7 -Symbol::Symbol(const u1* name, int length, int refcount) : _refcount(refcount), _length(length) {
     1.8 +Symbol::Symbol(const u1* name, int length, int refcount) {
     1.9 +  _refcount = refcount;
    1.10 +  _length = length;
    1.11    _identity_hash = os::random();
    1.12    for (int i = 0; i < _length; i++) {
    1.13      byte_at_put(i, name[i]);

mercurial