comparison src/share/vm/classfile/classLoaderData.hpp @ 17677:51e1bb81df86 jdk8u20-b03

Merge
author amurillo
date Tue, 25 Feb 2014 13:02:52 -0800
parents 85318d1fe8fe
children f460c6926af7 7384f6a12fc1
comparison
equal deleted inserted replaced
17660:9a93fe1babdc 17677:51e1bb81df86
1 /* 1 /*
2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2012, 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.
88 88
89 static void dump_on(outputStream * const out) PRODUCT_RETURN; 89 static void dump_on(outputStream * const out) PRODUCT_RETURN;
90 static void dump() { dump_on(tty); } 90 static void dump() { dump_on(tty); }
91 static void verify(); 91 static void verify();
92 92
93 // expensive test for pointer in metaspace for debugging
94 static bool contains(const void* x);
93 #ifndef PRODUCT 95 #ifndef PRODUCT
94 // expensive test for pointer in metaspace for debugging
95 static bool contains(address x);
96 static bool contains_loader_data(ClassLoaderData* loader_data); 96 static bool contains_loader_data(ClassLoaderData* loader_data);
97 #endif 97 #endif
98 98
99 #if INCLUDE_TRACE 99 #if INCLUDE_TRACE
100 private: 100 private:
258 const char* loader_name(); 258 const char* loader_name();
259 259
260 jobject add_handle(Handle h); 260 jobject add_handle(Handle h);
261 void add_class(Klass* k); 261 void add_class(Klass* k);
262 void remove_class(Klass* k); 262 void remove_class(Klass* k);
263 bool contains_klass(Klass* k);
263 void record_dependency(Klass* to, TRAPS); 264 void record_dependency(Klass* to, TRAPS);
264 void init_dependencies(TRAPS); 265 void init_dependencies(TRAPS);
265 266
266 void add_to_deallocate_list(Metadata* m); 267 void add_to_deallocate_list(Metadata* m);
267 268