You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/11/07 11:34:51 UTC

[jira] Created: (HARMONY-5081) [drlvm][init] gc library is loaded twice

[drlvm][init] gc library is loaded twice
----------------------------------------

                 Key: HARMONY-5081
                 URL: https://issues.apache.org/jira/browse/HARMONY-5081
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Alexey Varlamov
            Priority: Minor


Typical debug output in MSVC looks like this:
...
'java.exe': Loaded 'C:\users\avarlamo\trunk\working_vm\build\win_em64t_msvc_debug\deploy\jdk\jre\bin\default\gc_gen.dll', Symbols loaded.
'java.exe': Loaded 'C:\windows\WinSxS\amd64_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_2968974c\msvcr80d.dll', Symbols loaded.
'java.exe': Unloaded 'C:\users\avarlamo\trunk\working_vm\build\win_em64t_msvc_debug\deploy\jdk\jre\bin\default\gc_gen.dll'
'java.exe': Unloaded 'C:\windows\WinSxS\amd64_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_2968974c\msvcr80d.dll'
'java.exe': Loaded 'C:\users\avarlamo\trunk\working_vm\build\win_em64t_msvc_debug\deploy\jdk\jre\bin\default\gc_gen.dll', Symbols loaded.
'java.exe': Loaded 'C:\windows\WinSxS\amd64_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_2968974c\msvcr80d.dll', Symbols loaded.

Indeed there is funny approach to load a lib just to ensure it provides GC api, then unload it and load once again for further processing process_properties_dlls():
...
    if (vm_is_a_gc_dll(gc_dll)) {
        vm_add_gc(gc_dll);
    } else {
        LWARN(16, "GC library cannot be loaded: {0}" << gc_dll);
        status = JNI_ERR;
    }


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.