On Thursday 27 September 2007 14:24:50 Ian Rogers wrote: > Hi, > > this patch removes a call to atexit from GtkToolkit. The comment didn't > give sufficient detail as to why the atexit call was necessary and the > failure I witnessed in the Jikes RVM was as follows: > > 1) VM runs some AWT code that causes the atexit routine in GtkToolkit to > be registered > 2) VM shuts down, stopping all of its services (GC...) > 3) VM calls exit that calls atexit routines > 4) gdk_threads_enter is called via atexit, this then calls JNI monitor > enter in the shutdown VM > > the shutdown VM can't handle the JNI call and locks up. There is an > assumption in the Jikes RVM that atexit routines won't exist that call > JNI functions. > > Thanks, > Ian
Ping! Any replies? -- Andrew :)
