snazarkin
snazarkin
Thanks @theRealAph, @VladimirKempik > Instead, when we enter the VM we could track the current state of W^X and whenever we enter a block that needs to write into code...
> do you have numbers on how many transitions are done with your PR vs. the current state when running the same program? With just simple **java -version** it is...
The patch doesn't protect against native agents, as this is obviously impossible. The current code doesn't do that either. For the bytecode, it doesn't prevent the attacker from abusing unsafe...
/reviewer credit @olivergillespie /reviewer credit @dimitryc
/reviewers 1
@olivergillespie could you please review the patch?
I've checked the patch (one may need to use a [workaround](https://bugs.openjdk.org/browse/JDK-8316395) ). The JDK crashes without the patch, and passes with the patch.