src/share/vm/code/debugInfo.hpp

changeset 6628
bd58c9e40d0a
parent 6198
55fb97c4c58d
child 6876
710a3c8b516e
     1.1 --- a/src/share/vm/code/debugInfo.hpp	Fri Apr 11 20:02:37 2014 +0000
     1.2 +++ b/src/share/vm/code/debugInfo.hpp	Mon Mar 03 13:58:52 2014 -0500
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2014, 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 @@ -273,8 +273,8 @@
    1.11    }
    1.12    Method* read_method() {
    1.13      Method* o = (Method*)(code()->metadata_at(read_int()));
    1.14 -    assert(o == NULL ||
    1.15 -           o->is_metaspace_object(), "meta data only");
    1.16 +    // is_metadata() is a faster check than is_metaspace_object()
    1.17 +    assert(o == NULL || o->is_metadata(), "meta data only");
    1.18      return o;
    1.19    }
    1.20    ScopeValue* read_object_value();

mercurial