Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mat-dev] Stack Frames as Pseudo-Objects
  • From: Kevin Grigorenko <kevin.grigorenko@xxxxxxxxxx>
  • Date: Tue, 9 May 2023 18:36:01 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=us.ibm.com; dmarc=pass action=none header.from=us.ibm.com; dkim=pass header.d=us.ibm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dgLgu7Zzw1bLk7Calt1m15rD9q9lrWYby5ZwGl6eBLQ=; b=Phe48c8VQgUcuLTeyQTkysu+ZiXYCl7tPhqhAzJ0La9tZ6wAHcmEKUddqphdRzx+i98oNzawX7MLJtBx6ydPlIVdRodDLHR2Bna226Rnp1HxWLvo+iv2PLjeXGhagVQ9A30ZnHYbFlLxrewwGjFRLCXHnLEFS6e0Gu7gNQ9nJ4ofGizn+qqeJao0VAVetIkvOBvV4TPLUVPJbcWAKpp2704KU9/0Kg990bN/aVclgUQDoNNCwqvuVck1CNERwxiSXUHMcrI5IrTWTuXVqJwDFpa448WlxmUFA7gdfsfOnWsnsmx/7qXpoXNf1XabIMks8XSU1iqnvGydfVWkWoPyMA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BvCMK/Fx5OZeu6SG65pRUkh4+Fo31Q417LCPOGydnAkUBVFbQRJiGVeweGGddv/DHnJwCd5HOJZ5sRH1pFFihGlZM7Su59VfahugZEglWsxcoEE6hQHWxvNE8tv+fhm60OOWcRIjKIgGSKmsonms9JNglinbLY5Hetjny5YsBiabTkioOQ1uaeyZ+51dKplOA+iA3QE0HxmFGbp2ZmNeHwTrZZYJ1A00UWhxaQq9FJDA85ndBkE9QxN87wen4P4G2mxmirtDh/90gBwowPVXz6H9bvqrIPzGFTxXOC3lRzjWGkndjYq+WAFxpH1VMN05y5srjBnuhDOvb7ylJT655A==
  • Delivered-to: mat-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/mat-dev/>
  • List-help: <mailto:mat-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/mat-dev>, <mailto:mat-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/mat-dev>, <mailto:mat-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: Adlcn1eb2pjKWv6FQw6Apb3QA+kdsgmBZRBh
  • Thread-topic: Stack Frames as Pseudo-Objects

Hey Andrew, This is really nice, thanks. Have you considered making the default, "Stack frames as pseudo-objects and running methods as pseudo-classes" ? Is there any downside?

 

-- 

Kevin Grigorenko

IBM App Runtimes SWAT, Software Engineer

 

From: mat-dev <mat-dev-bounces@xxxxxxxxxxx> on behalf of Andrew Johnson <andrew_johnson@xxxxxxxxxx>
Date: Wednesday, March 22, 2023 at 4:21 AM
To: mat-dev@xxxxxxxxxxx <mat-dev@xxxxxxxxxxx>
Subject: [EXTERNAL] [mat-dev] Stack Frames as Pseudo-Objects

I have delivered the first part of an enhancement for https://bugs.eclipse.org/bugs/show_bug.cgi?id=581644 - Allow stack frames as pseudo-objects for HPROF snapshots

The HPROF parser now has an option to create pseudo-objects for the stack frames. The stack frames can then appear in paths to GC roots etc. as the thread has references to the stack frames and the stack frame has references to its local variables.
The type of the pseudo-object can be '<stack frame>' and a few extra types are created to avoid disturbing the normal object hierarchy. In another mode, we group the stack frames by type based on the method that is being executed for that frame. From the histogram you can then quickly see which methods are being executed across the whole snapshot. These options have existed for DTFJ since 2011, and this bug gives the HPROF equivalent.

There are more details in the bug - please comment there or here if you want more visibility.

Andrew Johnson





Unless otherwise stated above:

IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
_______________________________________________
mat-dev mailing list
mat-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mat-dev


Back to the top