From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72373 invoked by alias); 10 Jan 2017 02:49:22 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 59524 invoked by uid 48); 10 Jan 2017 02:49:08 -0000 From: "fche at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/21020] reorganize argument passing from java probes Date: Tue, 10 Jan 2017 02:49:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-q1/txt/msg00005.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D21020 --- Comment #3 from Frank Ch. Eigler --- > If I built correctly from git source, as of commit f8bc2a5eb3e91ce7 > "PR21020: reorganize data passing abi for java method parameters", > it is no longer possible to access java.lang.String argument using > --compatible=3D3.0 option because $arg1 in method2 points to NULL. > Is this what you meant? Yeah, this was a side-effect of code cleanup. Passing strings under the previous abi implied a memory leak (a strdup for every call that was not freed, because every type was cast to an int64_t). That leak is fixed under --compatible=3D3.0 but at the cost of not having strings be copied at all. That is a regression, but it didn't seem like a big one. Do you think it is important to have it work under --compatible=3D3.0? --=20 You are receiving this mail because: You are the assignee for the bug.