Mantis - Resin
Viewing Issue Advanced Details
43 minor always 03-21-05 00:00 05-11-05 00:00
ferg  
 
urgent  
closed  
fixed  
none    
none 3.0.13  
0000043: -server mode issues
RSN-34
(rep by Joel Firehammer)

Resin hotspots when I start up in -server mode using 1.4.2. It is OK when running as -client, the default. The hotspot is as follows


Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0xC1DC2F
Function=com.caucho.vfs.JniFilePathImpl.nativeCanRead([BI)Z (compiled Java code)
Library=(N/A)


Current Java thread:
        at com.caucho.vfs.JniFilePathImpl.nativeCanRead(Native Method)
        at com.caucho.vfs.JniFilePathImpl.canRead(JniFilePathImpl.java:199)
        at com.caucho.vfs.Jar.canRead(Jar.java:340)


Reproducable every time. Whether running in -server mode really makes much of a difference I am not sure, but we always have since it seems that it is more optimized for running a server application. Do you have any thoughts/information on this?

Notes
(0000049)
ferg   
03-21-05 00:00   
Changed SetByteArrayRegion to GetPrimitiveArrayCritical for WIN32. There's no indication in the JNI documentation that SetByteArrayRegion should not be used, so this may be a JVM bug particular to windows.