Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] reference counting for native resources

Hi Jonah,
We have a simple Sleak tool that monitors the graphics resources only but not all native reference counting that you are looking for. Please check if it helps, SWT article on Sleak:
https://www.eclipse.org/articles/swt-design-2/sleak.htm
 
Regards,
Niraj Modi
----- Original message -----
From: "Jonah Graham" <jonah@xxxxxxxxxxxxxxxx>
Sent by: "platform-dev" <platform-dev-bounces@xxxxxxxxxxx>
To: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] [platform-dev] reference counting for native resources
Date: Mon, Dec 6, 2021 9:12 PM
 
Hi folks,
 
I am working on some performance issues with TextLayout (may fix part of  https://bugs.eclipse.org/bugs/show_bug.cgi?id=168557 - at least on Windows)
 
One of the performance issues is that we make copies of large buffers over and over again when a little bit of pointer arithmetic + sharing buffers improves the situation.
 
Are there any examples in SWT already of reference counting of native resources?
 
Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=577649 is for tracking this specific part of the work.
 
Thanks
Jonah
 
 
~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev
 



Back to the top