Lots Of com.sun.proxy.$Proxy Class Are Generated While Creating Web Service Client (Doc ID 2218230.1)

Last updated on JANUARY 18, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Symptoms

Many instances of class com.sun.proxy.$Proxy are created while creating web service client. This causes the JVM to do a full GC to clean the perm space and causes high CPU.

This issue has been initially described in bug 13852413 and it is said to be fixed in Weblogic 12.1.2 . Unfortunately, it can still be reproduced on Weblogic 12.1.3

This issue cannot be produced with JDK older than JDK 1.7.0.51 (including JDK 1.7.0.51) but it can be reproduced with JDK 1.7.0.60 and later releases.

This issue can be traced by setting  the class verbose on the client side. And the output is like:

 

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms