public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "mckinlay at redhat dot com" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/15474] libgcj jar file should always be in classpath at runtime Date: Wed, 25 Aug 2004 17:52:00 -0000 [thread overview] Message-ID: <20040825175232.22178.qmail@sourceware.org> (raw) In-Reply-To: <20040516104929.15474.green@redhat.com> ------- Additional Comments From mckinlay at redhat dot com 2004-08-25 17:52 ------- As Mark suggests, the harm is that adding extra things to the classpath will cause these .jar files to be opened and searched for classes. That could slow down runtime start-up and increase memory usage. Even if our classloaders are smart enough to avoid looking in .jar files for classes that are compiled in to libgcj.so, they will still have to look when someone does, for example, a Class.forName() on a non-existant class. This actually happens all the time when loading ResourceBundles, for example, so even a well-written application can't easily avoid it. With well-written classloaders, however, it should be possible to minimize the overhead - so I'm not totally against this idea if it prooves to be useful. We just have to be careful about minimizing the cost. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15474
next prev parent reply other threads:[~2004-08-25 17:52 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-05-16 10:49 [Bug java/15474] New: " green at redhat dot com 2004-05-16 11:29 ` [Bug java/15474] " pinskia at gcc dot gnu dot org 2004-05-16 12:06 ` mark at gcc dot gnu dot org 2004-08-25 9:20 ` pinskia at gcc dot gnu dot org 2004-08-25 12:58 ` mckinlay at redhat dot com 2004-08-25 16:17 ` green at redhat dot com 2004-08-25 17:47 ` mckinlay at redhat dot com 2004-08-25 17:52 ` mckinlay at redhat dot com [this message] 2004-08-25 18:01 ` green at redhat dot com [not found] <bug-15474-83@http.gcc.gnu.org/bugzilla/> 2006-07-14 18:35 ` green at redhat dot com 2007-04-13 19:44 ` mark at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040825175232.22178.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).