Skip to content

Replacement about sun.misc.Unsafe #70

@RuixiangJiang

Description

@RuixiangJiang

Greetings!

Currently, I'm looking at the source code of JBSE, and I notice that there are some codes that use sun.misc.Unsafe, which will be potentially deprecated in the future due to its unsafety. I wonder whether replacing the usage of Unsafe is in your future plan. FFM provided in Java 22, together with VarHandle, may be able to replace Unsafe without affecting the performance very much and make it safer.

Thanks very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions