src/share/vm/asm/codeBuffer.hpp

changeset 1639
18a389214829
parent 1636
24128c2ffa87
child 1813
9f5b60a14736
     1.1 --- a/src/share/vm/asm/codeBuffer.hpp	Fri Jan 29 22:51:41 2010 -0800
     1.2 +++ b/src/share/vm/asm/codeBuffer.hpp	Mon Feb 01 19:29:46 2010 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 1997-2008 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 1997-2010 Sun Microsystems, Inc.  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 @@ -39,6 +39,7 @@
    1.11                   Dtrace_trap = OSR_Entry,  // dtrace probes can never have an OSR entry so reuse it
    1.12                   Exceptions,     // Offset where exception handler lives
    1.13                   Deopt,          // Offset where deopt handler lives
    1.14 +                 DeoptMH,        // Offset where MethodHandle deopt handler lives
    1.15                   max_Entries };
    1.16  
    1.17    // special value to note codeBlobs where profile (forte) stack walking is
    1.18 @@ -51,12 +52,13 @@
    1.19  
    1.20  public:
    1.21    CodeOffsets() {
    1.22 -    _values[Entry] = 0;
    1.23 +    _values[Entry         ] = 0;
    1.24      _values[Verified_Entry] = 0;
    1.25      _values[Frame_Complete] = frame_never_safe;
    1.26 -    _values[OSR_Entry] = 0;
    1.27 -    _values[Exceptions] = -1;
    1.28 -    _values[Deopt] = -1;
    1.29 +    _values[OSR_Entry     ] = 0;
    1.30 +    _values[Exceptions    ] = -1;
    1.31 +    _values[Deopt         ] = -1;
    1.32 +    _values[DeoptMH       ] = -1;
    1.33    }
    1.34  
    1.35    int value(Entries e) { return _values[e]; }

mercurial