Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 49595 invoked from network); 7 Nov 2007 10:35:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2007 10:35:13 -0000 Received: (qmail 47101 invoked by uid 500); 7 Nov 2007 10:35:01 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 47085 invoked by uid 500); 7 Nov 2007 10:35:01 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 47076 invoked by uid 99); 7 Nov 2007 10:35:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 02:35:01 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 10:35:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7B0C971420D for ; Wed, 7 Nov 2007 02:34:51 -0800 (PST) Message-ID: <25709422.1194431691490.JavaMail.jira@brutus> Date: Wed, 7 Nov 2007 02:34:51 -0800 (PST) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-5081) [drlvm][init] gc library is loaded twice MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [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.