src/share/vm/oops/cpCacheOop.hpp

changeset 2258
87d6a4d1ecbc
parent 2017
e0ba4e04c839
child 2268
3b2dea75431e
     1.1 --- a/src/share/vm/oops/cpCacheOop.hpp	Mon Oct 18 01:54:24 2010 -0700
     1.2 +++ b/src/share/vm/oops/cpCacheOop.hpp	Tue Oct 19 02:52:57 2010 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -130,6 +130,7 @@
    1.11      assert(existing_f1 == NULL || existing_f1 == f1, "illegal field change");
    1.12      oop_store(&_f1, f1);
    1.13    }
    1.14 +  void set_f1_if_null_atomic(oop f1);
    1.15    void set_f2(intx f2)                           { assert(_f2 == 0    || _f2 == f2, "illegal field change"); _f2 = f2; }
    1.16    int as_flags(TosState state, bool is_final, bool is_vfinal, bool is_volatile,
    1.17                 bool is_method_interface, bool is_method);

mercurial