8251118: BiasedLocking::preserve_marks should not have a HandleMark
Removed HandleMark from BiasedLocking::preserve_marks() method Reviewed-by: hseigel, coleenp, dcubed, tschatzl, dholmes
This commit is contained in:
parent
19a08080e4
commit
12ae68b197
@ -908,7 +908,6 @@ void BiasedLocking::preserve_marks() {
|
||||
|
||||
Thread* cur = Thread::current();
|
||||
ResourceMark rm(cur);
|
||||
HandleMark hm(cur);
|
||||
|
||||
for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) {
|
||||
if (thread->has_last_Java_frame()) {
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "code/location.hpp"
|
||||
#include "oops/oop.hpp"
|
||||
#include "runtime/frame.hpp"
|
||||
#include "runtime/handles.inline.hpp"
|
||||
#include "runtime/handles.hpp"
|
||||
#include "runtime/stackValue.hpp"
|
||||
#include "runtime/stackValueCollection.hpp"
|
||||
#include "utilities/growableArray.hpp"
|
||||
|
@ -25,10 +25,11 @@ package gc;
|
||||
|
||||
/*
|
||||
* @test TestFullGCALot
|
||||
* @bug 4187687 8187819
|
||||
* @bug 4187687 8187819 8251118
|
||||
* @summary Ensure no access violation when using FullGCALot
|
||||
* @requires vm.debug
|
||||
* @run main/othervm -XX:NewSize=10m -XX:+FullGCALot -XX:FullGCALotInterval=120 gc.TestFullGCALot
|
||||
* @run main/othervm -XX:NewSize=10m -XX:+FullGCALot -XX:FullGCALotInterval=120 -XX:+UseBiasedLocking gc.TestFullGCALot
|
||||
*/
|
||||
|
||||
public class TestFullGCALot {
|
||||
|
Loading…
x
Reference in New Issue
Block a user