harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weldon Washburn" <weldon...@gmail.com>
Subject [drlvm][threading] Thread.suspend() causes thread_native_fat_monitor.cpp::monitor_wait_impl() to give up the monitor
Date Mon, 04 Dec 2006 16:17:52 GMT
The following code does not look right.  I looked in the JVM spec.  I can't
find any mention that a Thread.suspend() should cause the target thread to
give up any java lock.  I am trying to construct a test to confirm if this
is a problem or not.  Anybody have any suggestions?

line 216:


if(self->suspend_request) {

    hymutex_unlock(mon_ptr->mutex);

    hythread_safe_point();

    hymutex_lock(mon_ptr->mutex);

}


-- 
Weldon Washburn
Intel Enterprise Solutions Software Division

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message