Skip to content

WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. #3204

Open
@aalbersk

Description

@aalbersk

Hi, I've been running models with Torchserve 0.11.0 on Sagemaker and noticed following warning:
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. when starting the Torchserve.

I read that this method was removed in Java8 (https://stackoverflow.com/questions/23808803/sun-reflect-reflection-getcallerclass-alternative?noredirect=1&lq=1). How does lack of support for this method affect performance? What is required to get rid of this warning when running torchserve?

Metadata

Metadata

Assignees

No one assigned

    Labels

    javaPull requests that update Java code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions