Mercurial > hg > truffle
comparison src/share/vm/runtime/vmStructs.cpp @ 2386:083f13976b51
6535709: interrupt of wait()ing thread isn't triggerring InterruptedException - test intwait3
Summary: only clear the interrupt state if we will report that it was set
Reviewed-by: dcubed, alanb, phh, coleenp, dice
author | dholmes |
---|---|
date | Mon, 21 Mar 2011 22:16:19 -0400 |
parents | 850b2295a494 |
children | 006b3750a4d4 |
comparison
equal
deleted
inserted
replaced
2372:b898f0fc3ced | 2386:083f13976b51 |
---|---|
838 \ | 838 \ |
839 /************/ \ | 839 /************/ \ |
840 /* OSThread */ \ | 840 /* OSThread */ \ |
841 /************/ \ | 841 /************/ \ |
842 \ | 842 \ |
843 nonstatic_field(OSThread, _interrupted, jint) \ | 843 volatile_nonstatic_field(OSThread, _interrupted, jint) \ |
844 \ | 844 \ |
845 /************************/ \ | 845 /************************/ \ |
846 /* OopMap and OopMapSet */ \ | 846 /* OopMap and OopMapSet */ \ |
847 /************************/ \ | 847 /************************/ \ |
848 \ | 848 \ |