Re: [platform-dev] reference counting for native resources

2021-12-08 Thread Jonah Graham
general developers list." > 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

Re: [platform-dev] reference counting for native resources

2021-12-07 Thread Niraj Modi
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 -F

[platform-dev] reference counting for native resources

2021-12-06 Thread Jonah Graham
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 + sharin