Merge
This commit is contained in:
commit
0b12fb83d2
@ -189,10 +189,11 @@ void InterpreterMacroAssembler::get_cache_and_index_and_bytecode_at_bcp(Register
|
|||||||
get_cache_and_index_at_bcp(cache, index, bcp_offset, index_size);
|
get_cache_and_index_at_bcp(cache, index, bcp_offset, index_size);
|
||||||
// We use a 32-bit load here since the layout of 64-bit words on
|
// We use a 32-bit load here since the layout of 64-bit words on
|
||||||
// little-endian machines allow us that.
|
// little-endian machines allow us that.
|
||||||
// n.b. unlike x86 cache alreeady includes the index offset
|
// n.b. unlike x86 cache already includes the index offset
|
||||||
ldrw(bytecode, Address(cache,
|
lea(bytecode, Address(cache,
|
||||||
ConstantPoolCache::base_offset()
|
ConstantPoolCache::base_offset()
|
||||||
+ ConstantPoolCacheEntry::indices_offset()));
|
+ ConstantPoolCacheEntry::indices_offset()));
|
||||||
|
ldarw(bytecode, bytecode);
|
||||||
const int shift_count = (1 + byte_no) * BitsPerByte;
|
const int shift_count = (1 + byte_no) * BitsPerByte;
|
||||||
ubfx(bytecode, bytecode, shift_count, BitsPerByte);
|
ubfx(bytecode, bytecode, shift_count, BitsPerByte);
|
||||||
}
|
}
|
||||||
|
@ -54,16 +54,6 @@ protected:
|
|||||||
uint n_workers();
|
uint n_workers();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
enum SomePrivateConstants {
|
|
||||||
UpdateRStoMergeSync = 0,
|
|
||||||
MergeRStoDoDirtySync = 1,
|
|
||||||
DoDirtySync = 2,
|
|
||||||
LastSync = 3,
|
|
||||||
|
|
||||||
SeqTask = 0,
|
|
||||||
NumSeqTasks = 1
|
|
||||||
};
|
|
||||||
|
|
||||||
CardTableModRefBS* _ct_bs;
|
CardTableModRefBS* _ct_bs;
|
||||||
G1CollectorPolicy* _g1p;
|
G1CollectorPolicy* _g1p;
|
||||||
|
|
||||||
@ -123,7 +113,6 @@ public:
|
|||||||
|
|
||||||
// Record, if necessary, the fact that *p (where "p" is in region "from",
|
// Record, if necessary, the fact that *p (where "p" is in region "from",
|
||||||
// which is required to be non-NULL) has changed to a new non-NULL value.
|
// which is required to be non-NULL) has changed to a new non-NULL value.
|
||||||
template <class T> void write_ref(HeapRegion* from, T* p);
|
|
||||||
template <class T> void par_write_ref(HeapRegion* from, T* p, uint tid);
|
template <class T> void par_write_ref(HeapRegion* from, T* p, uint tid);
|
||||||
|
|
||||||
// Requires "region_bm" and "card_bm" to be bitmaps with 1 bit per region
|
// Requires "region_bm" and "card_bm" to be bitmaps with 1 bit per region
|
||||||
|
@ -34,11 +34,6 @@ inline uint G1RemSet::n_workers() {
|
|||||||
return _g1->workers()->total_workers();
|
return _g1->workers()->total_workers();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class T>
|
|
||||||
inline void G1RemSet::write_ref(HeapRegion* from, T* p) {
|
|
||||||
par_write_ref(from, p, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
inline void G1RemSet::par_write_ref(HeapRegion* from, T* p, uint tid) {
|
inline void G1RemSet::par_write_ref(HeapRegion* from, T* p, uint tid) {
|
||||||
oop obj = oopDesc::load_decode_heap_oop(p);
|
oop obj = oopDesc::load_decode_heap_oop(p);
|
||||||
|
@ -131,47 +131,41 @@ public class IgnoreUnrecognizedVMOptions {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
#1.7 locked flag:
|
#1.7 locked flag:
|
||||||
diagnostic & locked experimental & locked commercial & locked
|
diagnostic & locked experimental & locked
|
||||||
-XX:-UnlockDiagnosticVMOptions -XX:-UnlockExperimentalVMOptions -XX:-UnlockCommercialFeatures
|
-XX:-UnlockDiagnosticVMOptions -XX:-UnlockExperimentalVMOptions
|
||||||
-XX:+PrintInlining -XX:+AlwaysSafeConstructors -XX:+FlightRecorder
|
-XX:+PrintInlining -XX:+AlwaysSafeConstructors
|
||||||
-IgnoreUnrecognizedVMOptions ERR ERR ERR
|
-IgnoreUnrecognizedVMOptions ERR ERR
|
||||||
+IgnoreUnrecognizedVMOptions ERR ERR ERR
|
+IgnoreUnrecognizedVMOptions ERR ERR
|
||||||
*/
|
*/
|
||||||
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:+PrintInlining", "-version");
|
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:+PrintInlining", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:+AlwaysSafeConstructors", "-version");
|
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:+AlwaysSafeConstructors", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:+FlightRecorder", "-version");
|
|
||||||
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:+PrintInlining", "-version");
|
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:+PrintInlining", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:+AlwaysSafeConstructors", "-version");
|
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:+AlwaysSafeConstructors", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:+FlightRecorder", "-version");
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#1.8 malformed locked flag:
|
#1.8 malformed locked flag:
|
||||||
diagnostic & locked experimental & locked commercial & locked
|
diagnostic & locked experimental & locked
|
||||||
-XX:-UnlockDiagnosticVMOptions -XX:-UnlockExperimentalVMOptions -XX:-UnlockCommercialFeatures
|
-XX:-UnlockDiagnosticVMOptions -XX:-UnlockExperimentalVMOptions
|
||||||
-XX:PrintInlining -XX:AlwaysSafeConstructors -XX:FlightRecorder
|
-XX:PrintInlining -XX:AlwaysSafeConstructors
|
||||||
-IgnoreUnrecognizedVMOptions ERR ERR ERR
|
-IgnoreUnrecognizedVMOptions ERR ERR
|
||||||
+IgnoreUnrecognizedVMOptions ERR ERR ERR
|
+IgnoreUnrecognizedVMOptions ERR ERR
|
||||||
*/
|
*/
|
||||||
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version");
|
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version");
|
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:FlightRecorder", "-version");
|
|
||||||
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version");
|
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version");
|
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:FlightRecorder", "-version");
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#1.9 malformed unlocked flag:
|
#1.9 malformed unlocked flag:
|
||||||
diagnostic & locked experimental & locked commercial & locked
|
diagnostic & locked experimental & locked
|
||||||
-XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UnlockCommercialFeatures
|
-XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
|
||||||
-XX:PrintInlining -XX:AlwaysSafeConstructors -XX:FlightRecorder
|
-XX:PrintInlining -XX:AlwaysSafeConstructors
|
||||||
-IgnoreUnrecognizedVMOptions ERR ERR ERR
|
-IgnoreUnrecognizedVMOptions ERR ERR
|
||||||
+IgnoreUnrecognizedVMOptions ERR ERR ERR
|
+IgnoreUnrecognizedVMOptions ERR ERR
|
||||||
*/
|
*/
|
||||||
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version");
|
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version");
|
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:FlightRecorder", "-version");
|
|
||||||
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version");
|
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version");
|
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version");
|
||||||
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:FlightRecorder", "-version");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user