aboutsummaryrefslogtreecommitdiff
path: root/libjava/boehm.cc
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2005-03-21 14:50:14 +0000
committerAndrew Haley <aph@gcc.gnu.org>2005-03-21 14:50:14 +0000
commite5a8980bb96ce4809da58d3ced2bd4725305368a (patch)
tree21f6764f4fa3c779cf473479dd04137d8458622c /libjava/boehm.cc
parent21e01bf10d229bdd98b45464021c10fb510e7348 (diff)
downloadgcc-e5a8980bb96ce4809da58d3ced2bd4725305368a.zip
gcc-e5a8980bb96ce4809da58d3ced2bd4725305368a.tar.gz
gcc-e5a8980bb96ce4809da58d3ced2bd4725305368a.tar.bz2
natVMSecurityManager.cc (getClassContext): Add new arg: klass.
2005-03-17 Andrew Haley <aph@redhat.com> * java/lang/natVMSecurityManager.cc (getClassContext): Add new arg: klass. Pass klass to _Jv_StackTrace::GetClassContext(). * java/lang/ClassLoader.java (getParent): Pass class to VMSecurityManager.getClassContext() (getSystemClassLoader): Likewise. * java/lang/Package.java (getPackage): Likewise. (getPackages): Likewise. * java/lang/SecurityManager.java (getClassContext): Likewise. (currentClassLoader): Likewise. * java/lang/VMSecurityManager.java: (getClassContext): Likewise. (currentClassLoader) Add new arg: caller. Pass caller to VMSecurityManager.getClassContext. * stacktrace.cc (GetClassContext): Correct calculation of jframe_count. * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark im->source_file_name. From-SVN: r96803
Diffstat (limited to 'libjava/boehm.cc')
-rw-r--r--libjava/boehm.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/boehm.cc b/libjava/boehm.cc
index 45b9473..2e64b1c 100644
--- a/libjava/boehm.cc
+++ b/libjava/boehm.cc
@@ -248,6 +248,9 @@ _Jv_MarkObj (void *addr, void *msp, void *msl, void *env)
p = (GC_PTR) ic->interpreted_methods;
MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, ic);
+ p = (GC_PTR) ic->source_file_name;
+ MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, ic);
+
for (int i = 0; i < c->method_count; i++)
{
// The interpreter installs a heap-allocated trampoline