comparison src/share/vm/code/debugInfo.hpp @ 18041:52b4284cb496

Merge with jdk8u20-b26
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 15 Oct 2014 16:02:50 +0200
parents 89152779163c 7380034e5b31
children 15ef24874df7
comparison
equal deleted inserted replaced
17606:45d7b2c7029d 18041:52b4284cb496
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