comparison src/share/vm/code/debugInfo.hpp @ 14704:b51e29501f30

Merged with jdk9/dev/hotspot changeset 9486a41de3b7
author twisti
date Tue, 18 Mar 2014 20:19:10 -0700
parents d8041d695d19 7380034e5b31
children 92aa6797d639
comparison
equal deleted inserted replaced
14647:8f483e200405 14704:b51e29501f30
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.
271 assert(o == NULL || o->is_oop(), "oop only"); 271 assert(o == NULL || o->is_oop(), "oop only");
272 return o; 272 return o;
273 } 273 }
274 Method* read_method() { 274 Method* read_method() {
275 Method* o = (Method*)(code()->metadata_at(read_int())); 275 Method* o = (Method*)(code()->metadata_at(read_int()));
276 assert(o == NULL || 276 // is_metadata() is a faster check than is_metaspace_object()
277 o->is_metaspace_object(), "meta data only"); 277 assert(o == NULL || o->is_metadata(), "meta data only");
278 return o; 278 return o;
279 } 279 }
280 ScopeValue* read_object_value(); 280 ScopeValue* read_object_value();
281 ScopeValue* get_cached_object(); 281 ScopeValue* get_cached_object();
282 // BCI encoding is mostly unsigned, but -1 is a distinguished value 282 // BCI encoding is mostly unsigned, but -1 is a distinguished value