GetTypeWrapperFromObject() performance

Igor Kolesnik <[email protected]> Mon, 10 Oct 2016 14:04:33 +0000
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <BN4PR12MB0820570CE96C9F516E94B822C7DB0@BN4PR12MB0820.namprd12.prod.outlook.com>
Hi,

We use an IKVMC compiled assembly under .NET.
In our code we perform obj.getClass() == SomeClass.class comparisons quite intensively.
When I run that code under a profiler it shows that those comparisons make a huge amount of the overall execution time of the code.

Basically, there is no problem as the code executes really fast.  I tried it on many different machines.  But, one of our clients reported a slow performance on their machine.  I have no idea why they see that performance issue.  They are using Microsoft terminal server environment and have all the latest Windows/.NET updates installed.

I'm wondering if anyone may have any comments/thoughts on if/why there may be performance issues related to class objects comparison.  As I understand GetTypeWrapperFromObject() is what is executing under it.

Thanks,
Igor

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers