< prev index next >
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/CompilerThread.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -37,23 +37,23 @@
initialize(VM.getVM().getTypeDataBase());
}
});
}
- private static AddressField _env_field;
+ private static AddressField envField;
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException {
Type type = db.lookupType("CompilerThread");
- _env_field = type.getAddressField("_env");
+ envField = type.getAddressField("_env");
}
private ciEnv _env;
public synchronized ciEnv env() {
if (_env == null) {
- Address v = _env_field.getValue(this.getAddress());
+ Address v = envField.getValue(this.getAddress());
if (v != null) {
_env = new ciEnv(v);
}
}
return _env;
< prev index next >