From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailtransmit04.runbox.com (mailtransmit04.runbox.com [IPv6:2a0c:5a00:149::25]) by sourceware.org (Postfix) with ESMTPS id 38FF63858439 for ; Sat, 7 Oct 2023 03:57:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 38FF63858439 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bothner.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bothner.com Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qoyRR-004iVn-MI for kawa@sourceware.org; Sat, 07 Oct 2023 05:57:25 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bothner.com ; s=selector1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: References:To:From:Subject:MIME-Version:Date:Message-ID; bh=8gtrwHuBfbghKfv9oWpgOuKjl1IlAXN4vPl+gyECXOw=; b=jMdTS/IZExj06QE/obBGmc9wZd TH+kI9yrnOwzRFM6MjHK+YklEnvPgkQ9xxYh0IJ/c8iqhMLsBN/uZACBqsm99nAZ0XCGv4i3agP60 vxfzExqvK4ZKv4Fg+BdI909fTFWrVu0H6vev9qRgsYCfgiZS4mWXjo89vzq4iuFa2a0AWe2mfBkEQ 2aN2FtCsJp+jc8TPpBMhNdwRamVPyWGn5cZ12I/EROzWAP67fdnNhakVx7d4ux8o7dqmXxxJdUM+i JXZilDdbKn7fFlp1J2SG9iAILikZReVrX9aFiMPYO6F+1VATeyQdw8eI4x5eeK7NxISiXSWiDahfA zXG/OHow==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qoyRR-0008GY-EK; Sat, 07 Oct 2023 05:57:25 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (524175)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1qoyRD-0003Kf-E4; Sat, 07 Oct 2023 05:57:11 +0200 Message-ID: <9a9e8fe8-92b8-1f94-15fc-e0340d74e336@bothner.com> Date: Fri, 6 Oct 2023 20:57:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: Profiling Kawa code Content-Language: en-US From: Per Bothner To: Panicz Maciej Godek , kawa References: <5715cd57-e600-60ff-957d-35c0016f9654@bothner.com> In-Reply-To: <5715cd57-e600-60ff-957d-35c0016f9654@bothner.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 10/6/23 20:54, Per Bothner wrote: > You need to figure out where in the generated bytecode Method.invoke > is called. You can use javap or some other bytecode de-compiiler > or dis-assembler. Once you narrow down wheer the call is coming > from you can add type specifiers to help the compiler. Your profiler tool can probably also help you figure out the *caller* of Method.invoke. -- --Per Bothner per@bothner.com http://per.bothner.com/