comparison agent/src/share/classes/sun/jvm/hotspot/runtime/Thread.java @ 2195:bf8517f4e4d0

6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread" Summary: Defer posting events from the compiler thread: use service thread Reviewed-by: coleenp, dholmes, never, dcubed
author kamg
date Wed, 02 Feb 2011 14:38:01 -0500
parents c18cbe5936b8
children
comparison
equal deleted inserted replaced
2194:face83fc8882 2195:bf8517f4e4d0
1 /* 1 /*
2 * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 2011, 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.
109 public boolean isCompilerThread() { return false; } 109 public boolean isCompilerThread() { return false; }
110 public boolean isHiddenFromExternalView() { return false; } 110 public boolean isHiddenFromExternalView() { return false; }
111 public boolean isJvmtiAgentThread() { return false; } 111 public boolean isJvmtiAgentThread() { return false; }
112 public boolean isWatcherThread() { return false; } 112 public boolean isWatcherThread() { return false; }
113 public boolean isConcurrentMarkSweepThread() { return false; } 113 public boolean isConcurrentMarkSweepThread() { return false; }
114 public boolean isLowMemoryDetectorThread() { return false; } 114 public boolean isServiceThread() { return false; }
115 115
116 /** Memory operations */ 116 /** Memory operations */
117 public void oopsDo(AddressVisitor oopVisitor) { 117 public void oopsDo(AddressVisitor oopVisitor) {
118 // FIXME: Empty for now; will later traverse JNI handles and 118 // FIXME: Empty for now; will later traverse JNI handles and
119 // pending exception 119 // pending exception