comparison src/share/vm/utilities/exceptions.hpp @ 6725:da91efe96a93

6964458: Reimplement class meta-data storage to use native memory Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author coleenp
date Sat, 01 Sep 2012 13:25:18 -0400
parents 93c71eb28866
children d17383603741
comparison
equal deleted inserted replaced
6724:36d1d483d5d6 6725:da91efe96a93
1 /* 1 /*
2 * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1998, 2012, 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.
233 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return; } 233 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return; }
234 234
235 #define THROW_ARG(name, signature, args) \ 235 #define THROW_ARG(name, signature, args) \
236 { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return; } 236 { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return; }
237 237
238 #define THROW_MSG_CAUSE(name, message, cause) \
239 { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return; }
240
238 #define THROW_OOP_(e, result) \ 241 #define THROW_OOP_(e, result) \
239 { Exceptions::_throw_oop(THREAD_AND_LOCATION, e); return result; } 242 { Exceptions::_throw_oop(THREAD_AND_LOCATION, e); return result; }
240 243
241 #define THROW_HANDLE_(e, result) \ 244 #define THROW_HANDLE_(e, result) \
242 { Exceptions::_throw(THREAD_AND_LOCATION, e); return result; } 245 { Exceptions::_throw(THREAD_AND_LOCATION, e); return result; }