Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Florian Weimer Newsgroups: comp.compilers Subject: Re: Array accesses are boring Date: Fri, 15 Mar 2024 21:50:13 +0100 Organization: Compilers Central Sender: johnl%iecc.com Approved: comp.compilers@iecc.com Message-ID: <24-03-003@comp.compilers> References: <24-03-001@comp.compilers> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="29784"; mail-complaints-to="abuse@iecc.com" Keywords: Java, comment Posted-Date: 16 Mar 2024 21:35:12 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:3559 * John R. Levine: > They instrumented a large set of Java benchmarks to look at the array > accesses, over 3 billion of them in total. The majority fell into five > simple access patterns. See the pictures on page 8 of the PDF. > > https://arxiv.org/abs/2403.02416 It's strange that they observed array lengths changing at the JVM bytecode level. That shouldn't happen. [Different sizes on different calls to the routine? -John]