JDK 7 preview is available:
http://jdk7.java.net/

Have done a small amount of testing with Java 7 and find encouraging results 
for application performance particularly with the new Garbage First garbage 
collector -XX:+UseG1GC in place of the usual -XX:+UseParallelGC garbage 
collector. Don’t let the new collector scare you the ParallelGC we all use 
and love still works with Java 7.

Once JDK 7 is installed, edit CF\runtime\bin\jvm.config (backup the original 
first) eg:

java.home=C:\\Program Files\\Java\\jdk1.7.0\\jre
# Arguments to VM
java.args=-server  -Xmx512m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m 
-XX:+UseG1GC etc


For those interested my CFADMIN > System Information reports in part:

Server Details  
Server Product  ColdFusion  
Version  9,0,1,274733    
Edition  Developer    
Update Level  /C:/ColdFusion9/lib/updates/chf9010001.jar    
Adobe Driver Version  4.0 (Build 0005)    
JVM Details  
Java Version  1.7.0-ea    
Java Vendor  Oracle Corporation    
Java Vendor URL  http://java.oracle.com/  
Java Home  C:\Program Files\Java\jdk1.7.0\jre    
User Dir  C:\ColdFusion9\runtime\bin    
Java VM Specification Version  1.7    
Java VM Specification Vendor  Oracle Corporation    
Java VM Specification Name  Java Virtual Machine Specification    
Java VM Version  21.0-b05    
Java VM Vendor  Oracle Corporation    
Java VM Name  Java HotSpot(TM) Server VM    
Java Specification Version  1.7    
Java Specification Vendor  Oracle Corporation    
Java Specification Name  Java Platform API Specification    
Java Class Version  51.0    


Has anyone noticed something positive or negative with JDK 7 and CF? Caveat - 
do not try this at home kids (ie on production CF servers). Not much interest 
with this on other CF forum so thought would post here.

Regards, Carl.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343405
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to